| # | File | Line | Problem |
| 1 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
27 |
The class 'EhcacheAspect' has a Cyclomatic Complexity of 5 (Highest = 10). |
| 2 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
41 |
Document empty method |
| 3 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
45 |
Document empty method |
| 4 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
49 |
Parameter 'joinPoint' is not assigned and could be declared final |
| 5 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
49 |
The method 'aroundLogCalls' has a Cyclomatic Complexity of 10. |
| 6 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
51 |
Found 'DU'-anomaly for variable 'targetName' (lines '51'-'101'). |
| 7 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
51 |
Local variable 'targetName' could be declared final |
| 8 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
52 |
Found 'DU'-anomaly for variable 'methodName' (lines '52'-'101'). |
| 9 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
52 |
Local variable 'methodName' could be declared final |
| 10 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
53 |
Found 'DU'-anomaly for variable 'arguments' (lines '53'-'101'). |
| 11 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
53 |
Local variable 'arguments' could be declared final |
| 12 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
56 |
Local variable 'methods' could be declared final |
| 13 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
57 |
Found 'DD'-anomaly for variable 'flag' (lines '57'-'62'). |
| 14 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
61 |
These nested if statements could be combined |
| 15 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
68 |
A method should have only one exit point, and that should be the last statement in the method |
| 16 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
72 |
Local variable 'cacheKey' could be declared final |
| 17 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
74 |
Found 'DD'-anomaly for variable 'element' (lines '74'-'77'). |
| 18 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
74 |
Found 'DD'-anomaly for variable 'element' (lines '74'-'80'). |
| 19 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
85 |
Avoid if (x != y) ..; else ..; |
| 20 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
107 |
Parameter 'methodName' is not assigned and could be declared final |
| 21 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
107 |
Parameter 'targetName' is not assigned and could be declared final |
| 22 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
108 |
Parameter 'arguments' is not assigned and could be declared final |
| 23 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
109 |
Avoid variables with short names like sb |
| 24 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
110 |
Avoid appending characters as strings in StringBuffer.append. |
| 25 |
src/org/jeecgframework/core/aop/EhcacheAspect.java |
113 |
Avoid appending characters as strings in StringBuffer.append. |
| 26 |
src/org/jeecgframework/core/aop/GZipFilter.java |
27 |
Document empty method |
| 27 |
src/org/jeecgframework/core/aop/GZipFilter.java |
34 |
Parameter 'request' is not assigned and could be declared final |
| 28 |
src/org/jeecgframework/core/aop/GZipFilter.java |
35 |
Found 'DD'-anomaly for variable 'flag' (lines '35'-'38'). |
| 29 |
src/org/jeecgframework/core/aop/GZipFilter.java |
36 |
Local variable 'encoding' could be declared final |
| 30 |
src/org/jeecgframework/core/aop/GZipFilter.java |
43 |
Parameter 'request' is not assigned and could be declared final |
| 31 |
src/org/jeecgframework/core/aop/GZipFilter.java |
43 |
Parameter 'response' is not assigned and could be declared final |
| 32 |
src/org/jeecgframework/core/aop/GZipFilter.java |
44 |
Parameter 'chain' is not assigned and could be declared final |
| 33 |
src/org/jeecgframework/core/aop/GZipFilter.java |
45 |
Found 'DU'-anomaly for variable 'resp' (lines '45'-'62'). |
| 34 |
src/org/jeecgframework/core/aop/GZipFilter.java |
45 |
Local variable 'resp' could be declared final |
| 35 |
src/org/jeecgframework/core/aop/GZipFilter.java |
46 |
Local variable 'req' could be declared final |
| 36 |
src/org/jeecgframework/core/aop/GZipFilter.java |
48 |
Local variable 'wrapper' could be declared final |
| 37 |
src/org/jeecgframework/core/aop/GZipFilter.java |
50 |
Local variable 'gzipData' could be declared final |
| 38 |
src/org/jeecgframework/core/aop/GZipFilter.java |
64 |
Document empty method |
| 39 |
src/org/jeecgframework/core/aop/GZipFilter.java |
64 |
Parameter 'filterConfig' is not assigned and could be declared final |
| 40 |
src/org/jeecgframework/core/aop/GZipFilter.java |
69 |
Method names should not start with capital letters |
| 41 |
src/org/jeecgframework/core/aop/GZipFilter.java |
75 |
Found 'DD'-anomaly for variable 'uri' (lines '75'-'77'). |
| 42 |
src/org/jeecgframework/core/aop/GZipFilter.java |
77 |
String.indexOf(char) is faster than String.indexOf(String). |
| 43 |
src/org/jeecgframework/core/aop/GZipFilter.java |
80 |
Found 'DD'-anomaly for variable 'date' (lines '80'-'105'). |
| 44 |
src/org/jeecgframework/core/aop/GZipFilter.java |
80 |
Found 'DD'-anomaly for variable 'date' (lines '80'-'87'). |
| 45 |
src/org/jeecgframework/core/aop/GZipFilter.java |
80 |
Found 'DD'-anomaly for variable 'date' (lines '80'-'93'). |
| 46 |
src/org/jeecgframework/core/aop/GZipFilter.java |
80 |
Found 'DD'-anomaly for variable 'date' (lines '80'-'99'). |
| 47 |
src/org/jeecgframework/core/aop/GZipFilter.java |
87 |
Found 'DD'-anomaly for variable 'date' (lines '87'-'105'). |
| 48 |
src/org/jeecgframework/core/aop/GZipFilter.java |
87 |
Found 'DD'-anomaly for variable 'date' (lines '87'-'93'). |
| 49 |
src/org/jeecgframework/core/aop/GZipFilter.java |
87 |
Found 'DD'-anomaly for variable 'date' (lines '87'-'99'). |
| 50 |
src/org/jeecgframework/core/aop/GZipFilter.java |
93 |
Found 'DD'-anomaly for variable 'date' (lines '93'-'105'). |
| 51 |
src/org/jeecgframework/core/aop/GZipFilter.java |
93 |
Found 'DD'-anomaly for variable 'date' (lines '93'-'99'). |
| 52 |
src/org/jeecgframework/core/aop/GZipFilter.java |
99 |
Found 'DD'-anomaly for variable 'date' (lines '99'-'105'). |
| 53 |
src/org/jeecgframework/core/aop/GZipFilter.java |
113 |
Found 'DD'-anomaly for variable 'output' (lines '113'-'115'). |
| 54 |
src/org/jeecgframework/core/aop/GZipFilter.java |
117 |
Avoid empty catch blocks |
| 55 |
src/org/jeecgframework/core/aop/GZipFilter.java |
121 |
Avoid empty catch blocks |
| 56 |
src/org/jeecgframework/core/aop/HiberAspect.java |
22 |
The class 'HiberAspect' has a Cyclomatic Complexity of 17 (Highest = 22). |
| 57 |
src/org/jeecgframework/core/aop/HiberAspect.java |
23 |
Variables that are final and static should be in all caps. |
| 58 |
src/org/jeecgframework/core/aop/HiberAspect.java |
28 |
Avoid variables with short names like id |
| 59 |
src/org/jeecgframework/core/aop/HiberAspect.java |
28 |
Parameter 'entity' is not assigned and could be declared final |
| 60 |
src/org/jeecgframework/core/aop/HiberAspect.java |
28 |
Parameter 'id' is not assigned and could be declared final |
| 61 |
src/org/jeecgframework/core/aop/HiberAspect.java |
28 |
The method 'onSave' has a Cyclomatic Complexity of 22. |
| 62 |
src/org/jeecgframework/core/aop/HiberAspect.java |
29 |
Parameter 'propertyNames' is not assigned and could be declared final |
| 63 |
src/org/jeecgframework/core/aop/HiberAspect.java |
29 |
Parameter 'types' is not assigned and could be declared final |
| 64 |
src/org/jeecgframework/core/aop/HiberAspect.java |
30 |
Found 'DD'-anomaly for variable 'currentUser' (lines '30'-'32'). |
| 65 |
src/org/jeecgframework/core/aop/HiberAspect.java |
37 |
A method should have only one exit point, and that should be the last statement in the method |
| 66 |
src/org/jeecgframework/core/aop/HiberAspect.java |
49 |
Avoid instantiating new objects inside loops |
| 67 |
src/org/jeecgframework/core/aop/HiberAspect.java |
120 |
Avoid printStackTrace(); use a logger call instead. |
| 68 |
src/org/jeecgframework/core/aop/HiberAspect.java |
126 |
Avoid variables with short names like id |
| 69 |
src/org/jeecgframework/core/aop/HiberAspect.java |
126 |
Parameter 'entity' is not assigned and could be declared final |
| 70 |
src/org/jeecgframework/core/aop/HiberAspect.java |
126 |
The method 'onFlushDirty' has a Cyclomatic Complexity of 11. |
| 71 |
src/org/jeecgframework/core/aop/HiberAspect.java |
129 |
Found 'DD'-anomaly for variable 'currentUser' (lines '129'-'131'). |
| 72 |
src/org/jeecgframework/core/aop/HiberAspect.java |
136 |
A method should have only one exit point, and that should be the last statement in the method |
| 73 |
src/org/jeecgframework/core/aop/HiberAspect.java |
146 |
Avoid instantiating new objects inside loops |
| 74 |
src/org/jeecgframework/core/aop/Wrapper.java |
14 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 75 |
src/org/jeecgframework/core/aop/Wrapper.java |
15 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 76 |
src/org/jeecgframework/core/aop/Wrapper.java |
16 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 77 |
src/org/jeecgframework/core/aop/Wrapper.java |
17 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 78 |
src/org/jeecgframework/core/aop/Wrapper.java |
17 |
Private field 'buffer' could be made final; it is only initialized in the declaration or constructor. |
| 79 |
src/org/jeecgframework/core/aop/Wrapper.java |
19 |
Parameter 'resp' is not assigned and could be declared final |
| 80 |
src/org/jeecgframework/core/aop/Wrapper.java |
26 |
Avoid using if...else statements without curly braces |
| 81 |
src/org/jeecgframework/core/aop/Wrapper.java |
28 |
A method should have only one exit point, and that should be the last statement in the method |
| 82 |
src/org/jeecgframework/core/aop/Wrapper.java |
28 |
Avoid using if...else statements without curly braces |
| 83 |
src/org/jeecgframework/core/aop/Wrapper.java |
39 |
Avoid using if...else statements without curly braces |
| 84 |
src/org/jeecgframework/core/aop/Wrapper.java |
41 |
A method should have only one exit point, and that should be the last statement in the method |
| 85 |
src/org/jeecgframework/core/aop/Wrapper.java |
41 |
Avoid using if...else statements without curly braces |
| 86 |
src/org/jeecgframework/core/aop/Wrapper.java |
50 |
Avoid using if statements without curly braces |
| 87 |
src/org/jeecgframework/core/aop/Wrapper.java |
52 |
Avoid using if statements without curly braces |
| 88 |
src/org/jeecgframework/core/aop/Wrapper.java |
68 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 89 |
src/org/jeecgframework/core/aop/Wrapper.java |
68 |
Private field 'buffer' could be made final; it is only initialized in the declaration or constructor. |
| 90 |
src/org/jeecgframework/core/aop/Wrapper.java |
70 |
It is a good practice to call super() in a constructor |
| 91 |
src/org/jeecgframework/core/aop/Wrapper.java |
70 |
Parameter 'buffer' is not assigned and could be declared final |
| 92 |
src/org/jeecgframework/core/aop/Wrapper.java |
74 |
Avoid variables with short names like b |
| 93 |
src/org/jeecgframework/core/aop/Wrapper.java |
74 |
Parameter 'b' is not assigned and could be declared final |
| 94 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
22 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 95 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
27 |
Parameter 'validator' is not assigned and could be declared final |
| 96 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
28 |
Parameter 'groups' is not assigned and could be declared final |
| 97 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
28 |
Parameter 'object' is not assigned and could be declared final |
| 98 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
30 |
Avoid excessively long variable names like constraintViolations |
| 99 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
30 |
Local variable 'constraintViolations' could be declared final |
| 100 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
40 |
Avoid variables with short names like e |
| 101 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
40 |
Parameter 'e' is not assigned and could be declared final |
| 102 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
48 |
Avoid excessively long variable names like constraintViolations |
| 103 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
48 |
Parameter 'constraintViolations' is not assigned and could be declared final |
| 104 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
49 |
Local variable 'errorMessages' could be declared final |
| 105 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
62 |
Avoid variables with short names like e |
| 106 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
70 |
Avoid excessively long variable names like constraintViolations |
| 107 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
71 |
Local variable 'errorMessages' could be declared final |
| 108 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
84 |
Avoid variables with short names like e |
| 109 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
92 |
Avoid excessively long variable names like constraintViolations |
| 110 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
101 |
Avoid variables with short names like e |
| 111 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
110 |
Avoid excessively long variable names like constraintViolations |
| 112 |
src/org/jeecgframework/core/beanvalidator/BeanValidators.java |
112 |
Local variable 'errorMessages' could be declared final |
| 113 |
src/org/jeecgframework/core/common/controller/BaseController.java |
14 |
Avoid unused imports such as 'org.springframework.stereotype.Controller' |
| 114 |
src/org/jeecgframework/core/common/controller/BaseController.java |
14 |
Avoid unused imports such as 'org.springframework.stereotype.Controller' |
| 115 |
src/org/jeecgframework/core/common/controller/BaseController.java |
17 |
Avoid unused imports such as 'org.springframework.web.bind.annotation.RequestMapping' |
| 116 |
src/org/jeecgframework/core/common/controller/BaseController.java |
17 |
Avoid unused imports such as 'org.springframework.web.bind.annotation.RequestMapping' |
| 117 |
src/org/jeecgframework/core/common/controller/BaseController.java |
39 |
Parameter 'binder' is not assigned and could be declared final |
| 118 |
src/org/jeecgframework/core/common/controller/BaseController.java |
53 |
Parameter 'request' is not assigned and could be declared final |
| 119 |
src/org/jeecgframework/core/common/controller/BaseController.java |
53 |
The method pageBaseMethod() has an NPath complexity of 625 |
| 120 |
src/org/jeecgframework/core/common/controller/BaseController.java |
54 |
Avoid reassigning parameters such as 'pageRow' |
| 121 |
src/org/jeecgframework/core/common/controller/BaseController.java |
54 |
Avoid variables with short names like dc |
| 122 |
src/org/jeecgframework/core/common/controller/BaseController.java |
54 |
Parameter 'commonService' is not assigned and could be declared final |
| 123 |
src/org/jeecgframework/core/common/controller/BaseController.java |
54 |
Parameter 'dc' is not assigned and could be declared final |
| 124 |
src/org/jeecgframework/core/common/controller/BaseController.java |
59 |
Found 'DD'-anomaly for variable 'currentPage' (lines '59'-'65'). |
| 125 |
src/org/jeecgframework/core/common/controller/BaseController.java |
61 |
Found 'DD'-anomaly for variable 'totalRow' (lines '61'-'75'). |
| 126 |
src/org/jeecgframework/core/common/controller/BaseController.java |
62 |
Found 'DD'-anomaly for variable 'totalPage' (lines '62'-'77'). |
| 127 |
src/org/jeecgframework/core/common/controller/BaseController.java |
64 |
Local variable 'str_currentPage' could be declared final |
| 128 |
src/org/jeecgframework/core/common/controller/BaseController.java |
65 |
Found 'DD'-anomaly for variable 'currentPage' (lines '65'-'79'). |
| 129 |
src/org/jeecgframework/core/common/controller/BaseController.java |
68 |
Local variable 'str_pageRow' could be declared final |
| 130 |
src/org/jeecgframework/core/common/controller/BaseController.java |
84 |
Local variable 'list' could be declared final |
| 131 |
src/org/jeecgframework/core/common/controller/BaseController.java |
95 |
Parameter 'arg0' is not assigned and could be declared final |
| 132 |
src/org/jeecgframework/core/common/controller/BaseController.java |
104 |
Local variable 'rootUrl' could be declared final |
| 133 |
src/org/jeecgframework/core/common/dao/ICommonDao.java |
27 |
Avoid modifiers which are implied by the context |
| 134 |
src/org/jeecgframework/core/common/dao/ICommonDao.java |
31 |
Avoid modifiers which are implied by the context |
| 135 |
src/org/jeecgframework/core/common/dao/ICommonDao.java |
32 |
Avoid modifiers which are implied by the context |
| 136 |
src/org/jeecgframework/core/common/dao/ICommonDao.java |
37 |
Avoid modifiers which are implied by the context |
| 137 |
src/org/jeecgframework/core/common/dao/ICommonDao.java |
43 |
Avoid modifiers which are implied by the context |
| 138 |
src/org/jeecgframework/core/common/dao/ICommonDao.java |
64 |
Avoid variables with short names like in |
| 139 |
src/org/jeecgframework/core/common/dao/ICommonDao.java |
64 |
Method names should not start with capital letters |
| 140 |
src/org/jeecgframework/core/common/dao/IGenericBaseCommonDao.java |
16 |
Avoid unused imports such as 'org.springframework.dao.DataAccessException' |
| 141 |
src/org/jeecgframework/core/common/dao/IGenericBaseCommonDao.java |
16 |
Avoid unused imports such as 'org.springframework.dao.DataAccessException' |
| 142 |
src/org/jeecgframework/core/common/dao/IGenericBaseCommonDao.java |
26 |
This class has too many methods, consider refactoring it. |
| 143 |
src/org/jeecgframework/core/common/dao/IGenericBaseCommonDao.java |
32 |
Avoid modifiers which are implied by the context |
| 144 |
src/org/jeecgframework/core/common/dao/IGenericBaseCommonDao.java |
34 |
Avoid modifiers which are implied by the context |
| 145 |
src/org/jeecgframework/core/common/dao/IGenericBaseCommonDao.java |
36 |
Avoid modifiers which are implied by the context |
| 146 |
src/org/jeecgframework/core/common/dao/IGenericBaseCommonDao.java |
38 |
Avoid modifiers which are implied by the context |
| 147 |
src/org/jeecgframework/core/common/dao/IGenericBaseCommonDao.java |
40 |
Avoid modifiers which are implied by the context |
| 148 |
src/org/jeecgframework/core/common/dao/IGenericBaseCommonDao.java |
62 |
Avoid variables with short names like id |
| 149 |
src/org/jeecgframework/core/common/dao/IGenericBaseCommonDao.java |
99 |
Avoid variables with short names like id |
| 150 |
src/org/jeecgframework/core/common/dao/IGenericBaseCommonDao.java |
101 |
Avoid variables with short names like id |
| 151 |
src/org/jeecgframework/core/common/dao/IGenericBaseCommonDao.java |
119 |
Avoid variables with short names like id |
| 152 |
src/org/jeecgframework/core/common/dao/IGenericBaseCommonDao.java |
174 |
Avoid variables with short names like cq |
| 153 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 154 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
70 |
The class 'CommonDao' has a Cyclomatic Complexity of 8 (Highest = 21). |
| 155 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
75 |
Parameter 'user' is not assigned and could be declared final |
| 156 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
76 |
Local variable 'password' could be declared final |
| 157 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
77 |
Local variable 'query' could be declared final |
| 158 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
78 |
Local variable 'queryObject' could be declared final |
| 159 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
81 |
Local variable 'users' could be declared final |
| 160 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
82 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 161 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
83 |
A method should have only one exit point, and that should be the last statement in the method |
| 162 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
91 |
Avoid reassigning parameters such as 'user' |
| 163 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
91 |
Parameter 'newPwd' is not assigned and could be declared final |
| 164 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
92 |
Local variable 'query' could be declared final |
| 165 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
96 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 166 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
106 |
Parameter 'user' is not assigned and could be declared final |
| 167 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
110 |
Prefer StringBuffer over += for concatenating strings |
| 168 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
122 |
The String literal "unchecked" appears 4 times in this file; the first occurrence is on line 122 |
| 169 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
123 |
Avoid really long methods. |
| 170 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
123 |
Parameter 'uploadFile' is not assigned and could be declared final |
| 171 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
123 |
The method 'uploadFile' has a Cyclomatic Complexity of 17. |
| 172 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
123 |
The method uploadFile() has an NPath complexity of 3122 |
| 173 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
125 |
Avoid if (x != y) ..; else ..; |
| 174 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
131 |
The String literal "UTF-8" appears 4 times in this file; the first occurrence is on line 131 |
| 175 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
133 |
Found 'DU'-anomaly for variable 'reflectHelper' (lines '133'-'228'). |
| 176 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
146 |
Avoid if (x != y) ..; else ..; |
| 177 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
147 |
Prefer StringBuffer over += for concatenating strings |
| 178 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
148 |
Prefer StringBuffer over += for concatenating strings |
| 179 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
155 |
Prefer StringBuffer over += for concatenating strings |
| 180 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
156 |
Prefer StringBuffer over += for concatenating strings |
| 181 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
164 |
Position literals first in String comparisons |
| 182 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
166 |
Found 'DU'-anomaly for variable 'path' (lines '166'-'228'). |
| 183 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
167 |
Position literals first in String comparisons |
| 184 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
171 |
Found 'DD'-anomaly for variable 'fileName' (lines '171'-'175'). |
| 185 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
172 |
Avoid unused local variables such as 'swfName'. |
| 186 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
172 |
Found 'DD'-anomaly for variable 'swfName' (lines '172'-'176'). |
| 187 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
174 |
Avoid variables with short names like mf |
| 188 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
176 |
Found 'DD'-anomaly for variable 'swfName' (lines '176'-'176'). |
| 189 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
176 |
Found 'DU'-anomaly for variable 'swfName' (lines '176'-'228'). |
| 190 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
177 |
Found 'DD'-anomaly for variable 'extend' (lines '177'-'177'). |
| 191 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
177 |
Found 'DU'-anomaly for variable 'extend' (lines '177'-'228'). |
| 192 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
178 |
Found 'DD'-anomaly for variable 'myfilename' (lines '178'-'184'). |
| 193 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
178 |
Found 'DD'-anomaly for variable 'myfilename' (lines '178'-'187'). |
| 194 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
179 |
Found 'DD'-anomaly for variable 'noextfilename' (lines '179'-'179'). |
| 195 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
179 |
Found 'DD'-anomaly for variable 'noextfilename' (lines '179'-'183'). |
| 196 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
179 |
Found 'DU'-anomaly for variable 'noextfilename' (lines '179'-'228'). |
| 197 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
191 |
Found 'DD'-anomaly for variable 'fileprefixName' (lines '191'-'191'). |
| 198 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
191 |
Found 'DU'-anomaly for variable 'fileprefixName' (lines '191'-'228'). |
| 199 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
199 |
Avoid empty if statements |
| 200 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
203 |
Avoid instantiating new objects inside loops |
| 201 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
224 |
Avoid empty catch blocks |
| 202 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
238 |
Parameter 'uploadFile' is not assigned and could be declared final |
| 203 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
238 |
The method 'viewOrDownloadFile' has a Cyclomatic Complexity of 18. |
| 204 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
241 |
Found 'DD'-anomaly for variable 'bis' (lines '241'-'252'). |
| 205 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
241 |
Found 'DD'-anomaly for variable 'bis' (lines '241'-'258'). |
| 206 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
242 |
Found 'DD'-anomaly for variable 'bos' (lines '242'-'279'). |
| 207 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
245 |
Found 'DU'-anomaly for variable 'ctxPath' (lines '245'-'300'). |
| 208 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
246 |
Found 'DD'-anomaly for variable 'downLoadPath' (lines '246'-'249'). |
| 209 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
246 |
Found 'DU'-anomaly for variable 'downLoadPath' (lines '246'-'300'). |
| 210 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
247 |
Found 'DD'-anomaly for variable 'fileLength' (lines '247'-'250'). |
| 211 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
247 |
Found 'DD'-anomaly for variable 'fileLength' (lines '247'-'259'). |
| 212 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
250 |
Found 'DU'-anomaly for variable 'fileLength' (lines '250'-'300'). |
| 213 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
254 |
Avoid printStackTrace(); use a logger call instead. |
| 214 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
257 |
Avoid using if statements without curly braces |
| 215 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
259 |
Found 'DU'-anomaly for variable 'fileLength' (lines '259'-'300'). |
| 216 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
282 |
Avoid assignments in operands |
| 217 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
282 |
Found 'DU'-anomaly for variable 'bytesRead' (lines '282'-'300'). |
| 218 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
286 |
Avoid printStackTrace(); use a logger call instead. |
| 219 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
296 |
Avoid printStackTrace(); use a logger call instead. |
| 220 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
318 |
Found 'DU'-anomaly for variable 'rElement' (lines '318'-'354'). |
| 221 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
320 |
Found 'DU'-anomaly for variable 'fields' (lines '320'-'354'). |
| 222 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
323 |
Avoid unused local variables such as 'classType'. |
| 223 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
323 |
Found 'DU'-anomaly for variable 'classType' (lines '323'-'354'). |
| 224 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
325 |
Found 'DD'-anomaly for variable 'childElement' (lines '325'-'325'). |
| 225 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
325 |
Found 'DU'-anomaly for variable 'childElement' (lines '325'-'354'). |
| 226 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
351 |
Avoid printStackTrace(); use a logger call instead. |
| 227 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
360 |
The method 'parserXml' has a Cyclomatic Complexity of 13. |
| 228 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
376 |
Avoid variables with short names like id |
| 229 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
385 |
Found 'DU'-anomaly for variable 'node' (lines '385'-'416'). |
| 230 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
391 |
Avoid instantiating new objects inside loops |
| 231 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
391 |
Found 'DD'-anomaly for variable 'setMethod' (lines '391'-'391'). |
| 232 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
391 |
Found 'DU'-anomaly for variable 'setMethod' (lines '391'-'416'). |
| 233 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
393 |
Position literals first in String comparisons |
| 234 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
394 |
Avoid instantiating Integer objects. Call Integer.valueOf() instead. |
| 235 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
394 |
Avoid instantiating new objects inside loops |
| 236 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
395 |
Position literals first in String comparisons |
| 237 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
397 |
Position literals first in String comparisons |
| 238 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
398 |
Avoid instantiating Short objects. Call Short.valueOf() instead |
| 239 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
398 |
Avoid instantiating new objects inside loops |
| 240 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
400 |
Avoid instantiating new objects inside loops |
| 241 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
407 |
Avoid if (x != y) ..; else ..; |
| 242 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
414 |
Avoid printStackTrace(); use a logger call instead. |
| 243 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
444 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 244 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
452 |
Avoid variables with short names like t |
| 245 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
469 |
Avoid variables with short names like in |
| 246 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
469 |
Method names should not start with capital letters |
| 247 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
479 |
Avoid unused method parameters such as 'recursive'. |
| 248 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
479 |
Avoid variables with short names like in |
| 249 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
481 |
Found 'DU'-anomaly for variable 'attributes' (lines '481'-'511'). |
| 250 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
490 |
Avoid empty if statements |
| 251 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
492 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 252 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
503 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 253 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
515 |
The method 'treegrid' has a Cyclomatic Complexity of 21. |
| 254 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
515 |
The method treegrid() has an NPath complexity of 5023 |
| 255 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
530 |
Avoid if (x != y) ..; else ..; |
| 256 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
540 |
Avoid if (x != y) ..; else ..; |
| 257 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
561 |
Found 'DD'-anomaly for variable 'opStrings' (lines '561'-'570'). |
| 258 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
561 |
Found 'DU'-anomaly for variable 'opStrings' (lines '561'-'601'). |
| 259 |
src/org/jeecgframework/core/common/dao/impl/CommonDao.java |
570 |
Found 'DU'-anomaly for variable 'opStrings' (lines '570'-'601'). |
| 260 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 261 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
1 |
This class has a bunch of public methods and attributes |
| 262 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
4 |
Avoid unused imports such as 'java.sql.Connection' |
| 263 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
4 |
Avoid unused imports such as 'java.sql.Connection' |
| 264 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
5 |
Avoid unused imports such as 'java.sql.PreparedStatement' |
| 265 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
5 |
Avoid unused imports such as 'java.sql.PreparedStatement' |
| 266 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
6 |
Avoid unused imports such as 'java.sql.SQLException' |
| 267 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
6 |
Avoid unused imports such as 'java.sql.SQLException' |
| 268 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
7 |
Avoid unused imports such as 'java.sql.Statement' |
| 269 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
7 |
Avoid unused imports such as 'java.sql.Statement' |
| 270 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
51 |
Avoid unused imports such as 'org.springframework.dao.DataAccessException' |
| 271 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
51 |
Avoid unused imports such as 'org.springframework.dao.DataAccessException' |
| 272 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
74 |
Abstract classes should be named AbstractXXX |
| 273 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
75 |
This class has too many methods, consider refactoring it. |
| 274 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
79 |
Variables that are final and static should be in all caps. |
| 275 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
86 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 276 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
99 |
Avoid unused private methods such as 'getProperty(Class)'. |
| 277 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
99 |
Parameter 'entityName' is not assigned and could be declared final |
| 278 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
100 |
Avoid variables with short names like cm |
| 279 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
100 |
Local variable 'cm' could be declared final |
| 280 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
101 |
Local variable 'str' could be declared final |
| 281 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
103 |
Local variable 'property' could be declared final |
| 282 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
104 |
Local variable 'type' could be declared final |
| 283 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
115 |
Local variable 'resultList' could be declared final |
| 284 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
119 |
Avoid instantiating new objects inside loops |
| 285 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
124 |
Avoid variables with short names like c |
| 286 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
127 |
Avoid variables with short names like t |
| 287 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
128 |
Avoid if (x != y) ..; else ..; |
| 288 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
130 |
Avoid printStackTrace(); use a logger call instead. |
| 289 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
155 |
Parameter 'entityClass' is not assigned and could be declared final |
| 290 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
156 |
Parameter 'propertyName' is not assigned and could be declared final |
| 291 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
156 |
Parameter 'value' is not assigned and could be declared final |
| 292 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
165 |
Parameter 'entityClass' is not assigned and could be declared final |
| 293 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
177 |
Avoid variables with short names like id |
| 294 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
254 |
Avoid variables with short names like id |
| 295 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
340 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 296 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
355 |
Found 'DD'-anomaly for variable 't' (lines '355'-'360'). |
| 297 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
355 |
Found 'DU'-anomaly for variable 't' (lines '355'-'365'). |
| 298 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
361 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 299 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
463 |
Avoid unused private methods such as 'createCriteria(Class)'. |
| 300 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
465 |
Consider simply returning the value vs storing it in local variable 'criteria' |
| 301 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
527 |
Found 'DD'-anomaly for variable 'num' (lines '527'-'530'). |
| 302 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
530 |
Found 'DD'-anomaly for variable 'num' (lines '530'-'530'). |
| 303 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
574 |
Avoid excessively long variable names like executableCriteria |
| 304 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
574 |
Avoid if (x != y) ..; else ..; |
| 305 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
590 |
An empty method in an abstract class should be abstract instead |
| 306 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
590 |
Document empty method |
| 307 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
637 |
Found 'DD'-anomaly for variable 'toolBar' (lines '637'-'642'). |
| 308 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
637 |
Found 'DD'-anomaly for variable 'toolBar' (lines '637'-'645'). |
| 309 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
649 |
Found 'DU'-anomaly for variable 'pageSize' (lines '649'-'653'). |
| 310 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
680 |
Found 'DU'-anomaly for variable 'offset' (lines '680'-'691'). |
| 311 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
685 |
Found 'DU'-anomaly for variable 'pageSize' (lines '685'-'691'). |
| 312 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
720 |
Found 'DU'-anomaly for variable 'offset' (lines '720'-'733'). |
| 313 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
725 |
Found 'DU'-anomaly for variable 'pageSize' (lines '725'-'733'). |
| 314 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
756 |
Found 'DD'-anomaly for variable 'list' (lines '756'-'758'). |
| 315 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
756 |
Found 'DD'-anomaly for variable 'list' (lines '756'-'762'). |
| 316 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
809 |
Avoid using if statements without curly braces |
| 317 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
817 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 318 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
821 |
Avoid excessively long variable names like namedParameterJdbcTemplate |
| 319 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
821 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 320 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
826 |
Avoid reassigning parameters such as 'sql' |
| 321 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
838 |
Avoid reassigning parameters such as 'sql' |
| 322 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
845 |
Found 'DD'-anomaly for variable 'po' (lines '845'-'848'). |
| 323 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
845 |
Found 'DU'-anomaly for variable 'po' (lines '845'-'856'). |
| 324 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
852 |
Avoid printStackTrace(); use a logger call instead. |
| 325 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
867 |
Avoid reassigning parameters such as 'sql' |
| 326 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
905 |
Found 'DD'-anomaly for variable 'keyValue' (lines '905'-'910'). |
| 327 |
src/org/jeecgframework/core/common/dao/impl/GenericBaseCommonDao.java |
920 |
A method should have only one exit point, and that should be the last statement in the method |
| 328 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
14 |
Avoid unused imports such as 'org.springframework.dao.DataAccessException' |
| 329 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
14 |
Avoid unused imports such as 'org.springframework.dao.DataAccessException' |
| 330 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
24 |
This class has too many methods, consider refactoring it. |
| 331 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
29 |
Avoid excessively long variable names like DATABSE_TYPE_MYSQL |
| 332 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
30 |
Avoid excessively long variable names like DATABSE_TYPE_POSTGRE |
| 333 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
31 |
Avoid excessively long variable names like DATABSE_TYPE_ORACLE |
| 334 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
32 |
Avoid excessively long variable names like DATABSE_TYPE_SQLSERVER |
| 335 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
43 |
Parameter 'dataSource' is not assigned and could be declared final |
| 336 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
54 |
Parameter 'clazz' is not assigned and could be declared final |
| 337 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
54 |
Parameter 'parameters' is not assigned and could be declared final |
| 338 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
54 |
Parameter 'sql' is not assigned and could be declared final |
| 339 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
65 |
Parameter 'clazz' is not assigned and could be declared final |
| 340 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
133 |
Avoid reassigning parameters such as 'sql' |
| 341 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
150 |
Avoid reassigning parameters such as 'sql' |
| 342 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
151 |
Local variable 'rsList' could be declared final |
| 343 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
154 |
Local variable 'mapList' could be declared final |
| 344 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
156 |
Avoid variables with short names like po |
| 345 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
156 |
Found 'DD'-anomaly for variable 'po' (lines '156'-'159'). |
| 346 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
156 |
Found 'DU'-anomaly for variable 'po' (lines '156'-'167'). |
| 347 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
163 |
Avoid printStackTrace(); use a logger call instead. |
| 348 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
178 |
Avoid reassigning parameters such as 'sql' |
| 349 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
186 |
A method should have only one exit point, and that should be the last statement in the method |
| 350 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
221 |
Avoid reassigning parameters such as 'sql' |
| 351 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
221 |
Avoid reassigning parameters such as 'sql' |
| 352 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
222 |
Local variable 'beginNum' could be declared final |
| 353 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
223 |
Found 'DD'-anomaly for variable 'sqlParam' (lines '223'-'224'). |
| 354 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
224 |
Found 'DD'-anomaly for variable 'sqlParam' (lines '224'-'225'). |
| 355 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
225 |
Do not add empty strings |
| 356 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
225 |
Found 'DD'-anomaly for variable 'sqlParam' (lines '225'-'226'). |
| 357 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
226 |
Do not add empty strings |
| 358 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
226 |
Found 'DD'-anomaly for variable 'sqlParam' (lines '226'-'234'). |
| 359 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
227 |
Avoid if (x != y) ..; else ..; |
| 360 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
229 |
Avoid if (x != y) ..; else ..; |
| 361 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
232 |
Local variable 'beginIndex' could be declared final |
| 362 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
233 |
Local variable 'endIndex' could be declared final |
| 363 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
234 |
Found 'DD'-anomaly for variable 'sqlParam' (lines '234'-'235'). |
| 364 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
235 |
Found 'DD'-anomaly for variable 'sqlParam' (lines '235'-'239'). |
| 365 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
235 |
Found 'DU'-anomaly for variable 'sqlParam' (lines '235'-'244'). |
| 366 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
236 |
Avoid if (x != y) ..; else ..; |
| 367 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
246 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 368 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
247 |
Avoid excessively long variable names like selectDistinctIndex |
| 369 |
src/org/jeecgframework/core/common/dao/jdbc/JdbcDao.java |
247 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 370 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
22 |
Logger should be defined private static final and have the correct class |
| 371 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
24 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 372 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
25 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 373 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
26 |
Parameter 'dataSource' is not assigned and could be declared final |
| 374 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
38 |
Parameter 'clazz' is not assigned and could be declared final |
| 375 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
38 |
Parameter 'parameters' is not assigned and could be declared final |
| 376 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
40 |
The String literal "sqlÓï¾ä²»ÕýÈ·!" appears 7 times in this file; the first occurrence is on line 40 |
| 377 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
42 |
Avoid if (x != y) ..; else ..; |
| 378 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
43 |
A method should have only one exit point, and that should be the last statement in the method |
| 379 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
45 |
A method should have only one exit point, and that should be the last statement in the method |
| 380 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
59 |
Parameter 'clazz' is not assigned and could be declared final |
| 381 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
59 |
Parameter 'parameters' is not assigned and could be declared final |
| 382 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
63 |
Avoid if (x != y) ..; else ..; |
| 383 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
64 |
A method should have only one exit point, and that should be the last statement in the method |
| 384 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
66 |
A method should have only one exit point, and that should be the last statement in the method |
| 385 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
82 |
Avoid if (x != y) ..; else ..; |
| 386 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
83 |
A method should have only one exit point, and that should be the last statement in the method |
| 387 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
101 |
Avoid if (x != y) ..; else ..; |
| 388 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
121 |
Avoid if (x != y) ..; else ..; |
| 389 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
178 |
Local variable 'updateCounts' could be declared final |
| 390 |
src/org/jeecgframework/core/common/dao/jdbc/SimpleJdbcTemplate.java |
179 |
Consider simply returning the value vs storing it in local variable 'updateCounts' |
| 391 |
src/org/jeecgframework/core/common/entity/IdEntity.java |
21 |
Abstract classes should be named AbstractXXX |
| 392 |
src/org/jeecgframework/core/common/entity/IdEntity.java |
26 |
Avoid variables with short names like id |
| 393 |
src/org/jeecgframework/core/common/entity/IdEntity.java |
36 |
Avoid variables with short names like id |
| 394 |
src/org/jeecgframework/core/common/entity/IdEntity.java |
36 |
Parameter 'id' is not assigned and could be declared final |
| 395 |
src/org/jeecgframework/core/common/exception/BusinessException.java |
6 |
Parameter 'message' is not assigned and could be declared final |
| 396 |
src/org/jeecgframework/core/common/exception/BusinessException.java |
10 |
Parameter 'cause' is not assigned and could be declared final |
| 397 |
src/org/jeecgframework/core/common/exception/BusinessException.java |
15 |
Parameter 'cause' is not assigned and could be declared final |
| 398 |
src/org/jeecgframework/core/common/exception/BusinessException.java |
15 |
Parameter 'message' is not assigned and could be declared final |
| 399 |
src/org/jeecgframework/core/common/exception/MyExceptionHandler.java |
3 |
Avoid unused imports such as 'java.io.IOException' |
| 400 |
src/org/jeecgframework/core/common/exception/MyExceptionHandler.java |
3 |
Avoid unused imports such as 'java.io.IOException' |
| 401 |
src/org/jeecgframework/core/common/exception/MyExceptionHandler.java |
4 |
Avoid unused imports such as 'java.io.PrintWriter' |
| 402 |
src/org/jeecgframework/core/common/exception/MyExceptionHandler.java |
4 |
Avoid unused imports such as 'java.io.PrintWriter' |
| 403 |
src/org/jeecgframework/core/common/exception/MyExceptionHandler.java |
11 |
Avoid unused imports such as 'org.jeecgframework.core.common.model.json.AjaxJson' |
| 404 |
src/org/jeecgframework/core/common/exception/MyExceptionHandler.java |
11 |
Avoid unused imports such as 'org.jeecgframework.core.common.model.json.AjaxJson' |
| 405 |
src/org/jeecgframework/core/common/exception/MyExceptionHandler.java |
24 |
Variables that are final and static should be in all caps. |
| 406 |
src/org/jeecgframework/core/common/exception/MyExceptionHandler.java |
27 |
Parameter 'request' is not assigned and could be declared final |
| 407 |
src/org/jeecgframework/core/common/exception/MyExceptionHandler.java |
28 |
Avoid variables with short names like ex |
| 408 |
src/org/jeecgframework/core/common/exception/MyExceptionHandler.java |
28 |
Parameter 'ex' is not assigned and could be declared final |
| 409 |
src/org/jeecgframework/core/common/exception/MyExceptionHandler.java |
28 |
Parameter 'handler' is not assigned and could be declared final |
| 410 |
src/org/jeecgframework/core/common/exception/MyExceptionHandler.java |
28 |
Parameter 'response' is not assigned and could be declared final |
| 411 |
src/org/jeecgframework/core/common/exception/MyExceptionHandler.java |
29 |
Local variable 'exceptionMessage' could be declared final |
| 412 |
src/org/jeecgframework/core/common/exception/MyExceptionHandler.java |
31 |
Local variable 'model' could be declared final |
| 413 |
src/org/jeecgframework/core/common/hibernate/dialect/DB2Dialect.java |
16 |
Parameter 'sql' is not assigned and could be declared final |
| 414 |
src/org/jeecgframework/core/common/hibernate/dialect/DB2Dialect.java |
18 |
Local variable 'rownumber' could be declared final |
| 415 |
src/org/jeecgframework/core/common/hibernate/dialect/DB2Dialect.java |
19 |
Local variable 'orderByIndex' could be declared final |
| 416 |
src/org/jeecgframework/core/common/hibernate/dialect/DB2Dialect.java |
19 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 417 |
src/org/jeecgframework/core/common/hibernate/dialect/DB2Dialect.java |
28 |
Parameter 'sql' is not assigned and could be declared final |
| 418 |
src/org/jeecgframework/core/common/hibernate/dialect/DB2Dialect.java |
30 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 419 |
src/org/jeecgframework/core/common/hibernate/dialect/DB2Dialect.java |
33 |
Parameter 'limit' is not assigned and could be declared final |
| 420 |
src/org/jeecgframework/core/common/hibernate/dialect/DB2Dialect.java |
33 |
Parameter 'limitPlaceholder' is not assigned and could be declared final |
| 421 |
src/org/jeecgframework/core/common/hibernate/dialect/DB2Dialect.java |
33 |
Parameter 'offset' is not assigned and could be declared final |
| 422 |
src/org/jeecgframework/core/common/hibernate/dialect/DB2Dialect.java |
35 |
Local variable 'startOfSelect' could be declared final |
| 423 |
src/org/jeecgframework/core/common/hibernate/dialect/DB2Dialect.java |
35 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 424 |
src/org/jeecgframework/core/common/hibernate/dialect/DB2Dialect.java |
36 |
Local variable 'pagingSelect' could be declared final |
| 425 |
src/org/jeecgframework/core/common/hibernate/dialect/DB2Dialect.java |
36 |
StringBuffer constructor is initialized with size 16, but has at least 32 characters appended. |
| 426 |
src/org/jeecgframework/core/common/hibernate/dialect/DB2Dialect.java |
50 |
Local variable 'endString' could be declared final |
| 427 |
src/org/jeecgframework/core/common/hibernate/dialect/DB2Dialect.java |
55 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 428 |
src/org/jeecgframework/core/common/hibernate/dialect/DerbyDialect.java |
16 |
Parameter 'limit' is not assigned and could be declared final |
| 429 |
src/org/jeecgframework/core/common/hibernate/dialect/DerbyDialect.java |
16 |
Parameter 'limitPlaceholder' is not assigned and could be declared final |
| 430 |
src/org/jeecgframework/core/common/hibernate/dialect/DerbyDialect.java |
16 |
Parameter 'offset' is not assigned and could be declared final |
| 431 |
src/org/jeecgframework/core/common/hibernate/dialect/DerbyDialect.java |
16 |
Parameter 'offsetPlaceholder' is not assigned and could be declared final |
| 432 |
src/org/jeecgframework/core/common/hibernate/dialect/DerbyDialect.java |
16 |
Parameter 'sql' is not assigned and could be declared final |
| 433 |
src/org/jeecgframework/core/common/hibernate/dialect/Dialect.java |
15 |
Parameter 'sql' is not assigned and could be declared final |
| 434 |
src/org/jeecgframework/core/common/hibernate/dialect/Dialect.java |
17 |
Local variable 'tmp' could be declared final |
| 435 |
src/org/jeecgframework/core/common/hibernate/dialect/Dialect.java |
18 |
Consider simply returning the value vs storing it in local variable 'tmp' |
| 436 |
src/org/jeecgframework/core/common/hibernate/dialect/Dialect.java |
21 |
Parameter 'limit' is not assigned and could be declared final |
| 437 |
src/org/jeecgframework/core/common/hibernate/dialect/Dialect.java |
21 |
Parameter 'offset' is not assigned and could be declared final |
| 438 |
src/org/jeecgframework/core/common/hibernate/dialect/Dialect.java |
21 |
Parameter 'sql' is not assigned and could be declared final |
| 439 |
src/org/jeecgframework/core/common/hibernate/dialect/Dialect.java |
26 |
Parameter 'limit' is not assigned and could be declared final |
| 440 |
src/org/jeecgframework/core/common/hibernate/dialect/DialectFactoryBean.java |
11 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 441 |
src/org/jeecgframework/core/common/hibernate/dialect/DialectFactoryBean.java |
12 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 442 |
src/org/jeecgframework/core/common/hibernate/dialect/DialectFactoryBean.java |
14 |
Parameter 'dbType' is not assigned and could be declared final |
| 443 |
src/org/jeecgframework/core/common/hibernate/dialect/DialectFactoryBean.java |
18 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 444 |
src/org/jeecgframework/core/common/hibernate/dialect/DialectFactoryBean.java |
18 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 445 |
src/org/jeecgframework/core/common/hibernate/dialect/DialectFactoryBean.java |
30 |
Avoid throwing raw exception types. |
| 446 |
src/org/jeecgframework/core/common/hibernate/dialect/H2Dialect.java |
11 |
Parameter 'limit' is not assigned and could be declared final |
| 447 |
src/org/jeecgframework/core/common/hibernate/dialect/H2Dialect.java |
11 |
Parameter 'limitPlaceholder' is not assigned and could be declared final |
| 448 |
src/org/jeecgframework/core/common/hibernate/dialect/H2Dialect.java |
11 |
Parameter 'offset' is not assigned and could be declared final |
| 449 |
src/org/jeecgframework/core/common/hibernate/dialect/H2Dialect.java |
11 |
Parameter 'offsetPlaceholder' is not assigned and could be declared final |
| 450 |
src/org/jeecgframework/core/common/hibernate/dialect/H2Dialect.java |
11 |
Parameter 'sql' is not assigned and could be declared final |
| 451 |
src/org/jeecgframework/core/common/hibernate/dialect/HSQLDialect.java |
16 |
Parameter 'limit' is not assigned and could be declared final |
| 452 |
src/org/jeecgframework/core/common/hibernate/dialect/HSQLDialect.java |
16 |
Parameter 'limitPlaceholder' is not assigned and could be declared final |
| 453 |
src/org/jeecgframework/core/common/hibernate/dialect/HSQLDialect.java |
16 |
Parameter 'offset' is not assigned and could be declared final |
| 454 |
src/org/jeecgframework/core/common/hibernate/dialect/HSQLDialect.java |
16 |
Parameter 'offsetPlaceholder' is not assigned and could be declared final |
| 455 |
src/org/jeecgframework/core/common/hibernate/dialect/HSQLDialect.java |
16 |
Parameter 'sql' is not assigned and could be declared final |
| 456 |
src/org/jeecgframework/core/common/hibernate/dialect/HSQLDialect.java |
18 |
Avoid unused local variables such as 'hasOffset'. |
| 457 |
src/org/jeecgframework/core/common/hibernate/dialect/HSQLDialect.java |
18 |
Found 'DU'-anomaly for variable 'hasOffset' (lines '18'-'20'). |
| 458 |
src/org/jeecgframework/core/common/hibernate/dialect/HSQLDialect.java |
18 |
Local variable 'hasOffset' could be declared final |
| 459 |
src/org/jeecgframework/core/common/hibernate/dialect/HSQLDialect.java |
19 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 460 |
src/org/jeecgframework/core/common/hibernate/dialect/MySQLDialect.java |
16 |
Parameter 'limit' is not assigned and could be declared final |
| 461 |
src/org/jeecgframework/core/common/hibernate/dialect/MySQLDialect.java |
16 |
Parameter 'limitPlaceholder' is not assigned and could be declared final |
| 462 |
src/org/jeecgframework/core/common/hibernate/dialect/MySQLDialect.java |
16 |
Parameter 'offset' is not assigned and could be declared final |
| 463 |
src/org/jeecgframework/core/common/hibernate/dialect/MySQLDialect.java |
16 |
Parameter 'offsetPlaceholder' is not assigned and could be declared final |
| 464 |
src/org/jeecgframework/core/common/hibernate/dialect/MySQLDialect.java |
16 |
Parameter 'sql' is not assigned and could be declared final |
| 465 |
src/org/jeecgframework/core/common/hibernate/dialect/MySQLDialect.java |
20 |
A method should have only one exit point, and that should be the last statement in the method |
| 466 |
src/org/jeecgframework/core/common/hibernate/dialect/OracleDialect.java |
16 |
Avoid reassigning parameters such as 'sql' |
| 467 |
src/org/jeecgframework/core/common/hibernate/dialect/OracleDialect.java |
16 |
Avoid reassigning parameters such as 'sql' |
| 468 |
src/org/jeecgframework/core/common/hibernate/dialect/OracleDialect.java |
16 |
Parameter 'limit' is not assigned and could be declared final |
| 469 |
src/org/jeecgframework/core/common/hibernate/dialect/OracleDialect.java |
16 |
Parameter 'limitPlaceholder' is not assigned and could be declared final |
| 470 |
src/org/jeecgframework/core/common/hibernate/dialect/OracleDialect.java |
16 |
Parameter 'offset' is not assigned and could be declared final |
| 471 |
src/org/jeecgframework/core/common/hibernate/dialect/OracleDialect.java |
16 |
Parameter 'offsetPlaceholder' is not assigned and could be declared final |
| 472 |
src/org/jeecgframework/core/common/hibernate/dialect/OracleDialect.java |
19 |
Found 'DD'-anomaly for variable 'isForUpdate' (lines '19'-'23'). |
| 473 |
src/org/jeecgframework/core/common/hibernate/dialect/OracleDialect.java |
20 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 474 |
src/org/jeecgframework/core/common/hibernate/dialect/OracleDialect.java |
25 |
Local variable 'pagingSelect' could be declared final |
| 475 |
src/org/jeecgframework/core/common/hibernate/dialect/OracleDialect.java |
25 |
StringBuffer constructor is initialized with size 16, but has at least 46 characters appended. |
| 476 |
src/org/jeecgframework/core/common/hibernate/dialect/OracleDialect.java |
37 |
Local variable 'endString' could be declared final |
| 477 |
src/org/jeecgframework/core/common/hibernate/dialect/OracleDialect.java |
42 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 478 |
src/org/jeecgframework/core/common/hibernate/dialect/PostgreSQLDialect.java |
16 |
Parameter 'limit' is not assigned and could be declared final |
| 479 |
src/org/jeecgframework/core/common/hibernate/dialect/PostgreSQLDialect.java |
16 |
Parameter 'limitPlaceholder' is not assigned and could be declared final |
| 480 |
src/org/jeecgframework/core/common/hibernate/dialect/PostgreSQLDialect.java |
16 |
Parameter 'offset' is not assigned and could be declared final |
| 481 |
src/org/jeecgframework/core/common/hibernate/dialect/PostgreSQLDialect.java |
16 |
Parameter 'offsetPlaceholder' is not assigned and could be declared final |
| 482 |
src/org/jeecgframework/core/common/hibernate/dialect/PostgreSQLDialect.java |
16 |
Parameter 'sql' is not assigned and could be declared final |
| 483 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
16 |
Parameter 'limit' is not assigned and could be declared final |
| 484 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
16 |
Parameter 'limitPlaceholder' is not assigned and could be declared final |
| 485 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
16 |
Parameter 'offset' is not assigned and could be declared final |
| 486 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
16 |
Parameter 'offsetPlaceholder' is not assigned and could be declared final |
| 487 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
16 |
Parameter 'querySqlString' is not assigned and could be declared final |
| 488 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
18 |
Local variable 'start' could be declared final |
| 489 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
19 |
Local variable 'pagingBuilder' could be declared final |
| 490 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
21 |
Found 'DD'-anomaly for variable 'distinctStr' (lines '21'-'29'). |
| 491 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
22 |
Local variable 'loweredString' could be declared final |
| 492 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
22 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 493 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
23 |
Found 'DD'-anomaly for variable 'sqlPartString' (lines '23'-'32'). |
| 494 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
26 |
Found 'DD'-anomaly for variable 'index' (lines '26'-'30'). |
| 495 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
40 |
Local variable 'result' could be declared final |
| 496 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
40 |
StringBuffer constructor is initialized with size 16, but has at least 159 characters appended. |
| 497 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
41 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 498 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
41 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 499 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
41 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 500 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
46 |
Use explicit scoping instead of the default package private level |
| 501 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
48 |
Local variable 'loweredString' could be declared final |
| 502 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
48 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 503 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServer2005Dialect.java |
52 |
A method should have only one exit point, and that should be the last statement in the method |
| 504 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServerDialect.java |
16 |
Parameter 'sql' is not assigned and could be declared final |
| 505 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServerDialect.java |
16 |
Use explicit scoping instead of the default package private level |
| 506 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServerDialect.java |
18 |
Local variable 'selectIndex' could be declared final |
| 507 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServerDialect.java |
18 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 508 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServerDialect.java |
19 |
Avoid excessively long variable names like selectDistinctIndex |
| 509 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServerDialect.java |
19 |
Local variable 'selectDistinctIndex' could be declared final |
| 510 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServerDialect.java |
19 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 511 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServerDialect.java |
23 |
Parameter 'limit' is not assigned and could be declared final |
| 512 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServerDialect.java |
23 |
Parameter 'offset' is not assigned and could be declared final |
| 513 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServerDialect.java |
23 |
Parameter 'sql' is not assigned and could be declared final |
| 514 |
src/org/jeecgframework/core/common/hibernate/dialect/SQLServerDialect.java |
28 |
Parameter 'limit' is not assigned and could be declared final |
| 515 |
src/org/jeecgframework/core/common/hibernate/dialect/SybaseDialect.java |
16 |
Parameter 'limit' is not assigned and could be declared final |
| 516 |
src/org/jeecgframework/core/common/hibernate/dialect/SybaseDialect.java |
16 |
Parameter 'limitPlaceholder' is not assigned and could be declared final |
| 517 |
src/org/jeecgframework/core/common/hibernate/dialect/SybaseDialect.java |
16 |
Parameter 'offset' is not assigned and could be declared final |
| 518 |
src/org/jeecgframework/core/common/hibernate/dialect/SybaseDialect.java |
16 |
Parameter 'offsetPlaceholder' is not assigned and could be declared final |
| 519 |
src/org/jeecgframework/core/common/hibernate/dialect/SybaseDialect.java |
16 |
Parameter 'sql' is not assigned and could be declared final |
| 520 |
src/org/jeecgframework/core/common/hibernate/qbc/AliasToBean.java |
23 |
Variables that are final and static should be in all caps. |
| 521 |
src/org/jeecgframework/core/common/hibernate/qbc/AliasToBean.java |
24 |
Variables that are final and static should be in all caps. |
| 522 |
src/org/jeecgframework/core/common/hibernate/qbc/AliasToBean.java |
30 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 523 |
src/org/jeecgframework/core/common/hibernate/qbc/AliasToBean.java |
32 |
Parameter 'pojoClass' is not assigned and could be declared final |
| 524 |
src/org/jeecgframework/core/common/hibernate/qbc/AliasToBean.java |
33 |
Avoid using if statements without curly braces |
| 525 |
src/org/jeecgframework/core/common/hibernate/qbc/AliasToBean.java |
39 |
Parameter 'collection' is not assigned and could be declared final |
| 526 |
src/org/jeecgframework/core/common/hibernate/qbc/AliasToBean.java |
52 |
Parameter 'aliases' is not assigned and could be declared final |
| 527 |
src/org/jeecgframework/core/common/hibernate/qbc/AliasToBean.java |
52 |
Parameter 'tuple' is not assigned and could be declared final |
| 528 |
src/org/jeecgframework/core/common/hibernate/qbc/AliasToBean.java |
54 |
Local variable 'root' could be declared final |
| 529 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
1 |
This class has a bunch of public methods and attributes |
| 530 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
30 |
This class has too many methods, consider refactoring it. |
| 531 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
30 |
Too many fields |
| 532 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
31 |
Document empty constructor |
| 533 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
44 |
Possible unsafe assignment to a non-final static field in a constructor. |
| 534 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
45 |
Possible unsafe assignment to a non-final static field in a constructor. |
| 535 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
51 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 536 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
51 |
Private field 'alias' could be made final; it is only initialized in the declaration or constructor. |
| 537 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
56 |
Parameter 'results' is not assigned and could be declared final |
| 538 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
64 |
Parameter 'total' is not assigned and could be declared final |
| 539 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
75 |
Parameter 'dataTables' is not assigned and could be declared final |
| 540 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
83 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 541 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
91 |
Parameter 'entityClass' is not assigned and could be declared final |
| 542 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
102 |
Avoid variables with short names like c |
| 543 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
108 |
Avoid variables with short names like c |
| 544 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
115 |
Avoid variables with short names like c |
| 545 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
128 |
Avoid variables with short names like dg |
| 546 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
145 |
Local variable 'fieldstring' could be declared final |
| 547 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
155 |
Overridable method 'addJqCriteria' called during object construction |
| 548 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
158 |
Avoid variables with short names like c |
| 549 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
194 |
Local variable 'search' could be declared final |
| 550 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
195 |
Local variable 'sortInfo' could be declared final |
| 551 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
196 |
Found 'DU'-anomaly for variable 'sColumns' (lines '196'-'215'). |
| 552 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
196 |
Local variable 'sColumns' could be declared final |
| 553 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
212 |
Do not add empty strings |
| 554 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
212 |
Do not add empty strings |
| 555 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
279 |
Found 'DD'-anomaly for variable 'c1' (lines '279'-'282'). |
| 556 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
280 |
Found 'DD'-anomaly for variable 'c2' (lines '280'-'284'). |
| 557 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
280 |
Found 'DU'-anomaly for variable 'c2' (lines '280'-'289'). |
| 558 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
281 |
Found 'DD'-anomaly for variable 'c3' (lines '281'-'285'). |
| 559 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
282 |
Found 'DU'-anomaly for variable 'c1' (lines '282'-'289'). |
| 560 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
286 |
Found 'DU'-anomaly for variable 'c1' (lines '286'-'289'). |
| 561 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
325 |
Avoid using short method names |
| 562 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
337 |
Avoid using short method names |
| 563 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
353 |
Avoid using short method names |
| 564 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
395 |
Local variable 'aliass' could be declared final |
| 565 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
417 |
Avoid using short method names |
| 566 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
418 |
Use equals() to compare strings instead of '==' or '!=' |
| 567 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
435 |
Use equals() to compare strings instead of '==' or '!=' |
| 568 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
452 |
Use equals() to compare strings instead of '==' or '!=' |
| 569 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
469 |
Avoid using short method names |
| 570 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
470 |
Use equals() to compare strings instead of '==' or '!=' |
| 571 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
487 |
Use equals() to compare strings instead of '==' or '!=' |
| 572 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
586 |
Found 'DD'-anomaly for variable 'c' (lines '586'-'589'). |
| 573 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
586 |
Found 'DD'-anomaly for variable 'c' (lines '586'-'591'). |
| 574 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
586 |
Found 'DD'-anomaly for variable 'c' (lines '586'-'593'). |
| 575 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
588 |
Avoid if (x != y) ..; else ..; |
| 576 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
588 |
Avoid using equals() to compare against null |
| 577 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
588 |
Avoid using equals() to compare against null |
| 578 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
588 |
Position literals first in String comparisons |
| 579 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
588 |
Position literals first in String comparisons |
| 580 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
590 |
Avoid if (x != y) ..; else ..; |
| 581 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
590 |
Avoid using equals() to compare against null |
| 582 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
590 |
Position literals first in String comparisons |
| 583 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
592 |
Avoid using equals() to compare against null |
| 584 |
src/org/jeecgframework/core/common/hibernate/qbc/CriteriaQuery.java |
592 |
Position literals first in String comparisons |
| 585 |
src/org/jeecgframework/core/common/hibernate/qbc/CriterionList.java |
24 |
Avoid variables with short names like p |
| 586 |
src/org/jeecgframework/core/common/hibernate/qbc/CriterionList.java |
28 |
Avoid variables with short names like p |
| 587 |
src/org/jeecgframework/core/common/hibernate/qbc/CriterionList.java |
32 |
Avoid variables with short names like p |
| 588 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
17 |
Avoid unused imports such as 'org.jeecgframework.core.util.ResourceUtil' |
| 589 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
17 |
Avoid unused imports such as 'org.jeecgframework.core.util.ResourceUtil' |
| 590 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
25 |
A class which only has private constructors should be final |
| 591 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
28 |
Avoid excessively long variable names like MIDDLE_SEPRATOR_CHAR |
| 592 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
30 |
Avoid excessively long variable names like SEPARATOR_TWO_SPACE |
| 593 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
55 |
Parameter 'pojoClazz' is not assigned and could be declared final |
| 594 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
56 |
Parameter 'alias' is not assigned and could be declared final |
| 595 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
56 |
Parameter 'startChar' is not assigned and could be declared final |
| 596 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
74 |
Parameter 'pojoClazz' is not assigned and could be declared final |
| 597 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
75 |
Parameter 'alias' is not assigned and could be declared final |
| 598 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
97 |
Local variable 'criteria' could be declared final |
| 599 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
98 |
Avoid empty if statements |
| 600 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
104 |
Avoid excessively long variable names like ALIAS_KEY_IN_REQUEST |
| 601 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
105 |
Avoid excessively long variable names like HAS_JOIN_TABLE_KEY_IN_REQUEST |
| 602 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
121 |
A getX() method which returns a boolean should be named isX() |
| 603 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
122 |
Local variable 'hasJoin' could be declared final |
| 604 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
152 |
Avoid excessively long variable names like tempProjectionList |
| 605 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
152 |
Local variable 'tempProjectionList' could be declared final |
| 606 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
154 |
Found 'DU'-anomaly for variable 'aliases' (lines '154'-'185'). |
| 607 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
154 |
Local variable 'aliases' could be declared final |
| 608 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
155 |
Found 'DD'-anomaly for variable 'hasJoniTable' (lines '155'-'162'). |
| 609 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
156 |
Found 'DU'-anomaly for variable 'rootAlias' (lines '156'-'185'). |
| 610 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
156 |
Local variable 'rootAlias' could be declared final |
| 611 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
162 |
Found 'DD'-anomaly for variable 'hasJoniTable' (lines '162'-'162'). |
| 612 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
180 |
Avoid if (x != y) ..; else ..; |
| 613 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
199 |
Avoid reassigning parameters such as 'currentStep' |
| 614 |
src/org/jeecgframework/core/common/hibernate/qbc/DetachedCriteriaUtil.java |
225 |
A method should have only one exit point, and that should be the last statement in the method |
| 615 |
src/org/jeecgframework/core/common/hibernate/qbc/HqlQuery.java |
27 |
Parameter 'rsults' is not assigned and could be declared final |
| 616 |
src/org/jeecgframework/core/common/hibernate/qbc/HqlQuery.java |
35 |
Parameter 'total' is not assigned and could be declared final |
| 617 |
src/org/jeecgframework/core/common/hibernate/qbc/HqlQuery.java |
43 |
Parameter 'class1' is not assigned and could be declared final |
| 618 |
src/org/jeecgframework/core/common/hibernate/qbc/HqlQuery.java |
50 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 619 |
src/org/jeecgframework/core/common/hibernate/qbc/HqlQuery.java |
58 |
Parameter 'field' is not assigned and could be declared final |
| 620 |
src/org/jeecgframework/core/common/hibernate/qbc/HqlQuery.java |
70 |
The user-supplied array 'param' is stored directly. |
| 621 |
src/org/jeecgframework/core/common/hibernate/qbc/HqlQuery.java |
86 |
Returning 'param' may expose an internal array. |
| 622 |
src/org/jeecgframework/core/common/hibernate/qbc/HqlQuery.java |
89 |
The user-supplied array 'param' is stored directly. |
| 623 |
src/org/jeecgframework/core/common/hibernate/qbc/HqlQuery.java |
89 |
The user-supplied array 'types' is stored directly. |
| 624 |
src/org/jeecgframework/core/common/hibernate/qbc/HqlQuery.java |
103 |
The user-supplied array 'param' is stored directly. |
| 625 |
src/org/jeecgframework/core/common/hibernate/qbc/HqlQuery.java |
147 |
Returning 'types' may expose an internal array. |
| 626 |
src/org/jeecgframework/core/common/hibernate/qbc/HqlQuery.java |
150 |
The user-supplied array 'types' is stored directly. |
| 627 |
src/org/jeecgframework/core/common/hibernate/qbc/PageList.java |
15 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 628 |
src/org/jeecgframework/core/common/hibernate/qbc/PageList.java |
16 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 629 |
src/org/jeecgframework/core/common/hibernate/qbc/PageList.java |
18 |
Document empty constructor |
| 630 |
src/org/jeecgframework/core/common/hibernate/qbc/PageList.java |
29 |
Parameter 'count' is not assigned and could be declared final |
| 631 |
src/org/jeecgframework/core/common/hibernate/qbc/PageList.java |
29 |
Parameter 'curPageNO' is not assigned and could be declared final |
| 632 |
src/org/jeecgframework/core/common/hibernate/qbc/PageList.java |
29 |
Parameter 'offset' is not assigned and could be declared final |
| 633 |
src/org/jeecgframework/core/common/hibernate/qbc/PageList.java |
29 |
Parameter 'resultList' is not assigned and could be declared final |
| 634 |
src/org/jeecgframework/core/common/hibernate/qbc/PageList.java |
29 |
Parameter 'toolBar' is not assigned and could be declared final |
| 635 |
src/org/jeecgframework/core/common/hibernate/qbc/PageList.java |
44 |
Avoid unused constructor parameters such as 'cq'. |
| 636 |
src/org/jeecgframework/core/common/hibernate/qbc/PageList.java |
44 |
Avoid variables with short names like cq |
| 637 |
src/org/jeecgframework/core/common/hibernate/qbc/PageList.java |
50 |
Avoid unused constructor parameters such as 'cq'. |
| 638 |
src/org/jeecgframework/core/common/hibernate/qbc/PageList.java |
50 |
Avoid variables with short names like cq |
| 639 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
9 |
The class 'Pager' has a Cyclomatic Complexity of 3 (Highest = 11). |
| 640 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
10 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 641 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
11 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 642 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
12 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 643 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
13 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 644 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
14 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 645 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
24 |
Parameter 'allCount' is not assigned and could be declared final |
| 646 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
24 |
Parameter 'curPagerNo' is not assigned and could be declared final |
| 647 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
24 |
Parameter 'map' is not assigned and could be declared final |
| 648 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
24 |
Parameter 'pageSize' is not assigned and could be declared final |
| 649 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
32 |
Document empty constructor |
| 650 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
87 |
Parameter 'url' is not assigned and could be declared final |
| 651 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
87 |
The method 'getToolBar' has a Cyclomatic Complexity of 11. |
| 652 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
87 |
The method getToolBar() has an NPath complexity of 2700 |
| 653 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
89 |
Found 'DD'-anomaly for variable 'temp' (lines '89'-'100'). |
| 654 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
89 |
Found 'DD'-anomaly for variable 'temp' (lines '89'-'98'). |
| 655 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
90 |
Found 'DU'-anomaly for variable 'conditions' (lines '90'-'121'). |
| 656 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
91 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 657 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
94 |
Prefer StringBuffer over += for concatenating strings |
| 658 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
97 |
String.indexOf(char) is faster than String.indexOf(String). |
| 659 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
103 |
Prefer StringBuffer over += for concatenating strings |
| 660 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
105 |
Avoid using if...else statements without curly braces |
| 661 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
105 |
Prefer StringBuffer over += for concatenating strings |
| 662 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
107 |
Prefer StringBuffer over += for concatenating strings |
| 663 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
108 |
Prefer StringBuffer over += for concatenating strings |
| 664 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
111 |
Avoid using if...else statements without curly braces |
| 665 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
118 |
Avoid using if...else statements without curly braces |
| 666 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
118 |
Avoid using if...else statements without curly braces |
| 667 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
118 |
Local variable 'begin' could be declared final |
| 668 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
118 |
Local variable 'end' could be declared final |
| 669 |
src/org/jeecgframework/core/common/hibernate/qbc/Pager.java |
146 |
Avoid using if...else statements without curly braces |
| 670 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
5 |
Avoid unused imports such as 'org.omg.CORBA.PUBLIC_MEMBER' |
| 671 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
5 |
Avoid unused imports such as 'org.omg.CORBA.PUBLIC_MEMBER' |
| 672 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
12 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 673 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
13 |
Avoid unnecessary constructors - the compiler will generate these for you |
| 674 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
13 |
Document empty constructor |
| 675 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
17 |
Avoid reassigning parameters such as 'curPageNO' |
| 676 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
17 |
Avoid reassigning parameters such as 'curPageNO' |
| 677 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
17 |
Parameter 'action' is not assigned and could be declared final |
| 678 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
17 |
Parameter 'allCounts' is not assigned and could be declared final |
| 679 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
17 |
Parameter 'form' is not assigned and could be declared final |
| 680 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
17 |
Parameter 'map' is not assigned and could be declared final |
| 681 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
17 |
Parameter 'pageSize' is not assigned and could be declared final |
| 682 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
18 |
Found 'DD'-anomaly for variable 'pager' (lines '18'-'25'). |
| 683 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
20 |
Avoid using if statements without curly braces |
| 684 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
22 |
Avoid using if statements without curly braces |
| 685 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
32 |
Avoid reassigning parameters such as 'curPageNO' |
| 686 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
32 |
Avoid reassigning parameters such as 'curPageNO' |
| 687 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
33 |
Found 'DD'-anomaly for variable 'pager' (lines '33'-'41'). |
| 688 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
35 |
Avoid using if statements without curly braces |
| 689 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
37 |
Avoid using if statements without curly braces |
| 690 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
48 |
Avoid reassigning parameters such as 'curPageNO' |
| 691 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
49 |
Found 'DD'-anomaly for variable 'offset' (lines '49'-'57'). |
| 692 |
src/org/jeecgframework/core/common/hibernate/qbc/PagerUtil.java |
51 |
Avoid using if statements without curly braces |
| 693 |
src/org/jeecgframework/core/common/model/common/DBTable.java |
6 |
Avoid unused imports such as 'com.thoughtworks.xstream.annotations.XStreamAlias' |
| 694 |
src/org/jeecgframework/core/common/model/common/DBTable.java |
6 |
Avoid unused imports such as 'com.thoughtworks.xstream.annotations.XStreamAlias' |
| 695 |
src/org/jeecgframework/core/common/model/common/DBTable.java |
13 |
Classes implementing Serializable should set a serialVersionUID |
| 696 |
src/org/jeecgframework/core/common/model/common/DBTable.java |
18 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 697 |
src/org/jeecgframework/core/common/model/common/DBTable.java |
23 |
Parameter 'tableName' is not assigned and could be declared final |
| 698 |
src/org/jeecgframework/core/common/model/common/DBTable.java |
29 |
Parameter 'entityName' is not assigned and could be declared final |
| 699 |
src/org/jeecgframework/core/common/model/common/DBTable.java |
35 |
Parameter 'tableTitle' is not assigned and could be declared final |
| 700 |
src/org/jeecgframework/core/common/model/common/DBTable.java |
41 |
Parameter 'class1' is not assigned and could be declared final |
| 701 |
src/org/jeecgframework/core/common/model/common/DBTable.java |
47 |
Parameter 'tableData' is not assigned and could be declared final |
| 702 |
src/org/jeecgframework/core/common/model/common/UploadFile.java |
38 |
Parameter 'response' is not assigned and could be declared final |
| 703 |
src/org/jeecgframework/core/common/model/common/UploadFile.java |
42 |
Parameter 'object' is not assigned and could be declared final |
| 704 |
src/org/jeecgframework/core/common/model/common/UploadFile.java |
42 |
Parameter 'request' is not assigned and could be declared final |
| 705 |
src/org/jeecgframework/core/common/model/common/UploadFile.java |
43 |
Local variable 'fileKey' could be declared final |
| 706 |
src/org/jeecgframework/core/common/model/common/UploadFile.java |
53 |
Parameter 'request' is not assigned and could be declared final |
| 707 |
src/org/jeecgframework/core/common/model/common/UploadFile.java |
58 |
Parameter 'request' is not assigned and could be declared final |
| 708 |
src/org/jeecgframework/core/common/model/common/UploadFile.java |
63 |
Document empty constructor |
| 709 |
src/org/jeecgframework/core/common/model/common/UploadFile.java |
189 |
Returning 'content' may expose an internal array. |
| 710 |
src/org/jeecgframework/core/common/model/common/UploadFile.java |
192 |
The user-supplied array 'content' is stored directly. |
| 711 |
src/org/jeecgframework/core/common/model/json/AjaxJson.java |
23 |
Parameter 'attributes' is not assigned and could be declared final |
| 712 |
src/org/jeecgframework/core/common/model/json/AjaxJson.java |
31 |
Parameter 'msg' is not assigned and could be declared final |
| 713 |
src/org/jeecgframework/core/common/model/json/AjaxJson.java |
39 |
Parameter 'obj' is not assigned and could be declared final |
| 714 |
src/org/jeecgframework/core/common/model/json/AjaxJson.java |
47 |
Parameter 'success' is not assigned and could be declared final |
| 715 |
src/org/jeecgframework/core/common/model/json/AjaxJson.java |
51 |
Local variable 'obj' could be declared final |
| 716 |
src/org/jeecgframework/core/common/model/json/ComboBox.java |
12 |
Avoid variables with short names like id |
| 717 |
src/org/jeecgframework/core/common/model/json/ComboBox.java |
19 |
Avoid variables with short names like id |
| 718 |
src/org/jeecgframework/core/common/model/json/ComboBox.java |
19 |
Parameter 'id' is not assigned and could be declared final |
| 719 |
src/org/jeecgframework/core/common/model/json/ComboBox.java |
27 |
Parameter 'text' is not assigned and could be declared final |
| 720 |
src/org/jeecgframework/core/common/model/json/ComboBox.java |
35 |
Parameter 'selected' is not assigned and could be declared final |
| 721 |
src/org/jeecgframework/core/common/model/json/ComboTree.java |
7 |
Classes implementing Serializable should set a serialVersionUID |
| 722 |
src/org/jeecgframework/core/common/model/json/ComboTree.java |
9 |
Avoid variables with short names like id |
| 723 |
src/org/jeecgframework/core/common/model/json/ComboTree.java |
21 |
Avoid variables with short names like id |
| 724 |
src/org/jeecgframework/core/common/model/json/ComboTree.java |
21 |
Parameter 'id' is not assigned and could be declared final |
| 725 |
src/org/jeecgframework/core/common/model/json/ComboTree.java |
29 |
Parameter 'text' is not assigned and could be declared final |
| 726 |
src/org/jeecgframework/core/common/model/json/ComboTree.java |
37 |
Parameter 'checked' is not assigned and could be declared final |
| 727 |
src/org/jeecgframework/core/common/model/json/ComboTree.java |
45 |
Parameter 'attributes' is not assigned and could be declared final |
| 728 |
src/org/jeecgframework/core/common/model/json/ComboTree.java |
53 |
Parameter 'children' is not assigned and could be declared final |
| 729 |
src/org/jeecgframework/core/common/model/json/DataGrid.java |
31 |
Parameter 'total' is not assigned and could be declared final |
| 730 |
src/org/jeecgframework/core/common/model/json/DataGrid.java |
43 |
Parameter 'results' is not assigned and could be declared final |
| 731 |
src/org/jeecgframework/core/common/model/json/DataGrid.java |
47 |
Parameter 'field' is not assigned and could be declared final |
| 732 |
src/org/jeecgframework/core/common/model/json/DataGrid.java |
55 |
Parameter 'page' is not assigned and could be declared final |
| 733 |
src/org/jeecgframework/core/common/model/json/DataGrid.java |
61 |
A method should have only one exit point, and that should be the last statement in the method |
| 734 |
src/org/jeecgframework/core/common/model/json/DataGrid.java |
66 |
Parameter 'rows' is not assigned and could be declared final |
| 735 |
src/org/jeecgframework/core/common/model/json/DataGridReturn.java |
13 |
Parameter 'rows' is not assigned and could be declared final |
| 736 |
src/org/jeecgframework/core/common/model/json/DataGridReturn.java |
13 |
Parameter 'total' is not assigned and could be declared final |
| 737 |
src/org/jeecgframework/core/common/model/json/DataGridReturn.java |
26 |
Parameter 'total' is not assigned and could be declared final |
| 738 |
src/org/jeecgframework/core/common/model/json/DataGridReturn.java |
34 |
Parameter 'rows' is not assigned and could be declared final |
| 739 |
src/org/jeecgframework/core/common/model/json/DataGridReturn.java |
42 |
Parameter 'footer' is not assigned and could be declared final |
| 740 |
src/org/jeecgframework/core/common/model/json/Highchart.java |
15 |
Parameter 'name' is not assigned and could be declared final |
| 741 |
src/org/jeecgframework/core/common/model/json/Highchart.java |
21 |
Parameter 'data' is not assigned and could be declared final |
| 742 |
src/org/jeecgframework/core/common/model/json/Highchart.java |
27 |
Parameter 'type' is not assigned and could be declared final |
| 743 |
src/org/jeecgframework/core/common/model/json/ImportFile.java |
26 |
Parameter 'object' is not assigned and could be declared final |
| 744 |
src/org/jeecgframework/core/common/model/json/ImportFile.java |
33 |
Parameter 'entityClass' is not assigned and could be declared final |
| 745 |
src/org/jeecgframework/core/common/model/json/ImportFile.java |
39 |
Parameter 'fileName' is not assigned and could be declared final |
| 746 |
src/org/jeecgframework/core/common/model/json/ImportFile.java |
45 |
Parameter 'entityName' is not assigned and could be declared final |
| 747 |
src/org/jeecgframework/core/common/model/json/ImportFile.java |
51 |
Parameter 'multipartRequest' is not assigned and could be declared final |
| 748 |
src/org/jeecgframework/core/common/model/json/ProjectDeclare.java |
14 |
Avoid excessively long variable names like undergroundconstructionarea |
| 749 |
src/org/jeecgframework/core/common/model/json/ProjectDeclare.java |
19 |
Parameter 'detialid' is not assigned and could be declared final |
| 750 |
src/org/jeecgframework/core/common/model/json/ProjectDeclare.java |
25 |
Parameter 'declareid' is not assigned and could be declared final |
| 751 |
src/org/jeecgframework/core/common/model/json/ProjectDeclare.java |
31 |
Parameter 'constructionunit' is not assigned and could be declared final |
| 752 |
src/org/jeecgframework/core/common/model/json/ProjectDeclare.java |
37 |
Parameter 'projectname' is not assigned and could be declared final |
| 753 |
src/org/jeecgframework/core/common/model/json/ProjectDeclare.java |
43 |
Parameter 'statusid' is not assigned and could be declared final |
| 754 |
src/org/jeecgframework/core/common/model/json/ProjectDeclare.java |
55 |
Avoid excessively long variable names like undergroundconstructionarea |
| 755 |
src/org/jeecgframework/core/common/model/json/ProjectInfo.java |
14 |
Parameter 'gid' is not assigned and could be declared final |
| 756 |
src/org/jeecgframework/core/common/model/json/ProjectInfo.java |
20 |
Parameter 'name' is not assigned and could be declared final |
| 757 |
src/org/jeecgframework/core/common/model/json/ProjectInfo.java |
26 |
Parameter 'geom' is not assigned and could be declared final |
| 758 |
src/org/jeecgframework/core/common/model/json/TreeGrid.java |
5 |
Classes implementing Serializable should set a serialVersionUID |
| 759 |
src/org/jeecgframework/core/common/model/json/TreeGrid.java |
6 |
Avoid variables with short names like id |
| 760 |
src/org/jeecgframework/core/common/model/json/TreeGrid.java |
21 |
Parameter 'order' is not assigned and could be declared final |
| 761 |
src/org/jeecgframework/core/common/model/json/TreeGrid.java |
27 |
Parameter 'operations' is not assigned and could be declared final |
| 762 |
src/org/jeecgframework/core/common/model/json/TreeGrid.java |
33 |
Parameter 'attributes' is not assigned and could be declared final |
| 763 |
src/org/jeecgframework/core/common/model/json/TreeGrid.java |
39 |
Parameter 'parentText' is not assigned and could be declared final |
| 764 |
src/org/jeecgframework/core/common/model/json/TreeGrid.java |
45 |
Parameter 'code' is not assigned and could be declared final |
| 765 |
src/org/jeecgframework/core/common/model/json/TreeGrid.java |
65 |
Avoid variables with short names like id |
| 766 |
src/org/jeecgframework/core/common/model/json/ValidForm.java |
17 |
Parameter 'status' is not assigned and could be declared final |
| 767 |
src/org/jeecgframework/core/common/model/json/ValidForm.java |
23 |
Parameter 'info' is not assigned and could be declared final |
| 768 |
src/org/jeecgframework/core/common/service/CommonService.java |
1 |
This class has a bunch of public methods and attributes |
| 769 |
src/org/jeecgframework/core/common/service/CommonService.java |
26 |
Avoid unused imports such as 'org.springframework.dao.DataAccessException' |
| 770 |
src/org/jeecgframework/core/common/service/CommonService.java |
26 |
Avoid unused imports such as 'org.springframework.dao.DataAccessException' |
| 771 |
src/org/jeecgframework/core/common/service/CommonService.java |
28 |
This class has too many methods, consider refactoring it. |
| 772 |
src/org/jeecgframework/core/common/service/CommonService.java |
34 |
Avoid modifiers which are implied by the context |
| 773 |
src/org/jeecgframework/core/common/service/CommonService.java |
36 |
Avoid modifiers which are implied by the context |
| 774 |
src/org/jeecgframework/core/common/service/CommonService.java |
38 |
Avoid modifiers which are implied by the context |
| 775 |
src/org/jeecgframework/core/common/service/CommonService.java |
40 |
Avoid modifiers which are implied by the context |
| 776 |
src/org/jeecgframework/core/common/service/CommonService.java |
42 |
Avoid modifiers which are implied by the context |
| 777 |
src/org/jeecgframework/core/common/service/CommonService.java |
54 |
Avoid variables with short names like id |
| 778 |
src/org/jeecgframework/core/common/service/CommonService.java |
64 |
Avoid variables with short names like id |
| 779 |
src/org/jeecgframework/core/common/service/CommonService.java |
99 |
Avoid variables with short names like id |
| 780 |
src/org/jeecgframework/core/common/service/CommonService.java |
165 |
Avoid variables with short names like cq |
| 781 |
src/org/jeecgframework/core/common/service/CommonService.java |
174 |
Avoid variables with short names like cq |
| 782 |
src/org/jeecgframework/core/common/service/CommonService.java |
262 |
Method names should not start with capital letters |
| 783 |
src/org/jeecgframework/core/common/service/impl/CommonServiceImpl.java |
1 |
This class has a bunch of public methods and attributes |
| 784 |
src/org/jeecgframework/core/common/service/impl/CommonServiceImpl.java |
35 |
This class has too many methods, consider refactoring it. |
| 785 |
src/org/jeecgframework/core/common/service/impl/CommonServiceImpl.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 786 |
src/org/jeecgframework/core/common/service/impl/CommonServiceImpl.java |
52 |
Parameter 'commonDao' is not assigned and could be declared final |
| 787 |
src/org/jeecgframework/core/common/service/impl/CommonServiceImpl.java |
57 |
Parameter 'entity' is not assigned and could be declared final |
| 788 |
src/org/jeecgframework/core/common/service/impl/CommonServiceImpl.java |
62 |
Parameter 'entity' is not assigned and could be declared final |
| 789 |
src/org/jeecgframework/core/common/service/impl/CommonServiceImpl.java |
68 |
Parameter 'entity' is not assigned and could be declared final |
| 790 |
src/org/jeecgframework/core/common/service/impl/CommonServiceImpl.java |
79 |
Parameter 'entities' is not assigned and could be declared final |
| 791 |
src/org/jeecgframework/core/common/service/impl/CommonServiceImpl.java |
86 |
Avoid variables with short names like id |
| 792 |
src/org/jeecgframework/core/common/service/impl/CommonServiceImpl.java |
105 |
Avoid variables with short names like id |
| 793 |
src/org/jeecgframework/core/common/service/impl/CommonServiceImpl.java |
153 |
Avoid variables with short names like id |
| 794 |
src/org/jeecgframework/core/common/service/impl/CommonServiceImpl.java |
221 |
Avoid variables with short names like cq |
| 795 |
src/org/jeecgframework/core/common/service/impl/CommonServiceImpl.java |
232 |
Avoid variables with short names like cq |
| 796 |
src/org/jeecgframework/core/common/service/impl/CommonServiceImpl.java |
349 |
Method names should not start with capital letters |
| 797 |
src/org/jeecgframework/core/common/service/impl/CommonServiceImpl.java |
368 |
Local variable 'sb' could be declared final |
| 798 |
src/org/jeecgframework/core/common/service/impl/CommonServiceImpl.java |
373 |
Local variable 'hql' could be declared final |
| 799 |
src/org/jeecgframework/core/constant/Globals.java |
14 |
Each class should declare at least one constructor |
| 800 |
src/org/jeecgframework/core/constant/Globals.java |
14 |
Too many fields |
| 801 |
src/org/jeecgframework/core/constant/Globals.java |
18 |
The field name indicates a constant but its modifiers do not |
| 802 |
src/org/jeecgframework/core/constant/Globals.java |
18 |
Variables should start with a lowercase character |
| 803 |
src/org/jeecgframework/core/constant/Globals.java |
18 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 804 |
src/org/jeecgframework/core/constant/Globals.java |
22 |
Variables should start with a lowercase character |
| 805 |
src/org/jeecgframework/core/constant/Globals.java |
22 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 806 |
src/org/jeecgframework/core/constant/Globals.java |
23 |
Variables should start with a lowercase character |
| 807 |
src/org/jeecgframework/core/constant/Globals.java |
29 |
Avoid excessively long variable names like Log_Leavel_WARRING |
| 808 |
src/org/jeecgframework/core/constant/Globals.java |
46 |
Avoid excessively long variable names like TypeGroup_Database |
| 809 |
src/org/jeecgframework/core/constant/Globals.java |
51 |
Avoid excessively long variable names like Function_Leave_ONE |
| 810 |
src/org/jeecgframework/core/constant/Globals.java |
52 |
Avoid excessively long variable names like Function_Leave_TWO |
| 811 |
src/org/jeecgframework/core/constant/Globals.java |
57 |
Avoid excessively long variable names like Function_Order_ONE |
| 812 |
src/org/jeecgframework/core/constant/Globals.java |
69 |
The field name indicates a constant but its modifiers do not |
| 813 |
src/org/jeecgframework/core/constant/Globals.java |
71 |
Local variable 'button_authority_jeecg' could be declared final |
| 814 |
src/org/jeecgframework/core/constant/WeiXinConstant.java |
3 |
Each class should declare at least one constructor |
| 815 |
src/org/jeecgframework/core/constant/WeiXinConstant.java |
5 |
The field name indicates a constant but its modifiers do not |
| 816 |
src/org/jeecgframework/core/constant/WeiXinConstant.java |
5 |
Variables should start with a lowercase character |
| 817 |
src/org/jeecgframework/core/constant/WeiXinConstant.java |
5 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 818 |
src/org/jeecgframework/core/constant/WeiXinConstant.java |
7 |
The field name indicates a constant but its modifiers do not |
| 819 |
src/org/jeecgframework/core/constant/WeiXinConstant.java |
7 |
Variables should start with a lowercase character |
| 820 |
src/org/jeecgframework/core/constant/WeiXinConstant.java |
7 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 821 |
src/org/jeecgframework/core/constant/WeiXinConstant.java |
9 |
The field name indicates a constant but its modifiers do not |
| 822 |
src/org/jeecgframework/core/constant/WeiXinConstant.java |
9 |
Variables should start with a lowercase character |
| 823 |
src/org/jeecgframework/core/constant/WeiXinConstant.java |
11 |
The field name indicates a constant but its modifiers do not |
| 824 |
src/org/jeecgframework/core/constant/WeiXinConstant.java |
13 |
The field name indicates a constant but its modifiers do not |
| 825 |
src/org/jeecgframework/core/constant/WeiXinConstant.java |
15 |
Avoid excessively long variable names like WALL_TYPE_WALLAUTHSTR |
| 826 |
src/org/jeecgframework/core/constant/WeiXinConstant.java |
17 |
Avoid excessively long variable names like WALL_TYPE_WALLAUDITED |
| 827 |
src/org/jeecgframework/core/constant/WeiXinConstant.java |
19 |
Avoid excessively long variable names like WALL_TYPE_WALLNOAUDIT |
| 828 |
src/org/jeecgframework/core/extend/datasource/DataSourceContextHolder.java |
6 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 829 |
src/org/jeecgframework/core/extend/datasource/DataSourceContextHolder.java |
8 |
Variables that are final and static should be in all caps. |
| 830 |
src/org/jeecgframework/core/extend/datasource/DataSourceContextHolder.java |
10 |
Parameter 'dataSourceType' is not assigned and could be declared final |
| 831 |
src/org/jeecgframework/core/extend/datasource/DynamicDataSource.java |
19 |
Local variable 'dataSourceType' could be declared final |
| 832 |
src/org/jeecgframework/core/extend/datasource/DynamicDataSource.java |
20 |
Consider simply returning the value vs storing it in local variable 'dataSourceType' |
| 833 |
src/org/jeecgframework/core/extend/datasource/DynamicDataSource.java |
24 |
Overriding method merely calls super |
| 834 |
src/org/jeecgframework/core/extend/datasource/DynamicDataSource.java |
24 |
Parameter 'dataSourceLookup' is not assigned and could be declared final |
| 835 |
src/org/jeecgframework/core/extend/datasource/DynamicDataSource.java |
29 |
Avoid excessively long variable names like defaultTargetDataSource |
| 836 |
src/org/jeecgframework/core/extend/datasource/DynamicDataSource.java |
29 |
Overriding method merely calls super |
| 837 |
src/org/jeecgframework/core/extend/datasource/DynamicDataSource.java |
29 |
Parameter 'defaultTargetDataSource' is not assigned and could be declared final |
| 838 |
src/org/jeecgframework/core/extend/datasource/DynamicDataSource.java |
34 |
Overriding method merely calls super |
| 839 |
src/org/jeecgframework/core/extend/datasource/DynamicDataSource.java |
34 |
Parameter 'targetDataSources' is not assigned and could be declared final |
| 840 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
28 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 841 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
28 |
The class 'HqlGenerateUtil' has a Cyclomatic Complexity of 7 (Highest = 27). |
| 842 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
36 |
Variables that are final and static should be in all caps. |
| 843 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
36 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 844 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
38 |
Variables that are final and static should be in all caps. |
| 845 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
38 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 846 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
58 |
Avoid variables with short names like cq |
| 847 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
58 |
Parameter 'cq' is not assigned and could be declared final |
| 848 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
58 |
Parameter 'searchObj' is not assigned and could be declared final |
| 849 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
71 |
Avoid variables with short names like cq |
| 850 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
71 |
Parameter 'cq' is not assigned and could be declared final |
| 851 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
71 |
Parameter 'parameterMap' is not assigned and could be declared final |
| 852 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
71 |
Parameter 'searchObj' is not assigned and could be declared final |
| 853 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
83 |
Avoid variables with short names like cq |
| 854 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
83 |
The method 'installHqlJoinAlias' has a Cyclomatic Complexity of 27. |
| 855 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
83 |
The method installHqlJoinAlias() has an NPath complexity of 14451 |
| 856 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
85 |
Local variable 'origDescriptors' could be declared final |
| 857 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
89 |
Found 'DU'-anomaly for variable 'aliasName' (lines '89'-'162'). |
| 858 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
89 |
Position literals first in String comparisons |
| 859 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
99 |
Found 'DD'-anomaly for variable 'beginValue' (lines '99'-'102'). |
| 860 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
99 |
Found 'DU'-anomaly for variable 'beginValue' (lines '99'-'162'). |
| 861 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
100 |
Found 'DD'-anomaly for variable 'endValue' (lines '100'-'105'). |
| 862 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
100 |
Found 'DU'-anomaly for variable 'endValue' (lines '100'-'162'). |
| 863 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
102 |
Found 'DD'-anomaly for variable 'beginValue' (lines '102'-'99'). |
| 864 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
102 |
Found 'DU'-anomaly for variable 'beginValue' (lines '102'-'162'). |
| 865 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
105 |
Found 'DD'-anomaly for variable 'endValue' (lines '105'-'100'). |
| 866 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
105 |
Found 'DU'-anomaly for variable 'endValue' (lines '105'-'162'). |
| 867 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
108 |
Found 'DU'-anomaly for variable 'value' (lines '108'-'162'). |
| 868 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
108 |
Local variable 'value' could be declared final |
| 869 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
119 |
Local variable 'format' could be declared final |
| 870 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
121 |
Found 'DD'-anomaly for variable 'userDefined' (lines '121'-'123'). |
| 871 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
121 |
Found 'DU'-anomaly for variable 'userDefined' (lines '121'-'162'). |
| 872 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
123 |
Avoid instantiating new objects inside loops |
| 873 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
123 |
Found 'DU'-anomaly for variable 'userDefined' (lines '123'-'162'). |
| 874 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
123 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 875 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
126 |
Avoid if (x != y) ..; else ..; |
| 876 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
127 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 877 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
129 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 878 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
131 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 879 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
135 |
Avoid if (x != y) ..; else ..; |
| 880 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
136 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 881 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
138 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 882 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
149 |
Local variable 'param' could be declared final |
| 883 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
159 |
Avoid printStackTrace(); use a logger call instead. |
| 884 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
183 |
The method 'itIsNotAllEmpty' has a Cyclomatic Complexity of 12. |
| 885 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
184 |
Found 'DD'-anomaly for variable 'isNotEmpty' (lines '184'-'200'). |
| 886 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
184 |
Found 'DD'-anomaly for variable 'isNotEmpty' (lines '184'-'208'). |
| 887 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
184 |
Found 'DD'-anomaly for variable 'isNotEmpty' (lines '184'-'213'). |
| 888 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
186 |
Local variable 'origDescriptors' could be declared final |
| 889 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
199 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 890 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
205 |
Avoid variables with short names like c |
| 891 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
207 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 892 |
src/org/jeecgframework/core/extend/hqlsearch/HqlGenerateUtil.java |
218 |
Avoid printStackTrace(); use a logger call instead. |
| 893 |
src/org/jeecgframework/core/extend/hqlsearch/parse/IHqlParse.java |
20 |
Avoid modifiers which are implied by the context |
| 894 |
src/org/jeecgframework/core/extend/hqlsearch/parse/IHqlParse.java |
20 |
Avoid variables with short names like cq |
| 895 |
src/org/jeecgframework/core/extend/hqlsearch/parse/IHqlParse.java |
31 |
Avoid modifiers which are implied by the context |
| 896 |
src/org/jeecgframework/core/extend/hqlsearch/parse/IHqlParse.java |
31 |
Avoid variables with short names like cq |
| 897 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/BigDecimalParseImpl.java |
12 |
Avoid variables with short names like cq |
| 898 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/BigDecimalParseImpl.java |
12 |
Parameter 'cq' is not assigned and could be declared final |
| 899 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/BigDecimalParseImpl.java |
12 |
Parameter 'name' is not assigned and could be declared final |
| 900 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/BigDecimalParseImpl.java |
12 |
Parameter 'value' is not assigned and could be declared final |
| 901 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/BigDecimalParseImpl.java |
13 |
Avoid using if statements without curly braces |
| 902 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/BigDecimalParseImpl.java |
19 |
Avoid variables with short names like cq |
| 903 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/BigDecimalParseImpl.java |
19 |
Parameter 'cq' is not assigned and could be declared final |
| 904 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/BigDecimalParseImpl.java |
19 |
Parameter 'name' is not assigned and could be declared final |
| 905 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/DoubleParseImpl.java |
10 |
Avoid variables with short names like cq |
| 906 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/DoubleParseImpl.java |
10 |
Parameter 'cq' is not assigned and could be declared final |
| 907 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/DoubleParseImpl.java |
10 |
Parameter 'name' is not assigned and could be declared final |
| 908 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/DoubleParseImpl.java |
10 |
Parameter 'value' is not assigned and could be declared final |
| 909 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/DoubleParseImpl.java |
11 |
Avoid using if statements without curly braces |
| 910 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/DoubleParseImpl.java |
16 |
Avoid variables with short names like cq |
| 911 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/DoubleParseImpl.java |
16 |
Parameter 'cq' is not assigned and could be declared final |
| 912 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/DoubleParseImpl.java |
16 |
Parameter 'name' is not assigned and could be declared final |
| 913 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/FloatParseImpl.java |
10 |
Avoid variables with short names like cq |
| 914 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/FloatParseImpl.java |
10 |
Parameter 'cq' is not assigned and could be declared final |
| 915 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/FloatParseImpl.java |
10 |
Parameter 'name' is not assigned and could be declared final |
| 916 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/FloatParseImpl.java |
10 |
Parameter 'value' is not assigned and could be declared final |
| 917 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/FloatParseImpl.java |
11 |
Avoid using if statements without curly braces |
| 918 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/FloatParseImpl.java |
16 |
Avoid variables with short names like cq |
| 919 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/FloatParseImpl.java |
16 |
Parameter 'cq' is not assigned and could be declared final |
| 920 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/FloatParseImpl.java |
16 |
Parameter 'name' is not assigned and could be declared final |
| 921 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/IntegerParseImpl.java |
17 |
Avoid variables with short names like cq |
| 922 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/IntegerParseImpl.java |
17 |
Parameter 'cq' is not assigned and could be declared final |
| 923 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/IntegerParseImpl.java |
17 |
Parameter 'name' is not assigned and could be declared final |
| 924 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/IntegerParseImpl.java |
17 |
Parameter 'value' is not assigned and could be declared final |
| 925 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/IntegerParseImpl.java |
18 |
Avoid using if statements without curly braces |
| 926 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/IntegerParseImpl.java |
23 |
Avoid variables with short names like cq |
| 927 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/IntegerParseImpl.java |
23 |
Parameter 'cq' is not assigned and could be declared final |
| 928 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/IntegerParseImpl.java |
23 |
Parameter 'name' is not assigned and could be declared final |
| 929 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/IntegerParseImpl.java |
31 |
Avoid using if statements without curly braces |
| 930 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/LongParseImpl.java |
10 |
Avoid variables with short names like cq |
| 931 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/LongParseImpl.java |
10 |
Parameter 'cq' is not assigned and could be declared final |
| 932 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/LongParseImpl.java |
10 |
Parameter 'name' is not assigned and could be declared final |
| 933 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/LongParseImpl.java |
10 |
Parameter 'value' is not assigned and could be declared final |
| 934 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/LongParseImpl.java |
11 |
Avoid using if statements without curly braces |
| 935 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/LongParseImpl.java |
16 |
Avoid variables with short names like cq |
| 936 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/LongParseImpl.java |
16 |
Parameter 'cq' is not assigned and could be declared final |
| 937 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/LongParseImpl.java |
16 |
Parameter 'name' is not assigned and could be declared final |
| 938 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/ShortParseImpl.java |
10 |
Avoid variables with short names like cq |
| 939 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/ShortParseImpl.java |
10 |
Parameter 'cq' is not assigned and could be declared final |
| 940 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/ShortParseImpl.java |
10 |
Parameter 'name' is not assigned and could be declared final |
| 941 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/ShortParseImpl.java |
10 |
Parameter 'value' is not assigned and could be declared final |
| 942 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/ShortParseImpl.java |
11 |
Avoid using if statements without curly braces |
| 943 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/ShortParseImpl.java |
16 |
Avoid variables with short names like cq |
| 944 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/ShortParseImpl.java |
16 |
Parameter 'cq' is not assigned and could be declared final |
| 945 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/ShortParseImpl.java |
16 |
Parameter 'name' is not assigned and could be declared final |
| 946 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
12 |
Avoid excessively long variable names like SUFFIX_ASTERISK_VAGUE |
| 947 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
15 |
Avoid excessively long variable names like SUFFIX_NOT_EQUAL_NULL |
| 948 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
18 |
Avoid variables with short names like cq |
| 949 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
18 |
Parameter 'cq' is not assigned and could be declared final |
| 950 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
18 |
Parameter 'name' is not assigned and could be declared final |
| 951 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
18 |
Parameter 'value' is not assigned and could be declared final |
| 952 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
19 |
Found 'DD'-anomaly for variable 'searchValue' (lines '19'-'20'). |
| 953 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
20 |
Avoid assignments in operands |
| 954 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
20 |
Found 'DU'-anomaly for variable 'searchValue' (lines '20'-'57'). |
| 955 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
20 |
Use equals() to compare strings instead of '==' or '!=' |
| 956 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
25 |
Local variable 'val' could be declared final |
| 957 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
29 |
Avoid variables with short names like vs |
| 958 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
29 |
Local variable 'vs' could be declared final |
| 959 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
44 |
Using equalsIgnoreCase() is cleaner than using toUpperCase/toLowerCase().equals(). |
| 960 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
44 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 961 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
60 |
Avoid variables with short names like cq |
| 962 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
60 |
Parameter 'cq' is not assigned and could be declared final |
| 963 |
src/org/jeecgframework/core/extend/hqlsearch/parse/impl/StringParseImpl.java |
60 |
Parameter 'name' is not assigned and could be declared final |
| 964 |
src/org/jeecgframework/core/extend/swftools/ConStant.java |
12 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 965 |
src/org/jeecgframework/core/extend/swftools/ConStant.java |
23 |
Avoid excessively long variable names like SWFTOOLS_PDF2SWF_PATH |
| 966 |
src/org/jeecgframework/core/extend/swftools/ConStant.java |
25 |
Avoid excessively long variable names like SWFTOOLS_GIF2SWF_PATH |
| 967 |
src/org/jeecgframework/core/extend/swftools/ConStant.java |
27 |
Avoid excessively long variable names like SWFTOOLS_PNG2SWF_PATH |
| 968 |
src/org/jeecgframework/core/extend/swftools/ConStant.java |
29 |
Avoid excessively long variable names like SWFTOOLS_JPEG2SWF_PATH |
| 969 |
src/org/jeecgframework/core/extend/swftools/ConStant.java |
31 |
Avoid excessively long variable names like SWFTOOLS_WAV2SWF_PATH |
| 970 |
src/org/jeecgframework/core/extend/swftools/ConStant.java |
36 |
The field name indicates a constant but its modifiers do not |
| 971 |
src/org/jeecgframework/core/extend/swftools/ConStant.java |
36 |
Variables should start with a lowercase character |
| 972 |
src/org/jeecgframework/core/extend/swftools/ConStant.java |
36 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 973 |
src/org/jeecgframework/core/extend/swftools/ConStant.java |
42 |
Parameter 'extend' is not assigned and could be declared final |
| 974 |
src/org/jeecgframework/core/extend/swftools/ConStant.java |
44 |
Local variable 'request' could be declared final |
| 975 |
src/org/jeecgframework/core/extend/swftools/ConStant.java |
46 |
Position literals first in String comparisons |
| 976 |
src/org/jeecgframework/core/extend/swftools/ConStant.java |
50 |
Position literals first in String comparisons |
| 977 |
src/org/jeecgframework/core/extend/swftools/ConStant.java |
54 |
Position literals first in String comparisons |
| 978 |
src/org/jeecgframework/core/extend/swftools/ConStant.java |
58 |
Position literals first in String comparisons |
| 979 |
src/org/jeecgframework/core/extend/swftools/ConStant.java |
62 |
Position literals first in String comparisons |
| 980 |
src/org/jeecgframework/core/extend/swftools/DocConverter.java |
5 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 981 |
src/org/jeecgframework/core/extend/swftools/DocConverter.java |
5 |
Private field 'pdfConverter' could be made final; it is only initialized in the declaration or constructor. |
| 982 |
src/org/jeecgframework/core/extend/swftools/DocConverter.java |
6 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 983 |
src/org/jeecgframework/core/extend/swftools/DocConverter.java |
6 |
Private field 'swfConverter' could be made final; it is only initialized in the declaration or constructor. |
| 984 |
src/org/jeecgframework/core/extend/swftools/DocConverter.java |
9 |
Parameter 'pdfConverter' is not assigned and could be declared final |
| 985 |
src/org/jeecgframework/core/extend/swftools/DocConverter.java |
9 |
Parameter 'swfConverter' is not assigned and could be declared final |
| 986 |
src/org/jeecgframework/core/extend/swftools/DocConverter.java |
16 |
Parameter 'extend' is not assigned and could be declared final |
| 987 |
src/org/jeecgframework/core/extend/swftools/DocConverter.java |
16 |
Parameter 'inputFile' is not assigned and could be declared final |
| 988 |
src/org/jeecgframework/core/extend/swftools/DocConverter.java |
16 |
Parameter 'swfFile' is not assigned and could be declared final |
| 989 |
src/org/jeecgframework/core/extend/swftools/DocConverter.java |
18 |
Local variable 'pdfFile' could be declared final |
| 990 |
src/org/jeecgframework/core/extend/swftools/DocConverter.java |
22 |
Avoid reassigning parameters such as 'extend' |
| 991 |
src/org/jeecgframework/core/extend/swftools/DocConverter.java |
24 |
Local variable 'pdfFile' could be declared final |
| 992 |
src/org/jeecgframework/core/extend/swftools/OpenOfficePDFConverter.java |
22 |
The field name indicates a constant but its modifiers do not |
| 993 |
src/org/jeecgframework/core/extend/swftools/OpenOfficePDFConverter.java |
22 |
Variables should start with a lowercase character |
| 994 |
src/org/jeecgframework/core/extend/swftools/OpenOfficePDFConverter.java |
22 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 995 |
src/org/jeecgframework/core/extend/swftools/OpenOfficePDFConverter.java |
25 |
Avoid reassigning parameters such as 'inputFile' |
| 996 |
src/org/jeecgframework/core/extend/swftools/OpenOfficePDFConverter.java |
25 |
Avoid reassigning parameters such as 'inputFile' |
| 997 |
src/org/jeecgframework/core/extend/swftools/OpenOfficePDFConverter.java |
25 |
Parameter 'extend' is not assigned and could be declared final |
| 998 |
src/org/jeecgframework/core/extend/swftools/OpenOfficePDFConverter.java |
25 |
Parameter 'pdfFile' is not assigned and could be declared final |
| 999 |
src/org/jeecgframework/core/extend/swftools/OpenOfficePDFConverter.java |
27 |
Position literals first in String comparisons |
| 1000 |
src/org/jeecgframework/core/extend/swftools/OpenOfficePDFConverter.java |
29 |
Local variable 'odtFile' could be declared final |
| 1001 |
src/org/jeecgframework/core/extend/swftools/OpenOfficePDFConverter.java |
39 |
Avoid printStackTrace(); use a logger call instead. |
| 1002 |
src/org/jeecgframework/core/extend/swftools/OpenOfficePDFConverter.java |
47 |
Local variable 'converter' could be declared final |
| 1003 |
src/org/jeecgframework/core/extend/swftools/OpenOfficePDFConverter.java |
60 |
Parameter 'extend' is not assigned and could be declared final |
| 1004 |
src/org/jeecgframework/core/extend/swftools/OpenOfficePDFConverter.java |
60 |
Parameter 'inputFile' is not assigned and could be declared final |
| 1005 |
src/org/jeecgframework/core/extend/swftools/OpenOfficePDFConverter.java |
62 |
Local variable 'pdfFile' could be declared final |
| 1006 |
src/org/jeecgframework/core/extend/swftools/OpenOfficePDFConverter.java |
68 |
Local variable 'configuration' could be declared final |
| 1007 |
src/org/jeecgframework/core/extend/swftools/PDFConverter.java |
9 |
Avoid modifiers which are implied by the context |
| 1008 |
src/org/jeecgframework/core/extend/swftools/PDFConverter.java |
10 |
Avoid modifiers which are implied by the context |
| 1009 |
src/org/jeecgframework/core/extend/swftools/SWFConverter.java |
4 |
Avoid modifiers which are implied by the context |
| 1010 |
src/org/jeecgframework/core/extend/swftools/SWFConverter.java |
5 |
Avoid modifiers which are implied by the context |
| 1011 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
12 |
Avoid unused private fields such as 'PDF2SWF_PATH'. |
| 1012 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
12 |
The field name indicates a constant but its modifiers do not |
| 1013 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
12 |
Variables should start with a lowercase character |
| 1014 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
12 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 1015 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
14 |
Parameter 'extend' is not assigned and could be declared final |
| 1016 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
14 |
Parameter 'inputFile' is not assigned and could be declared final |
| 1017 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
14 |
Parameter 'swfFile' is not assigned and could be declared final |
| 1018 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
15 |
Local variable 'pdfFile' could be declared final |
| 1019 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
16 |
Found 'DU'-anomaly for variable 'outFile' (lines '16'-'49'). |
| 1020 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
16 |
Local variable 'outFile' could be declared final |
| 1021 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
20 |
A method should have only one exit point, and that should be the last statement in the method |
| 1022 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
27 |
Local variable 'command' could be declared final |
| 1023 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
33 |
Local variable 'process' could be declared final |
| 1024 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
34 |
Local variable 'errorGobbler' could be declared final |
| 1025 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
44 |
Avoid printStackTrace(); use a logger call instead. |
| 1026 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
47 |
Avoid printStackTrace(); use a logger call instead. |
| 1027 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
50 |
Parameter 'extend' is not assigned and could be declared final |
| 1028 |
src/org/jeecgframework/core/extend/swftools/SWFToolsSWFConverter.java |
50 |
Parameter 'inputFile' is not assigned and could be declared final |
| 1029 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
8 |
To be compliant to J2EE, a webapp should not use any thread. |
| 1030 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
10 |
Avoid variables with short names like is |
| 1031 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
10 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 1032 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
10 |
Use explicit scoping instead of the default package private level |
| 1033 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
11 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 1034 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
11 |
Use explicit scoping instead of the default package private level |
| 1035 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
13 |
Avoid variables with short names like is |
| 1036 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
13 |
It is a good practice to call super() in a constructor |
| 1037 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
13 |
Parameter 'is' is not assigned and could be declared final |
| 1038 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
13 |
Parameter 'type' is not assigned and could be declared final |
| 1039 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
20 |
Local variable 'isr' could be declared final |
| 1040 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
21 |
Avoid variables with short names like br |
| 1041 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
21 |
Local variable 'br' could be declared final |
| 1042 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
22 |
Found 'DD'-anomaly for variable 'line' (lines '22'-'23'). |
| 1043 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
23 |
Avoid assignments in operands |
| 1044 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
23 |
Found 'DU'-anomaly for variable 'line' (lines '23'-'33'). |
| 1045 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
24 |
Position literals first in String comparisons |
| 1046 |
src/org/jeecgframework/core/extend/swftools/StreamGobbler.java |
31 |
Avoid printStackTrace(); use a logger call instead. |
| 1047 |
src/org/jeecgframework/core/extend/swftools/SwfToolsUtil.java |
9 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1048 |
src/org/jeecgframework/core/extend/swftools/SwfToolsUtil.java |
9 |
The class 'SwfToolsUtil' has a Cyclomatic Complexity of 11 (Highest = 10). |
| 1049 |
src/org/jeecgframework/core/extend/swftools/SwfToolsUtil.java |
10 |
Parameter 'inputFile' is not assigned and could be declared final |
| 1050 |
src/org/jeecgframework/core/extend/swftools/SwfToolsUtil.java |
10 |
The method 'convert2SWF' has a Cyclomatic Complexity of 10. |
| 1051 |
src/org/jeecgframework/core/extend/swftools/SwfToolsUtil.java |
12 |
Local variable 'extend' could be declared final |
| 1052 |
src/org/jeecgframework/core/extend/swftools/SwfToolsUtil.java |
13 |
Found 'DU'-anomaly for variable 'pdfConverter' (lines '13'-'25'). |
| 1053 |
src/org/jeecgframework/core/extend/swftools/SwfToolsUtil.java |
13 |
Local variable 'pdfConverter' could be declared final |
| 1054 |
src/org/jeecgframework/core/extend/swftools/SwfToolsUtil.java |
14 |
Found 'DU'-anomaly for variable 'swfConverter' (lines '14'-'25'). |
| 1055 |
src/org/jeecgframework/core/extend/swftools/SwfToolsUtil.java |
14 |
Local variable 'swfConverter' could be declared final |
| 1056 |
src/org/jeecgframework/core/extend/swftools/SwfToolsUtil.java |
15 |
Position literals first in String comparisons |
| 1057 |
src/org/jeecgframework/core/extend/swftools/SwfToolsUtil.java |
19 |
Position literals first in String comparisons |
| 1058 |
src/org/jeecgframework/core/extend/swftools/SwfToolsUtil.java |
19 |
Position literals first in String comparisons |
| 1059 |
src/org/jeecgframework/core/extend/swftools/SwfToolsUtil.java |
19 |
Position literals first in String comparisons |
| 1060 |
src/org/jeecgframework/core/extend/swftools/SwfToolsUtil.java |
19 |
Position literals first in String comparisons |
| 1061 |
src/org/jeecgframework/core/extend/swftools/SwfToolsUtil.java |
21 |
Local variable 'converter' could be declared final |
| 1062 |
src/org/jeecgframework/core/extend/template/Caculator.java |
13 |
The class 'Caculator' has a Cyclomatic Complexity of 7 (Highest = 21). |
| 1063 |
src/org/jeecgframework/core/extend/template/Caculator.java |
23 |
Each class should declare at least one constructor |
| 1064 |
src/org/jeecgframework/core/extend/template/Caculator.java |
25 |
Use explicit scoping instead of the default package private level |
| 1065 |
src/org/jeecgframework/core/extend/template/Caculator.java |
26 |
Use explicit scoping instead of the default package private level |
| 1066 |
src/org/jeecgframework/core/extend/template/Caculator.java |
28 |
Use explicit scoping instead of the default package private level |
| 1067 |
src/org/jeecgframework/core/extend/template/Caculator.java |
29 |
Use explicit scoping instead of the default package private level |
| 1068 |
src/org/jeecgframework/core/extend/template/Caculator.java |
32 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 1069 |
src/org/jeecgframework/core/extend/template/Caculator.java |
32 |
Use explicit scoping instead of the default package private level |
| 1070 |
src/org/jeecgframework/core/extend/template/Caculator.java |
33 |
Avoid using implementation types like 'Vector'; use the interface instead |
| 1071 |
src/org/jeecgframework/core/extend/template/Caculator.java |
33 |
Avoid using implementation types like 'Vector'; use the interface instead |
| 1072 |
src/org/jeecgframework/core/extend/template/Caculator.java |
33 |
Consider replacing this Vector with the newer java.util.List |
| 1073 |
src/org/jeecgframework/core/extend/template/Caculator.java |
33 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 1074 |
src/org/jeecgframework/core/extend/template/Caculator.java |
33 |
Use ArrayList instead of Vector |
| 1075 |
src/org/jeecgframework/core/extend/template/Caculator.java |
37 |
Avoid unnecessary constructors - the compiler will generate these for you |
| 1076 |
src/org/jeecgframework/core/extend/template/Caculator.java |
44 |
The method 'calc' has a Cyclomatic Complexity of 11. |
| 1077 |
src/org/jeecgframework/core/extend/template/Caculator.java |
48 |
Local variable 'tmp' could be declared final |
| 1078 |
src/org/jeecgframework/core/extend/template/Caculator.java |
51 |
Avoid variables with short names like it |
| 1079 |
src/org/jeecgframework/core/extend/template/Caculator.java |
51 |
Local variable 'it' could be declared final |
| 1080 |
src/org/jeecgframework/core/extend/template/Caculator.java |
53 |
Avoid if (x != y) ..; else ..; |
| 1081 |
src/org/jeecgframework/core/extend/template/Caculator.java |
59 |
Found 'DD'-anomaly for variable 'op2' (lines '59'-'59'). |
| 1082 |
src/org/jeecgframework/core/extend/template/Caculator.java |
59 |
Found 'DU'-anomaly for variable 'op2' (lines '59'-'117'). |
| 1083 |
src/org/jeecgframework/core/extend/template/Caculator.java |
59 |
Local variable 'op2' could be declared final |
| 1084 |
src/org/jeecgframework/core/extend/template/Caculator.java |
60 |
Found 'DD'-anomaly for variable 'op1' (lines '60'-'60'). |
| 1085 |
src/org/jeecgframework/core/extend/template/Caculator.java |
60 |
Found 'DD'-anomaly for variable 'op1' (lines '60'-'63'). |
| 1086 |
src/org/jeecgframework/core/extend/template/Caculator.java |
60 |
Found 'DU'-anomaly for variable 'op1' (lines '60'-'117'). |
| 1087 |
src/org/jeecgframework/core/extend/template/Caculator.java |
63 |
Found 'DD'-anomaly for variable 'op1' (lines '63'-'60'). |
| 1088 |
src/org/jeecgframework/core/extend/template/Caculator.java |
63 |
Found 'DU'-anomaly for variable 'op1' (lines '63'-'117'). |
| 1089 |
src/org/jeecgframework/core/extend/template/Caculator.java |
65 |
Avoid instantiating new objects inside loops |
| 1090 |
src/org/jeecgframework/core/extend/template/Caculator.java |
65 |
Local variable 'newItem' could be declared final |
| 1091 |
src/org/jeecgframework/core/extend/template/Caculator.java |
67 |
Switch statements should have a default label |
| 1092 |
src/org/jeecgframework/core/extend/template/Caculator.java |
83 |
Avoid instantiating new objects inside loops |
| 1093 |
src/org/jeecgframework/core/extend/template/Caculator.java |
83 |
Avoid unnecessary temporaries when converting primitives to Strings |
| 1094 |
src/org/jeecgframework/core/extend/template/Caculator.java |
101 |
Local variable 'result' could be declared final |
| 1095 |
src/org/jeecgframework/core/extend/template/Caculator.java |
118 |
Avoid variables with short names like d |
| 1096 |
src/org/jeecgframework/core/extend/template/Caculator.java |
118 |
Parameter 'd' is not assigned and could be declared final |
| 1097 |
src/org/jeecgframework/core/extend/template/Caculator.java |
120 |
Avoid variables with short names like c |
| 1098 |
src/org/jeecgframework/core/extend/template/Caculator.java |
120 |
Found 'DD'-anomaly for variable 'c' (lines '120'-'124'). |
| 1099 |
src/org/jeecgframework/core/extend/template/Caculator.java |
120 |
Found 'DD'-anomaly for variable 'c' (lines '120'-'128'). |
| 1100 |
src/org/jeecgframework/core/extend/template/Caculator.java |
121 |
Avoid variables with short names like b |
| 1101 |
src/org/jeecgframework/core/extend/template/Caculator.java |
122 |
Avoid if (x != y) ..; else ..; |
| 1102 |
src/org/jeecgframework/core/extend/template/Caculator.java |
125 |
A method should have only one exit point, and that should be the last statement in the method |
| 1103 |
src/org/jeecgframework/core/extend/template/Caculator.java |
143 |
Avoid really long methods. |
| 1104 |
src/org/jeecgframework/core/extend/template/Caculator.java |
143 |
Avoid variables with short names like in |
| 1105 |
src/org/jeecgframework/core/extend/template/Caculator.java |
143 |
Found 'UR'-anomaly for variable 'j' (lines '143'-'218'). |
| 1106 |
src/org/jeecgframework/core/extend/template/Caculator.java |
143 |
Parameter 'in' is not assigned and could be declared final |
| 1107 |
src/org/jeecgframework/core/extend/template/Caculator.java |
143 |
The method 'transInfixToPosfix' has a Cyclomatic Complexity of 21. |
| 1108 |
src/org/jeecgframework/core/extend/template/Caculator.java |
147 |
Found 'DU'-anomaly for variable 'buffer' (lines '147'-'247'). |
| 1109 |
src/org/jeecgframework/core/extend/template/Caculator.java |
151 |
Avoid instantiating new objects inside loops |
| 1110 |
src/org/jeecgframework/core/extend/template/Caculator.java |
191 |
Found 'DD'-anomaly for variable 'meetClose' (lines '191'-'204'). |
| 1111 |
src/org/jeecgframework/core/extend/template/Caculator.java |
211 |
Avoid throwing raw exception types. |
| 1112 |
src/org/jeecgframework/core/extend/template/Caculator.java |
217 |
Avoid using for statements without curly braces |
| 1113 |
src/org/jeecgframework/core/extend/template/Caculator.java |
220 |
Avoid throwing raw exception types. |
| 1114 |
src/org/jeecgframework/core/extend/template/Caculator.java |
224 |
Avoid instantiating new objects inside loops |
| 1115 |
src/org/jeecgframework/core/extend/template/Caculator.java |
227 |
Avoid printStackTrace(); use a logger call instead. |
| 1116 |
src/org/jeecgframework/core/extend/template/Caculator.java |
232 |
Found 'DU'-anomaly for variable 'i' (lines '232'-'247'). |
| 1117 |
src/org/jeecgframework/core/extend/template/Caculator.java |
251 |
Parameter 'buffer' is not assigned and could be declared final |
| 1118 |
src/org/jeecgframework/core/extend/template/Caculator.java |
251 |
Parameter 'newItem' is not assigned and could be declared final |
| 1119 |
src/org/jeecgframework/core/extend/template/Caculator.java |
273 |
Parameter 'args' is not assigned and could be declared final |
| 1120 |
src/org/jeecgframework/core/extend/template/DataSourceMap.java |
11 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1121 |
src/org/jeecgframework/core/extend/template/DataSourceMap.java |
15 |
Avoid variables with short names like is |
| 1122 |
src/org/jeecgframework/core/extend/template/DataSourceMap.java |
16 |
Avoid variables with short names like p |
| 1123 |
src/org/jeecgframework/core/extend/template/DataSourceMap.java |
16 |
Local variable 'p' could be declared final |
| 1124 |
src/org/jeecgframework/core/extend/template/DataSourceMap.java |
20 |
Avoid variables with short names like ps |
| 1125 |
src/org/jeecgframework/core/extend/template/DataSourceMap.java |
20 |
Local variable 'ps' could be declared final |
| 1126 |
src/org/jeecgframework/core/extend/template/DataSourceMap.java |
21 |
Local variable 'iterator' could be declared final |
| 1127 |
src/org/jeecgframework/core/extend/template/DataSourceMap.java |
22 |
Local variable 'entry' could be declared final |
| 1128 |
src/org/jeecgframework/core/extend/template/DataSourceMap.java |
26 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 1129 |
src/org/jeecgframework/core/extend/template/DataSourceMap.java |
28 |
Avoid printStackTrace(); use a logger call instead. |
| 1130 |
src/org/jeecgframework/core/extend/template/DataSourceMap.java |
32 |
Local variable 'datadsm' could be declared final |
| 1131 |
src/org/jeecgframework/core/extend/template/Template.java |
8 |
Avoid using implementation types like 'HashMap'; use the interface instead |
| 1132 |
src/org/jeecgframework/core/extend/template/Template.java |
8 |
Avoid using implementation types like 'HashMap'; use the interface instead |
| 1133 |
src/org/jeecgframework/core/extend/template/Template.java |
24 |
Parameter 'dataSet' is not assigned and could be declared final |
| 1134 |
src/org/jeecgframework/core/extend/template/Template.java |
32 |
Parameter 'templatePath' is not assigned and could be declared final |
| 1135 |
src/org/jeecgframework/core/extend/template/Template.java |
40 |
Parameter 'dataSourceMap' is not assigned and could be declared final |
| 1136 |
src/org/jeecgframework/core/extend/template/Template.java |
52 |
Parameter 'templateClass' is not assigned and could be declared final |
| 1137 |
src/org/jeecgframework/core/extend/template/Template.java |
56 |
Parameter 'parameterName' is not assigned and could be declared final |
| 1138 |
src/org/jeecgframework/core/extend/template/Template.java |
100 |
Avoid using implementation types like 'HashMap'; use the interface instead |
| 1139 |
src/org/jeecgframework/core/extend/template/Template.java |
100 |
Avoid using implementation types like 'HashMap'; use the interface instead |
| 1140 |
src/org/jeecgframework/core/extend/template/Template.java |
104 |
Avoid using implementation types like 'HashMap'; use the interface instead |
| 1141 |
src/org/jeecgframework/core/extend/template/Template.java |
104 |
Avoid using implementation types like 'HashMap'; use the interface instead |
| 1142 |
src/org/jeecgframework/core/groovy/GroovyBinding.java |
14 |
Document empty constructor |
| 1143 |
src/org/jeecgframework/core/groovy/GroovyBinding.java |
14 |
It is a good practice to call super() in a constructor |
| 1144 |
src/org/jeecgframework/core/groovy/GroovyBinding.java |
17 |
It is a good practice to call super() in a constructor |
| 1145 |
src/org/jeecgframework/core/groovy/GroovyBinding.java |
17 |
Parameter 'variables' is not assigned and could be declared final |
| 1146 |
src/org/jeecgframework/core/groovy/GroovyBinding.java |
21 |
Parameter 'args' is not assigned and could be declared final |
| 1147 |
src/org/jeecgframework/core/groovy/GroovyBinding.java |
23 |
Overridable method 'setVariable' called during object construction |
| 1148 |
src/org/jeecgframework/core/groovy/GroovyBinding.java |
26 |
Parameter 'name' is not assigned and could be declared final |
| 1149 |
src/org/jeecgframework/core/groovy/GroovyBinding.java |
27 |
Local variable 'map' could be declared final |
| 1150 |
src/org/jeecgframework/core/groovy/GroovyBinding.java |
28 |
Found 'DD'-anomaly for variable 'result' (lines '28'-'30'). |
| 1151 |
src/org/jeecgframework/core/groovy/GroovyBinding.java |
28 |
Found 'DD'-anomaly for variable 'result' (lines '28'-'32'). |
| 1152 |
src/org/jeecgframework/core/groovy/GroovyBinding.java |
38 |
Parameter 'name' is not assigned and could be declared final |
| 1153 |
src/org/jeecgframework/core/groovy/GroovyBinding.java |
38 |
Parameter 'value' is not assigned and could be declared final |
| 1154 |
src/org/jeecgframework/core/groovy/GroovyBinding.java |
40 |
Local variable 'vars' could be declared final |
| 1155 |
src/org/jeecgframework/core/groovy/GroovyBinding.java |
50 |
A method should have only one exit point, and that should be the last statement in the method |
| 1156 |
src/org/jeecgframework/core/groovy/GroovyParse.java |
14 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1157 |
src/org/jeecgframework/core/groovy/GroovyParse.java |
18 |
Parameter 'formula' is not assigned and could be declared final |
| 1158 |
src/org/jeecgframework/core/groovy/GroovyParse.java |
18 |
Parameter 'map' is not assigned and could be declared final |
| 1159 |
src/org/jeecgframework/core/groovy/GroovyParse.java |
19 |
Local variable 'context' could be declared final |
| 1160 |
src/org/jeecgframework/core/groovy/GroovyParse.java |
20 |
Avoid excessively long variable names like groovyScriptEngine |
| 1161 |
src/org/jeecgframework/core/groovy/GroovyParse.java |
20 |
Local variable 'groovyScriptEngine' could be declared final |
| 1162 |
src/org/jeecgframework/core/groovy/GroovyParse.java |
21 |
Local variable 'value' could be declared final |
| 1163 |
src/org/jeecgframework/core/groovy/GroovyParse.java |
22 |
Consider simply returning the value vs storing it in local variable 'value' |
| 1164 |
src/org/jeecgframework/core/groovy/GroovyParse.java |
25 |
Parameter 'args' is not assigned and could be declared final |
| 1165 |
src/org/jeecgframework/core/groovy/GroovyParse.java |
26 |
Local variable 'formula' could be declared final |
| 1166 |
src/org/jeecgframework/core/groovy/GroovyParse.java |
27 |
Local variable 'map' could be declared final |
| 1167 |
src/org/jeecgframework/core/groovy/GroovyParse.java |
30 |
Avoid excessively long variable names like groovyScriptEngine |
| 1168 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
20 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 1169 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
20 |
Logger should be defined private static final and have the correct class |
| 1170 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
20 |
Private field 'logger' could be made final; it is only initialized in the declaration or constructor. |
| 1171 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
21 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 1172 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
23 |
Parameter 'script' is not assigned and could be declared final |
| 1173 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
23 |
Parameter 'vars' is not assigned and could be declared final |
| 1174 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
27 |
Parameter 'shell' is not assigned and could be declared final |
| 1175 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
27 |
Parameter 'vars' is not assigned and could be declared final |
| 1176 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
28 |
Avoid using if statements without curly braces |
| 1177 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
30 |
Local variable 'set' could be declared final |
| 1178 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
31 |
Local variable 'it' could be declared final |
| 1179 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
32 |
Local variable 'entry' could be declared final |
| 1180 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
38 |
Parameter 'script' is not assigned and could be declared final |
| 1181 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
39 |
Local variable 'rtn' could be declared final |
| 1182 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
44 |
Local variable 'str' could be declared final |
| 1183 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
45 |
Consider simply returning the value vs storing it in local variable 'str' |
| 1184 |
src/org/jeecgframework/core/groovy/GroovyScriptEngine.java |
58 |
Avoid reassigning parameters such as 'script' |
| 1185 |
src/org/jeecgframework/core/groovy/IScript.java |
9 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 1186 |
src/org/jeecgframework/core/groovy/IScript.java |
9 |
This abstract class does not have any abstract methods |
| 1187 |
src/org/jeecgframework/core/groovy/impl/FormulaImpl.java |
11 |
Avoid variables with short names like a |
| 1188 |
src/org/jeecgframework/core/groovy/impl/FormulaImpl.java |
11 |
Avoid variables with short names like b |
| 1189 |
src/org/jeecgframework/core/groovy/impl/FormulaImpl.java |
11 |
Parameter 'a' is not assigned and could be declared final |
| 1190 |
src/org/jeecgframework/core/groovy/impl/FormulaImpl.java |
11 |
Parameter 'b' is not assigned and could be declared final |
| 1191 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
34 |
The class 'AuthInterceptor' has a Cyclomatic Complexity of 3 (Highest = 12). |
| 1192 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
36 |
Avoid unused private fields such as 'logger'. |
| 1193 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
36 |
Variables that are final and static should be in all caps. |
| 1194 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
45 |
Parameter 'excludeUrls' is not assigned and could be declared final |
| 1195 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
54 |
Parameter 'systemService' is not assigned and could be declared final |
| 1196 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
61 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1197 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
61 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1198 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
61 |
Document empty method |
| 1199 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
61 |
Parameter 'exception' is not assigned and could be declared final |
| 1200 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
61 |
Parameter 'object' is not assigned and could be declared final |
| 1201 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
61 |
Parameter 'request' is not assigned and could be declared final |
| 1202 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
64 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1203 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
64 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1204 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
64 |
Document empty method |
| 1205 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
71 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1206 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
71 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1207 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
71 |
The method 'preHandle' has a Cyclomatic Complexity of 12. |
| 1208 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
72 |
Local variable 'requestPath' could be declared final |
| 1209 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
74 |
Local variable 'session' could be declared final |
| 1210 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
77 |
Found 'DU'-anomaly for variable 'client' (lines '77'-'121'). |
| 1211 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
81 |
A method should have only one exit point, and that should be the last statement in the method |
| 1212 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
83 |
Avoid if (x != y) ..; else ..; |
| 1213 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
87 |
A method should have only one exit point, and that should be the last statement in the method |
| 1214 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
89 |
Local variable 'functionId' could be declared final |
| 1215 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
91 |
Local variable 'operationCodes' could be declared final |
| 1216 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
96 |
Local variable 'allOperation' could be declared final |
| 1217 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
99 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 1218 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
116 |
A method should have only one exit point, and that should be the last statement in the method |
| 1219 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
122 |
The method 'hasMenuAuth' has a Cyclomatic Complexity of 10. |
| 1220 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
123 |
Found 'DU'-anomaly for variable 'requestPath' (lines '123'-'155'). |
| 1221 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
125 |
Found 'DD'-anomaly for variable 'bMgrUrl' (lines '125'-'131'). |
| 1222 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
136 |
A method should have only one exit point, and that should be the last statement in the method |
| 1223 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
141 |
A method should have only one exit point, and that should be the last statement in the method |
| 1224 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
150 |
Avoid unnecessary if..then..else statements when returning a boolean |
| 1225 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
150 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 1226 |
src/org/jeecgframework/core/interceptors/AuthInterceptor.java |
168 |
Avoid unused private methods such as 'forward(HttpServletRequest,HttpServletResponse)'. |
| 1227 |
src/org/jeecgframework/core/interceptors/DateConvertEditor.java |
13 |
The class 'DateConvertEditor' has a Cyclomatic Complexity of 10 (Highest = 9). |
| 1228 |
src/org/jeecgframework/core/interceptors/DateConvertEditor.java |
14 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 1229 |
src/org/jeecgframework/core/interceptors/DateConvertEditor.java |
14 |
Private field 'datetimeFormat' could be made final; it is only initialized in the declaration or constructor. |
| 1230 |
src/org/jeecgframework/core/interceptors/DateConvertEditor.java |
14 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 1231 |
src/org/jeecgframework/core/interceptors/DateConvertEditor.java |
16 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 1232 |
src/org/jeecgframework/core/interceptors/DateConvertEditor.java |
16 |
Private field 'dateFormat' could be made final; it is only initialized in the declaration or constructor. |
| 1233 |
src/org/jeecgframework/core/interceptors/DateConvertEditor.java |
16 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 1234 |
src/org/jeecgframework/core/interceptors/DateConvertEditor.java |
17 |
Avoid reassigning parameters such as 'text' |
| 1235 |
src/org/jeecgframework/core/interceptors/DateConvertEditor.java |
20 |
String.indexOf(char) is faster than String.indexOf(String). |
| 1236 |
src/org/jeecgframework/core/interceptors/DateConvertEditor.java |
22 |
String.indexOf(char) is faster than String.indexOf(String). |
| 1237 |
src/org/jeecgframework/core/interceptors/DateConvertEditor.java |
24 |
String.indexOf(char) is faster than String.indexOf(String). |
| 1238 |
src/org/jeecgframework/core/interceptors/DateConvertEditor.java |
32 |
Local variable 'iae' could be declared final |
| 1239 |
src/org/jeecgframework/core/interceptors/DateConvertEditor.java |
35 |
New exception is thrown in catch block, original stack trace may be lost |
| 1240 |
src/org/jeecgframework/core/interceptors/EncodingInterceptor.java |
20 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1241 |
src/org/jeecgframework/core/interceptors/EncodingInterceptor.java |
20 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1242 |
src/org/jeecgframework/core/interceptors/EncodingInterceptor.java |
20 |
Document empty method |
| 1243 |
src/org/jeecgframework/core/interceptors/EncodingInterceptor.java |
20 |
Parameter 'exception' is not assigned and could be declared final |
| 1244 |
src/org/jeecgframework/core/interceptors/EncodingInterceptor.java |
20 |
Parameter 'object' is not assigned and could be declared final |
| 1245 |
src/org/jeecgframework/core/interceptors/EncodingInterceptor.java |
20 |
Parameter 'request' is not assigned and could be declared final |
| 1246 |
src/org/jeecgframework/core/interceptors/EncodingInterceptor.java |
20 |
Parameter 'response' is not assigned and could be declared final |
| 1247 |
src/org/jeecgframework/core/interceptors/EncodingInterceptor.java |
24 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1248 |
src/org/jeecgframework/core/interceptors/EncodingInterceptor.java |
24 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1249 |
src/org/jeecgframework/core/interceptors/EncodingInterceptor.java |
24 |
Document empty method |
| 1250 |
src/org/jeecgframework/core/interceptors/EncodingInterceptor.java |
24 |
Parameter 'modelAndView' is not assigned and could be declared final |
| 1251 |
src/org/jeecgframework/core/interceptors/EncodingInterceptor.java |
31 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1252 |
src/org/jeecgframework/core/interceptors/EncodingInterceptor.java |
31 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1253 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
6 |
Avoid unused imports such as 'javax.servlet.http.HttpServletRequest' |
| 1254 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
6 |
Avoid unused imports such as 'javax.servlet.http.HttpServletRequest' |
| 1255 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
21 |
The class 'LogInterceptor' has a Cyclomatic Complexity of 11 (Highest = 10). |
| 1256 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
23 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1257 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
23 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1258 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
23 |
Parameter 'joinPoint' is not assigned and could be declared final |
| 1259 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
23 |
The method 'beforeMethod' has a Cyclomatic Complexity of 10. |
| 1260 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
24 |
Local variable 'temp' could be declared final |
| 1261 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
25 |
Local variable 'longTemp' could be declared final |
| 1262 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
27 |
Local variable 'classType' could be declared final |
| 1263 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
28 |
Local variable 'methodName' could be declared final |
| 1264 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
29 |
Local variable 'className' could be declared final |
| 1265 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
31 |
Found 'DU'-anomaly for variable 'sArgs' (lines '31'-'66'). |
| 1266 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
31 |
String.indexOf(char) is faster than String.indexOf(String). |
| 1267 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
31 |
This statement may have some unnecessary parentheses |
| 1268 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
40 |
String.indexOf(char) is faster than String.indexOf(String). |
| 1269 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
55 |
String.indexOf(char) is faster than String.indexOf(String). |
| 1270 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
56 |
String.indexOf(char) is faster than String.indexOf(String). |
| 1271 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
60 |
Avoid unused local variables such as 'operateModelNm'. |
| 1272 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
60 |
Found 'DU'-anomaly for variable 'operateModelNm' (lines '60'-'66'). |
| 1273 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
61 |
Avoid unused local variables such as 'operateDescribe'. |
| 1274 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
61 |
Found 'DU'-anomaly for variable 'operateDescribe' (lines '61'-'66'). |
| 1275 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
62 |
Avoid unused local variables such as 'operateFuncNm'. |
| 1276 |
src/org/jeecgframework/core/interceptors/LogInterceptor.java |
62 |
Found 'DU'-anomaly for variable 'operateFuncNm' (lines '62'-'66'). |
| 1277 |
src/org/jeecgframework/core/interceptors/MyWebBinding.java |
11 |
Parameter 'binder' is not assigned and could be declared final |
| 1278 |
src/org/jeecgframework/core/interceptors/MyWebBinding.java |
11 |
Parameter 'request' is not assigned and could be declared final |
| 1279 |
src/org/jeecgframework/core/servlet/Log4jInit.java |
15 |
The Logger variable declaration does not contain the static and final modifiers |
| 1280 |
src/org/jeecgframework/core/servlet/Log4jInit.java |
15 |
Use explicit scoping instead of the default package private level |
| 1281 |
src/org/jeecgframework/core/servlet/Log4jInit.java |
16 |
Avoid unnecessary constructors - the compiler will generate these for you |
| 1282 |
src/org/jeecgframework/core/servlet/Log4jInit.java |
16 |
Document empty constructor |
| 1283 |
src/org/jeecgframework/core/servlet/Log4jInit.java |
16 |
It is a good practice to call super() in a constructor |
| 1284 |
src/org/jeecgframework/core/servlet/Log4jInit.java |
19 |
Parameter 'config' is not assigned and could be declared final |
| 1285 |
src/org/jeecgframework/core/servlet/Log4jInit.java |
20 |
Local variable 'prefix' could be declared final |
| 1286 |
src/org/jeecgframework/core/servlet/Log4jInit.java |
21 |
Local variable 'file' could be declared final |
| 1287 |
src/org/jeecgframework/core/servlet/Log4jInit.java |
22 |
Local variable 'filePath' could be declared final |
| 1288 |
src/org/jeecgframework/core/servlet/Log4jInit.java |
23 |
Local variable 'props' could be declared final |
| 1289 |
src/org/jeecgframework/core/servlet/Log4jInit.java |
25 |
Local variable 'istream' could be declared final |
| 1290 |
src/org/jeecgframework/core/servlet/Log4jInit.java |
39 |
Parameter 'content' is not assigned and could be declared final |
| 1291 |
src/org/jeecgframework/core/servlet/Log4jInit.java |
40 |
System.out.print is used |
| 1292 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
11 |
Avoid unused imports such as 'java.util.Date' |
| 1293 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
11 |
Avoid unused imports such as 'java.util.Date' |
| 1294 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
40 |
Parameter 'request' is not assigned and could be declared final |
| 1295 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
40 |
Parameter 'response' is not assigned and could be declared final |
| 1296 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
42 |
Document empty method |
| 1297 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
47 |
Avoid really long methods. |
| 1298 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
47 |
Parameter 'request' is not assigned and could be declared final |
| 1299 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
47 |
Parameter 'response' is not assigned and could be declared final |
| 1300 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
51 |
Local variable 'factory' could be declared final |
| 1301 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
59 |
Local variable 'base' could be declared final |
| 1302 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
61 |
Local variable 'file' could be declared final |
| 1303 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
63 |
Avoid using if statements without curly braces |
| 1304 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
69 |
Local variable 'upload' could be declared final |
| 1305 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
85 |
Local variable 'out' could be declared final |
| 1306 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
91 |
Found 'DD'-anomaly for variable 'item' (lines '91'-'101'). |
| 1307 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
91 |
Found 'DU'-anomaly for variable 'item' (lines '91'-'162'). |
| 1308 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
93 |
Found 'DD'-anomaly for variable 'tpmFilePathName' (lines '93'-'119'). |
| 1309 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
93 |
Found 'DU'-anomaly for variable 'tpmFilePathName' (lines '93'-'162'). |
| 1310 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
95 |
Avoid unused local variables such as 'savePath'. |
| 1311 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
95 |
Found 'DU'-anomaly for variable 'savePath' (lines '95'-'162'). |
| 1312 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
97 |
Found 'DU'-anomaly for variable 'fileNames' (lines '97'-'162'). |
| 1313 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
109 |
Avoid unused local variables such as 'suffixName'. |
| 1314 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
109 |
Found 'DD'-anomaly for variable 'suffixName' (lines '109'-'109'). |
| 1315 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
109 |
Found 'DU'-anomaly for variable 'suffixName' (lines '109'-'162'). |
| 1316 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
121 |
Avoid instantiating new objects inside loops |
| 1317 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
125 |
Avoid instantiating new objects inside loops |
| 1318 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
146 |
Avoid printStackTrace(); use a logger call instead. |
| 1319 |
src/org/jeecgframework/core/servlet/UploadTmpPhotoServlet.java |
152 |
Avoid printStackTrace(); use a logger call instead. |
| 1320 |
src/org/jeecgframework/core/timer/DataBaseCronTriggerBean.java |
19 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 1321 |
src/org/jeecgframework/core/timer/DataBaseCronTriggerBean.java |
23 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1322 |
src/org/jeecgframework/core/timer/DataBaseCronTriggerBean.java |
23 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1323 |
src/org/jeecgframework/core/timer/DataBaseCronTriggerBean.java |
25 |
Local variable 'task' could be declared final |
| 1324 |
src/org/jeecgframework/core/timer/DataBaseSchedulerFactoryBean.java |
18 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 1325 |
src/org/jeecgframework/core/timer/DataBaseSchedulerFactoryBean.java |
22 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1326 |
src/org/jeecgframework/core/timer/DataBaseSchedulerFactoryBean.java |
22 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1327 |
src/org/jeecgframework/core/timer/DataBaseSchedulerFactoryBean.java |
24 |
Local variable 'trigerrNames' could be declared final |
| 1328 |
src/org/jeecgframework/core/timer/DynamicTask.java |
33 |
The class 'DynamicTask' has a Cyclomatic Complexity of 6 (Highest = 10). |
| 1329 |
src/org/jeecgframework/core/timer/DynamicTask.java |
35 |
The Logger variable declaration does not contain the static and final modifiers |
| 1330 |
src/org/jeecgframework/core/timer/DynamicTask.java |
38 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 1331 |
src/org/jeecgframework/core/timer/DynamicTask.java |
49 |
Parameter 'triggerName' is not assigned and could be declared final |
| 1332 |
src/org/jeecgframework/core/timer/DynamicTask.java |
50 |
Parameter 'start' is not assigned and could be declared final |
| 1333 |
src/org/jeecgframework/core/timer/DynamicTask.java |
52 |
Local variable 'trigger' could be declared final |
| 1334 |
src/org/jeecgframework/core/timer/DynamicTask.java |
61 |
A method should have only one exit point, and that should be the last statement in the method |
| 1335 |
src/org/jeecgframework/core/timer/DynamicTask.java |
77 |
Parameter 'triggerName' is not assigned and could be declared final |
| 1336 |
src/org/jeecgframework/core/timer/DynamicTask.java |
78 |
Parameter 'cronExpression' is not assigned and could be declared final |
| 1337 |
src/org/jeecgframework/core/timer/DynamicTask.java |
80 |
Local variable 'trigger' could be declared final |
| 1338 |
src/org/jeecgframework/core/timer/DynamicTask.java |
83 |
A method should have only one exit point, and that should be the last statement in the method |
| 1339 |
src/org/jeecgframework/core/timer/DynamicTask.java |
87 |
A method should have only one exit point, and that should be the last statement in the method |
| 1340 |
src/org/jeecgframework/core/timer/DynamicTask.java |
94 |
A method should have only one exit point, and that should be the last statement in the method |
| 1341 |
src/org/jeecgframework/core/timer/DynamicTask.java |
98 |
A method should have only one exit point, and that should be the last statement in the method |
| 1342 |
src/org/jeecgframework/core/timer/DynamicTask.java |
114 |
Parameter 'groupName' is not assigned and could be declared final |
| 1343 |
src/org/jeecgframework/core/timer/DynamicTask.java |
115 |
Found 'DD'-anomaly for variable 'trigger' (lines '115'-'125'). |
| 1344 |
src/org/jeecgframework/core/timer/DynamicTask.java |
115 |
Found 'DU'-anomaly for variable 'trigger' (lines '115'-'136'). |
| 1345 |
src/org/jeecgframework/core/timer/DynamicTask.java |
125 |
Found 'DU'-anomaly for variable 'trigger' (lines '125'-'136'). |
| 1346 |
src/org/jeecgframework/core/timer/DynamicTask.java |
143 |
The method 'updateSpringMvcTaskXML' has a Cyclomatic Complexity of 10. |
| 1347 |
src/org/jeecgframework/core/timer/DynamicTask.java |
143 |
Use block level rather than method level synchronization |
| 1348 |
src/org/jeecgframework/core/timer/DynamicTask.java |
144 |
Found 'DD'-anomaly for variable 'document' (lines '144'-'150'). |
| 1349 |
src/org/jeecgframework/core/timer/DynamicTask.java |
145 |
Found 'DD'-anomaly for variable 'file' (lines '145'-'149'). |
| 1350 |
src/org/jeecgframework/core/timer/DynamicTask.java |
146 |
Local variable 'saxReader' could be declared final |
| 1351 |
src/org/jeecgframework/core/timer/DynamicTask.java |
148 |
In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. |
| 1352 |
src/org/jeecgframework/core/timer/DynamicTask.java |
148 |
Local variable 'url' could be declared final |
| 1353 |
src/org/jeecgframework/core/timer/DynamicTask.java |
150 |
Found 'DU'-anomaly for variable 'document' (lines '150'-'187'). |
| 1354 |
src/org/jeecgframework/core/timer/DynamicTask.java |
153 |
Avoid throwing raw exception types. |
| 1355 |
src/org/jeecgframework/core/timer/DynamicTask.java |
153 |
New exception is thrown in catch block, original stack trace may be lost |
| 1356 |
src/org/jeecgframework/core/timer/DynamicTask.java |
155 |
Local variable 'root' could be declared final |
| 1357 |
src/org/jeecgframework/core/timer/DynamicTask.java |
178 |
Avoid printStackTrace(); use a logger call instead. |
| 1358 |
src/org/jeecgframework/core/timer/DynamicTask.java |
183 |
Avoid printStackTrace(); use a logger call instead. |
| 1359 |
src/org/jeecgframework/core/util/ApplicationContextUtil.java |
17 |
Parameter 'context' is not assigned and could be declared final |
| 1360 |
src/org/jeecgframework/core/util/BrowserUtils.java |
13 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1361 |
src/org/jeecgframework/core/util/BrowserUtils.java |
13 |
The class 'BrowserUtils' has a Cyclomatic Complexity of 7 (Highest = 15). |
| 1362 |
src/org/jeecgframework/core/util/BrowserUtils.java |
15 |
Parameter 'request' is not assigned and could be declared final |
| 1363 |
src/org/jeecgframework/core/util/BrowserUtils.java |
16 |
The String literal "USER-AGENT" appears 4 times in this file; the first occurrence is on line 16 |
| 1364 |
src/org/jeecgframework/core/util/BrowserUtils.java |
26 |
Parameter 'request' is not assigned and could be declared final |
| 1365 |
src/org/jeecgframework/core/util/BrowserUtils.java |
27 |
Found 'DD'-anomaly for variable 'version' (lines '27'-'29'). |
| 1366 |
src/org/jeecgframework/core/util/BrowserUtils.java |
27 |
Found 'DD'-anomaly for variable 'version' (lines '27'-'31'). |
| 1367 |
src/org/jeecgframework/core/util/BrowserUtils.java |
27 |
Found 'DD'-anomaly for variable 'version' (lines '27'-'33'). |
| 1368 |
src/org/jeecgframework/core/util/BrowserUtils.java |
27 |
Found 'DD'-anomaly for variable 'version' (lines '27'-'35'). |
| 1369 |
src/org/jeecgframework/core/util/BrowserUtils.java |
27 |
Found 'DD'-anomaly for variable 'version' (lines '27'-'37'). |
| 1370 |
src/org/jeecgframework/core/util/BrowserUtils.java |
27 |
Found 'DD'-anomaly for variable 'version' (lines '27'-'39'). |
| 1371 |
src/org/jeecgframework/core/util/BrowserUtils.java |
50 |
Parameter 'request' is not assigned and could be declared final |
| 1372 |
src/org/jeecgframework/core/util/BrowserUtils.java |
50 |
The method 'getBrowserType' has a Cyclomatic Complexity of 12. |
| 1373 |
src/org/jeecgframework/core/util/BrowserUtils.java |
50 |
The method getBrowserType() has an NPath complexity of 2048 |
| 1374 |
src/org/jeecgframework/core/util/BrowserUtils.java |
51 |
Found 'DD'-anomaly for variable 'browserType' (lines '51'-'53'). |
| 1375 |
src/org/jeecgframework/core/util/BrowserUtils.java |
53 |
Found 'DD'-anomaly for variable 'browserType' (lines '53'-'56'). |
| 1376 |
src/org/jeecgframework/core/util/BrowserUtils.java |
53 |
Found 'DD'-anomaly for variable 'browserType' (lines '53'-'59'). |
| 1377 |
src/org/jeecgframework/core/util/BrowserUtils.java |
53 |
Found 'DD'-anomaly for variable 'browserType' (lines '53'-'62'). |
| 1378 |
src/org/jeecgframework/core/util/BrowserUtils.java |
53 |
Found 'DD'-anomaly for variable 'browserType' (lines '53'-'65'). |
| 1379 |
src/org/jeecgframework/core/util/BrowserUtils.java |
53 |
Found 'DD'-anomaly for variable 'browserType' (lines '53'-'68'). |
| 1380 |
src/org/jeecgframework/core/util/BrowserUtils.java |
53 |
Found 'DD'-anomaly for variable 'browserType' (lines '53'-'71'). |
| 1381 |
src/org/jeecgframework/core/util/BrowserUtils.java |
56 |
Found 'DD'-anomaly for variable 'browserType' (lines '56'-'59'). |
| 1382 |
src/org/jeecgframework/core/util/BrowserUtils.java |
56 |
Found 'DD'-anomaly for variable 'browserType' (lines '56'-'62'). |
| 1383 |
src/org/jeecgframework/core/util/BrowserUtils.java |
56 |
Found 'DD'-anomaly for variable 'browserType' (lines '56'-'65'). |
| 1384 |
src/org/jeecgframework/core/util/BrowserUtils.java |
56 |
Found 'DD'-anomaly for variable 'browserType' (lines '56'-'68'). |
| 1385 |
src/org/jeecgframework/core/util/BrowserUtils.java |
56 |
Found 'DD'-anomaly for variable 'browserType' (lines '56'-'71'). |
| 1386 |
src/org/jeecgframework/core/util/BrowserUtils.java |
56 |
Found 'DD'-anomaly for variable 'browserType' (lines '56'-'74'). |
| 1387 |
src/org/jeecgframework/core/util/BrowserUtils.java |
56 |
Found 'DD'-anomaly for variable 'browserType' (lines '56'-'77'). |
| 1388 |
src/org/jeecgframework/core/util/BrowserUtils.java |
56 |
Found 'DD'-anomaly for variable 'browserType' (lines '56'-'80'). |
| 1389 |
src/org/jeecgframework/core/util/BrowserUtils.java |
56 |
Found 'DD'-anomaly for variable 'browserType' (lines '56'-'83'). |
| 1390 |
src/org/jeecgframework/core/util/BrowserUtils.java |
59 |
Found 'DD'-anomaly for variable 'browserType' (lines '59'-'62'). |
| 1391 |
src/org/jeecgframework/core/util/BrowserUtils.java |
59 |
Found 'DD'-anomaly for variable 'browserType' (lines '59'-'65'). |
| 1392 |
src/org/jeecgframework/core/util/BrowserUtils.java |
59 |
Found 'DD'-anomaly for variable 'browserType' (lines '59'-'68'). |
| 1393 |
src/org/jeecgframework/core/util/BrowserUtils.java |
59 |
Found 'DD'-anomaly for variable 'browserType' (lines '59'-'71'). |
| 1394 |
src/org/jeecgframework/core/util/BrowserUtils.java |
59 |
Found 'DD'-anomaly for variable 'browserType' (lines '59'-'74'). |
| 1395 |
src/org/jeecgframework/core/util/BrowserUtils.java |
59 |
Found 'DD'-anomaly for variable 'browserType' (lines '59'-'77'). |
| 1396 |
src/org/jeecgframework/core/util/BrowserUtils.java |
59 |
Found 'DD'-anomaly for variable 'browserType' (lines '59'-'80'). |
| 1397 |
src/org/jeecgframework/core/util/BrowserUtils.java |
59 |
Found 'DD'-anomaly for variable 'browserType' (lines '59'-'83'). |
| 1398 |
src/org/jeecgframework/core/util/BrowserUtils.java |
62 |
Found 'DD'-anomaly for variable 'browserType' (lines '62'-'65'). |
| 1399 |
src/org/jeecgframework/core/util/BrowserUtils.java |
62 |
Found 'DD'-anomaly for variable 'browserType' (lines '62'-'68'). |
| 1400 |
src/org/jeecgframework/core/util/BrowserUtils.java |
62 |
Found 'DD'-anomaly for variable 'browserType' (lines '62'-'71'). |
| 1401 |
src/org/jeecgframework/core/util/BrowserUtils.java |
62 |
Found 'DD'-anomaly for variable 'browserType' (lines '62'-'74'). |
| 1402 |
src/org/jeecgframework/core/util/BrowserUtils.java |
62 |
Found 'DD'-anomaly for variable 'browserType' (lines '62'-'77'). |
| 1403 |
src/org/jeecgframework/core/util/BrowserUtils.java |
62 |
Found 'DD'-anomaly for variable 'browserType' (lines '62'-'80'). |
| 1404 |
src/org/jeecgframework/core/util/BrowserUtils.java |
62 |
Found 'DD'-anomaly for variable 'browserType' (lines '62'-'83'). |
| 1405 |
src/org/jeecgframework/core/util/BrowserUtils.java |
65 |
Found 'DD'-anomaly for variable 'browserType' (lines '65'-'68'). |
| 1406 |
src/org/jeecgframework/core/util/BrowserUtils.java |
65 |
Found 'DD'-anomaly for variable 'browserType' (lines '65'-'71'). |
| 1407 |
src/org/jeecgframework/core/util/BrowserUtils.java |
65 |
Found 'DD'-anomaly for variable 'browserType' (lines '65'-'74'). |
| 1408 |
src/org/jeecgframework/core/util/BrowserUtils.java |
65 |
Found 'DD'-anomaly for variable 'browserType' (lines '65'-'77'). |
| 1409 |
src/org/jeecgframework/core/util/BrowserUtils.java |
65 |
Found 'DD'-anomaly for variable 'browserType' (lines '65'-'80'). |
| 1410 |
src/org/jeecgframework/core/util/BrowserUtils.java |
65 |
Found 'DD'-anomaly for variable 'browserType' (lines '65'-'83'). |
| 1411 |
src/org/jeecgframework/core/util/BrowserUtils.java |
68 |
Found 'DD'-anomaly for variable 'browserType' (lines '68'-'71'). |
| 1412 |
src/org/jeecgframework/core/util/BrowserUtils.java |
68 |
Found 'DD'-anomaly for variable 'browserType' (lines '68'-'74'). |
| 1413 |
src/org/jeecgframework/core/util/BrowserUtils.java |
68 |
Found 'DD'-anomaly for variable 'browserType' (lines '68'-'77'). |
| 1414 |
src/org/jeecgframework/core/util/BrowserUtils.java |
68 |
Found 'DD'-anomaly for variable 'browserType' (lines '68'-'80'). |
| 1415 |
src/org/jeecgframework/core/util/BrowserUtils.java |
68 |
Found 'DD'-anomaly for variable 'browserType' (lines '68'-'83'). |
| 1416 |
src/org/jeecgframework/core/util/BrowserUtils.java |
71 |
Found 'DD'-anomaly for variable 'browserType' (lines '71'-'74'). |
| 1417 |
src/org/jeecgframework/core/util/BrowserUtils.java |
71 |
Found 'DD'-anomaly for variable 'browserType' (lines '71'-'77'). |
| 1418 |
src/org/jeecgframework/core/util/BrowserUtils.java |
71 |
Found 'DD'-anomaly for variable 'browserType' (lines '71'-'80'). |
| 1419 |
src/org/jeecgframework/core/util/BrowserUtils.java |
71 |
Found 'DD'-anomaly for variable 'browserType' (lines '71'-'83'). |
| 1420 |
src/org/jeecgframework/core/util/BrowserUtils.java |
74 |
Found 'DD'-anomaly for variable 'browserType' (lines '74'-'77'). |
| 1421 |
src/org/jeecgframework/core/util/BrowserUtils.java |
74 |
Found 'DD'-anomaly for variable 'browserType' (lines '74'-'80'). |
| 1422 |
src/org/jeecgframework/core/util/BrowserUtils.java |
74 |
Found 'DD'-anomaly for variable 'browserType' (lines '74'-'83'). |
| 1423 |
src/org/jeecgframework/core/util/BrowserUtils.java |
77 |
Found 'DD'-anomaly for variable 'browserType' (lines '77'-'80'). |
| 1424 |
src/org/jeecgframework/core/util/BrowserUtils.java |
77 |
Found 'DD'-anomaly for variable 'browserType' (lines '77'-'83'). |
| 1425 |
src/org/jeecgframework/core/util/BrowserUtils.java |
80 |
Found 'DD'-anomaly for variable 'browserType' (lines '80'-'83'). |
| 1426 |
src/org/jeecgframework/core/util/BrowserUtils.java |
88 |
Parameter 'brosertype' is not assigned and could be declared final |
| 1427 |
src/org/jeecgframework/core/util/BrowserUtils.java |
88 |
Parameter 'request' is not assigned and could be declared final |
| 1428 |
src/org/jeecgframework/core/util/BrowserUtils.java |
98 |
Avoid variables with short names like QQ |
| 1429 |
src/org/jeecgframework/core/util/BrowserUtils.java |
107 |
The method 'checkBrowse' has a Cyclomatic Complexity of 15. |
| 1430 |
src/org/jeecgframework/core/util/BrowserUtils.java |
107 |
The method checkBrowse() has an NPath complexity of 16384 |
| 1431 |
src/org/jeecgframework/core/util/BrowserUtils.java |
108 |
Local variable 'userAgent' could be declared final |
| 1432 |
src/org/jeecgframework/core/util/BrowserUtils.java |
109 |
Avoid using if statements without curly braces |
| 1433 |
src/org/jeecgframework/core/util/BrowserUtils.java |
110 |
A method should have only one exit point, and that should be the last statement in the method |
| 1434 |
src/org/jeecgframework/core/util/BrowserUtils.java |
111 |
Avoid using if statements without curly braces |
| 1435 |
src/org/jeecgframework/core/util/BrowserUtils.java |
112 |
A method should have only one exit point, and that should be the last statement in the method |
| 1436 |
src/org/jeecgframework/core/util/BrowserUtils.java |
113 |
Avoid using if statements without curly braces |
| 1437 |
src/org/jeecgframework/core/util/BrowserUtils.java |
114 |
A method should have only one exit point, and that should be the last statement in the method |
| 1438 |
src/org/jeecgframework/core/util/BrowserUtils.java |
115 |
Avoid using if statements without curly braces |
| 1439 |
src/org/jeecgframework/core/util/BrowserUtils.java |
116 |
A method should have only one exit point, and that should be the last statement in the method |
| 1440 |
src/org/jeecgframework/core/util/BrowserUtils.java |
117 |
Avoid using if statements without curly braces |
| 1441 |
src/org/jeecgframework/core/util/BrowserUtils.java |
118 |
A method should have only one exit point, and that should be the last statement in the method |
| 1442 |
src/org/jeecgframework/core/util/BrowserUtils.java |
141 |
Avoid variables with short names like p |
| 1443 |
src/org/jeecgframework/core/util/BrowserUtils.java |
141 |
Local variable 'p' could be declared final |
| 1444 |
src/org/jeecgframework/core/util/BrowserUtils.java |
142 |
Avoid variables with short names like m |
| 1445 |
src/org/jeecgframework/core/util/BrowserUtils.java |
142 |
Local variable 'm' could be declared final |
| 1446 |
src/org/jeecgframework/core/util/ContextHolderUtils.java |
15 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1447 |
src/org/jeecgframework/core/util/ContextHolderUtils.java |
22 |
Local variable 'request' could be declared final |
| 1448 |
src/org/jeecgframework/core/util/ContextHolderUtils.java |
23 |
Consider simply returning the value vs storing it in local variable 'request' |
| 1449 |
src/org/jeecgframework/core/util/ContextHolderUtils.java |
32 |
Local variable 'session' could be declared final |
| 1450 |
src/org/jeecgframework/core/util/ContextHolderUtils.java |
33 |
Consider simply returning the value vs storing it in local variable 'session' |
| 1451 |
src/org/jeecgframework/core/util/DBTypeUtil.java |
8 |
Avoid unused imports such as 'org.jeecgframework.web.cgform.controller.autolist.CgAutoListController' |
| 1452 |
src/org/jeecgframework/core/util/DBTypeUtil.java |
8 |
Avoid unused imports such as 'org.jeecgframework.web.cgform.controller.autolist.CgAutoListController' |
| 1453 |
src/org/jeecgframework/core/util/DBTypeUtil.java |
16 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1454 |
src/org/jeecgframework/core/util/DBTypeUtil.java |
17 |
The Logger variable declaration does not contain the static and final modifiers |
| 1455 |
src/org/jeecgframework/core/util/DBTypeUtil.java |
23 |
Found 'DD'-anomaly for variable 'retStr' (lines '23'-'32'). |
| 1456 |
src/org/jeecgframework/core/util/DBTypeUtil.java |
23 |
Found 'DD'-anomaly for variable 'retStr' (lines '23'-'34'). |
| 1457 |
src/org/jeecgframework/core/util/DBTypeUtil.java |
23 |
Found 'DD'-anomaly for variable 'retStr' (lines '23'-'36'). |
| 1458 |
src/org/jeecgframework/core/util/DBTypeUtil.java |
23 |
Found 'DD'-anomaly for variable 'retStr' (lines '23'-'38'). |
| 1459 |
src/org/jeecgframework/core/util/DBTypeUtil.java |
24 |
Local variable 'ctx' could be declared final |
| 1460 |
src/org/jeecgframework/core/util/DBTypeUtil.java |
26 |
A method should have only one exit point, and that should be the last statement in the method |
| 1461 |
src/org/jeecgframework/core/util/DBTypeUtil.java |
28 |
Avoid variables with short names like sf |
| 1462 |
src/org/jeecgframework/core/util/DBTypeUtil.java |
28 |
Local variable 'sf' could be declared final |
| 1463 |
src/org/jeecgframework/core/util/DBTypeUtil.java |
29 |
Local variable 'dbdialect' could be declared final |
| 1464 |
src/org/jeecgframework/core/util/DBTypeUtil.java |
31 |
Position literals first in String comparisons |
| 1465 |
src/org/jeecgframework/core/util/DBTypeUtil.java |
35 |
Position literals first in String comparisons |
| 1466 |
src/org/jeecgframework/core/util/DBTypeUtil.java |
37 |
Position literals first in String comparisons |
| 1467 |
src/org/jeecgframework/core/util/DataUtils.java |
22 |
This class has too many methods, consider refactoring it. |
| 1468 |
src/org/jeecgframework/core/util/DataUtils.java |
24 |
Variables that are final and static should be in all caps. |
| 1469 |
src/org/jeecgframework/core/util/DataUtils.java |
24 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 1470 |
src/org/jeecgframework/core/util/DataUtils.java |
27 |
Variables that are final and static should be in all caps. |
| 1471 |
src/org/jeecgframework/core/util/DataUtils.java |
27 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 1472 |
src/org/jeecgframework/core/util/DataUtils.java |
30 |
Variables that are final and static should be in all caps. |
| 1473 |
src/org/jeecgframework/core/util/DataUtils.java |
30 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 1474 |
src/org/jeecgframework/core/util/DataUtils.java |
32 |
Variables that are final and static should be in all caps. |
| 1475 |
src/org/jeecgframework/core/util/DataUtils.java |
32 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 1476 |
src/org/jeecgframework/core/util/DataUtils.java |
34 |
Variables that are final and static should be in all caps. |
| 1477 |
src/org/jeecgframework/core/util/DataUtils.java |
34 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 1478 |
src/org/jeecgframework/core/util/DataUtils.java |
46 |
Parameter 'pattern' is not assigned and could be declared final |
| 1479 |
src/org/jeecgframework/core/util/DataUtils.java |
66 |
Parameter 'millis' is not assigned and could be declared final |
| 1480 |
src/org/jeecgframework/core/util/DataUtils.java |
67 |
Local variable 'cal' could be declared final |
| 1481 |
src/org/jeecgframework/core/util/DataUtils.java |
93 |
Parameter 'millis' is not assigned and could be declared final |
| 1482 |
src/org/jeecgframework/core/util/DataUtils.java |
103 |
Parameter 'time' is not assigned and could be declared final |
| 1483 |
src/org/jeecgframework/core/util/DataUtils.java |
104 |
Avoid unused local variables such as 'date'. |
| 1484 |
src/org/jeecgframework/core/util/DataUtils.java |
104 |
Found 'DD'-anomaly for variable 'date' (lines '104'-'106'). |
| 1485 |
src/org/jeecgframework/core/util/DataUtils.java |
104 |
Found 'DU'-anomaly for variable 'date' (lines '104'-'109'). |
| 1486 |
src/org/jeecgframework/core/util/DataUtils.java |
106 |
Found 'DU'-anomaly for variable 'date' (lines '106'-'109'). |
| 1487 |
src/org/jeecgframework/core/util/DataUtils.java |
108 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 1488 |
src/org/jeecgframework/core/util/DataUtils.java |
117 |
Parameter 'str' is not assigned and could be declared final |
| 1489 |
src/org/jeecgframework/core/util/DataUtils.java |
118 |
Local variable 'date' could be declared final |
| 1490 |
src/org/jeecgframework/core/util/DataUtils.java |
118 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 1491 |
src/org/jeecgframework/core/util/DataUtils.java |
129 |
A method should have only one exit point, and that should be the last statement in the method |
| 1492 |
src/org/jeecgframework/core/util/DataUtils.java |
131 |
Found 'DD'-anomaly for variable 'date' (lines '131'-'133'). |
| 1493 |
src/org/jeecgframework/core/util/DataUtils.java |
134 |
A method should have only one exit point, and that should be the last statement in the method |
| 1494 |
src/org/jeecgframework/core/util/DataUtils.java |
136 |
Avoid printStackTrace(); use a logger call instead. |
| 1495 |
src/org/jeecgframework/core/util/DataUtils.java |
151 |
Local variable 'date' could be declared final |
| 1496 |
src/org/jeecgframework/core/util/DataUtils.java |
153 |
A method should have only one exit point, and that should be the last statement in the method |
| 1497 |
src/org/jeecgframework/core/util/DataUtils.java |
165 |
Local variable 'sformat' could be declared final |
| 1498 |
src/org/jeecgframework/core/util/DataUtils.java |
166 |
Found 'DD'-anomaly for variable 'date' (lines '166'-'168'). |
| 1499 |
src/org/jeecgframework/core/util/DataUtils.java |
171 |
Avoid printStackTrace(); use a logger call instead. |
| 1500 |
src/org/jeecgframework/core/util/DataUtils.java |
186 |
A method should have only one exit point, and that should be the last statement in the method |
| 1501 |
src/org/jeecgframework/core/util/DataUtils.java |
200 |
Local variable 'date' could be declared final |
| 1502 |
src/org/jeecgframework/core/util/DataUtils.java |
202 |
A method should have only one exit point, and that should be the last statement in the method |
| 1503 |
src/org/jeecgframework/core/util/DataUtils.java |
262 |
Avoid variables with short names like dt |
| 1504 |
src/org/jeecgframework/core/util/DataUtils.java |
263 |
Avoid variables with short names like df |
| 1505 |
src/org/jeecgframework/core/util/DataUtils.java |
266 |
Consider simply returning the value vs storing it in local variable 'buydate' |
| 1506 |
src/org/jeecgframework/core/util/DataUtils.java |
312 |
Avoid variables with short names like ts |
| 1507 |
src/org/jeecgframework/core/util/DataUtils.java |
327 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 1508 |
src/org/jeecgframework/core/util/DataUtils.java |
343 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 1509 |
src/org/jeecgframework/core/util/DataUtils.java |
354 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 1510 |
src/org/jeecgframework/core/util/DataUtils.java |
586 |
Found 'DU'-anomaly for variable 'millisDiff' (lines '586'-'609'). |
| 1511 |
src/org/jeecgframework/core/util/DataUtils.java |
620 |
String.indexOf(char) is faster than String.indexOf(String). |
| 1512 |
src/org/jeecgframework/core/util/DataUtils.java |
622 |
String.indexOf(char) is faster than String.indexOf(String). |
| 1513 |
src/org/jeecgframework/core/util/DataUtils.java |
632 |
New exception is thrown in catch block, original stack trace may be lost |
| 1514 |
src/org/jeecgframework/core/util/ExceptionUtil.java |
10 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1515 |
src/org/jeecgframework/core/util/ExceptionUtil.java |
19 |
Avoid variables with short names like ex |
| 1516 |
src/org/jeecgframework/core/util/ExceptionUtil.java |
19 |
Parameter 'ex' is not assigned and could be declared final |
| 1517 |
src/org/jeecgframework/core/util/ExceptionUtil.java |
20 |
Avoid variables with short names like sw |
| 1518 |
src/org/jeecgframework/core/util/ExceptionUtil.java |
20 |
Local variable 'sw' could be declared final |
| 1519 |
src/org/jeecgframework/core/util/ExceptionUtil.java |
21 |
Avoid variables with short names like pw |
| 1520 |
src/org/jeecgframework/core/util/ExceptionUtil.java |
21 |
Local variable 'pw' could be declared final |
| 1521 |
src/org/jeecgframework/core/util/ExceptionUtils.java |
5 |
A class which only has private constructors should be final |
| 1522 |
src/org/jeecgframework/core/util/ExceptionUtils.java |
19 |
Parameter 'errorMessage' is not assigned and could be declared final |
| 1523 |
src/org/jeecgframework/core/util/ExceptionUtils.java |
19 |
Parameter 'target' is not assigned and could be declared final |
| 1524 |
src/org/jeecgframework/core/util/ExceptionUtils.java |
32 |
Parameter 'errorMessage' is not assigned and could be declared final |
| 1525 |
src/org/jeecgframework/core/util/ExceptionUtils.java |
32 |
Parameter 'target' is not assigned and could be declared final |
| 1526 |
src/org/jeecgframework/core/util/FileUtils.java |
16 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1527 |
src/org/jeecgframework/core/util/FileUtils.java |
17 |
Avoid unused private fields such as 'logger'. |
| 1528 |
src/org/jeecgframework/core/util/FileUtils.java |
17 |
Variables that are final and static should be in all caps. |
| 1529 |
src/org/jeecgframework/core/util/FileUtils.java |
24 |
Parameter 'filename' is not assigned and could be declared final |
| 1530 |
src/org/jeecgframework/core/util/FileUtils.java |
34 |
Parameter 'defExt' is not assigned and could be declared final |
| 1531 |
src/org/jeecgframework/core/util/FileUtils.java |
34 |
Parameter 'filename' is not assigned and could be declared final |
| 1532 |
src/org/jeecgframework/core/util/FileUtils.java |
36 |
Avoid variables with short names like i |
| 1533 |
src/org/jeecgframework/core/util/FileUtils.java |
36 |
Local variable 'i' could be declared final |
| 1534 |
src/org/jeecgframework/core/util/FileUtils.java |
39 |
A method should have only one exit point, and that should be the last statement in the method |
| 1535 |
src/org/jeecgframework/core/util/FileUtils.java |
39 |
This statement may have some unnecessary parentheses |
| 1536 |
src/org/jeecgframework/core/util/FileUtils.java |
42 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 1537 |
src/org/jeecgframework/core/util/FileUtils.java |
51 |
Parameter 'fileName' is not assigned and could be declared final |
| 1538 |
src/org/jeecgframework/core/util/FileUtils.java |
52 |
Local variable 'splitIndex' could be declared final |
| 1539 |
src/org/jeecgframework/core/util/FileUtils.java |
52 |
String.indexOf(char) is faster than String.indexOf(String). |
| 1540 |
src/org/jeecgframework/core/util/FileUtils.java |
62 |
Parameter 'fileName' is not assigned and could be declared final |
| 1541 |
src/org/jeecgframework/core/util/FileUtils.java |
63 |
Local variable 'splitIndex' could be declared final |
| 1542 |
src/org/jeecgframework/core/util/FileUtils.java |
63 |
String.indexOf(char) is faster than String.indexOf(String). |
| 1543 |
src/org/jeecgframework/core/util/FileUtils.java |
74 |
Local variable 'sFile' could be declared final |
| 1544 |
src/org/jeecgframework/core/util/FileUtils.java |
75 |
Local variable 'tFile' could be declared final |
| 1545 |
src/org/jeecgframework/core/util/FileUtils.java |
78 |
Found 'DD'-anomaly for variable 'temp' (lines '78'-'81'). |
| 1546 |
src/org/jeecgframework/core/util/FileUtils.java |
81 |
Avoid assignments in operands |
| 1547 |
src/org/jeecgframework/core/util/FileUtils.java |
81 |
Found 'DU'-anomaly for variable 'temp' (lines '81'-'94'). |
| 1548 |
src/org/jeecgframework/core/util/FileUtils.java |
85 |
Avoid printStackTrace(); use a logger call instead. |
| 1549 |
src/org/jeecgframework/core/util/FileUtils.java |
91 |
Avoid printStackTrace(); use a logger call instead. |
| 1550 |
src/org/jeecgframework/core/util/FileUtils.java |
109 |
A method should have only one exit point, and that should be the last statement in the method |
| 1551 |
src/org/jeecgframework/core/util/FileUtils.java |
113 |
Found 'DU'-anomaly for variable 'tmpName' (lines '113'-'127'). |
| 1552 |
src/org/jeecgframework/core/util/FileUtils.java |
122 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 1553 |
src/org/jeecgframework/core/util/FileUtils.java |
123 |
A method should have only one exit point, and that should be the last statement in the method |
| 1554 |
src/org/jeecgframework/core/util/FileUtils.java |
143 |
A method should have only one exit point, and that should be the last statement in the method |
| 1555 |
src/org/jeecgframework/core/util/FileUtils.java |
148 |
Position literals first in String comparisons |
| 1556 |
src/org/jeecgframework/core/util/FileUtils.java |
149 |
A method should have only one exit point, and that should be the last statement in the method |
| 1557 |
src/org/jeecgframework/core/util/GenericsUtils.java |
39 |
The String literal "unchecked" appears 8 times in this file; the first occurrence is on line 39 |
| 1558 |
src/org/jeecgframework/core/util/GenericsUtils.java |
40 |
Parameter 'clazz' is not assigned and could be declared final |
| 1559 |
src/org/jeecgframework/core/util/GenericsUtils.java |
40 |
Parameter 'index' is not assigned and could be declared final |
| 1560 |
src/org/jeecgframework/core/util/GenericsUtils.java |
41 |
Local variable 'genType' could be declared final |
| 1561 |
src/org/jeecgframework/core/util/GenericsUtils.java |
44 |
A method should have only one exit point, and that should be the last statement in the method |
| 1562 |
src/org/jeecgframework/core/util/GenericsUtils.java |
48 |
Local variable 'params' could be declared final |
| 1563 |
src/org/jeecgframework/core/util/GenericsUtils.java |
50 |
Avoid throwing raw exception types. |
| 1564 |
src/org/jeecgframework/core/util/GenericsUtils.java |
50 |
The String literal "²»ÄÜСÓÚ0" appears 4 times in this file; the first occurrence is on line 50 |
| 1565 |
src/org/jeecgframework/core/util/GenericsUtils.java |
50 |
The String literal "ÄãÊäÈëµÄË÷Òý" appears 4 times in this file; the first occurrence is on line 50 |
| 1566 |
src/org/jeecgframework/core/util/GenericsUtils.java |
50 |
The String literal "³¬³öÁ˲ÎÊýµÄ×ÜÊý" appears 4 times in this file; the first occurrence is on line 50 |
| 1567 |
src/org/jeecgframework/core/util/GenericsUtils.java |
53 |
A method should have only one exit point, and that should be the last statement in the method |
| 1568 |
src/org/jeecgframework/core/util/GenericsUtils.java |
67 |
Parameter 'clazz' is not assigned and could be declared final |
| 1569 |
src/org/jeecgframework/core/util/GenericsUtils.java |
81 |
Parameter 'index' is not assigned and could be declared final |
| 1570 |
src/org/jeecgframework/core/util/GenericsUtils.java |
81 |
Parameter 'method' is not assigned and could be declared final |
| 1571 |
src/org/jeecgframework/core/util/GenericsUtils.java |
82 |
Local variable 'returnType' could be declared final |
| 1572 |
src/org/jeecgframework/core/util/GenericsUtils.java |
84 |
Local variable 'type' could be declared final |
| 1573 |
src/org/jeecgframework/core/util/GenericsUtils.java |
85 |
Local variable 'typeArguments' could be declared final |
| 1574 |
src/org/jeecgframework/core/util/GenericsUtils.java |
87 |
Avoid throwing raw exception types. |
| 1575 |
src/org/jeecgframework/core/util/GenericsUtils.java |
89 |
A method should have only one exit point, and that should be the last statement in the method |
| 1576 |
src/org/jeecgframework/core/util/GenericsUtils.java |
118 |
Found 'DU'-anomaly for variable 'results' (lines '118'-'134'). |
| 1577 |
src/org/jeecgframework/core/util/GenericsUtils.java |
119 |
Avoid excessively long variable names like genericParameterTypes |
| 1578 |
src/org/jeecgframework/core/util/GenericsUtils.java |
121 |
Avoid throwing raw exception types. |
| 1579 |
src/org/jeecgframework/core/util/GenericsUtils.java |
123 |
Avoid excessively long variable names like genericParameterType |
| 1580 |
src/org/jeecgframework/core/util/GenericsUtils.java |
131 |
A method should have only one exit point, and that should be the last statement in the method |
| 1581 |
src/org/jeecgframework/core/util/GenericsUtils.java |
166 |
Avoid throwing raw exception types. |
| 1582 |
src/org/jeecgframework/core/util/GenericsUtils.java |
168 |
A method should have only one exit point, and that should be the last statement in the method |
| 1583 |
src/org/jeecgframework/core/util/GenericsUtils.java |
193 |
Found 'DD'-anomaly for variable 'wageStrArray' (lines '193'-'215'). |
| 1584 |
src/org/jeecgframework/core/util/GenericsUtils.java |
194 |
Avoid if (x != y) ..; else ..; |
| 1585 |
src/org/jeecgframework/core/util/GenericsUtils.java |
197 |
Avoid variables with short names like sb |
| 1586 |
src/org/jeecgframework/core/util/GenericsUtils.java |
208 |
Avoid appending characters as strings in StringBuffer.append. |
| 1587 |
src/org/jeecgframework/core/util/GenericsUtils.java |
221 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1588 |
src/org/jeecgframework/core/util/GenericsUtils.java |
221 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1589 |
src/org/jeecgframework/core/util/GenericsUtils.java |
221 |
Avoid variables with short names like f |
| 1590 |
src/org/jeecgframework/core/util/GenericsUtils.java |
221 |
Avoid variables with short names like o |
| 1591 |
src/org/jeecgframework/core/util/GenericsUtils.java |
222 |
Found 'DD'-anomaly for variable 'value' (lines '222'-'224'). |
| 1592 |
src/org/jeecgframework/core/util/GenericsUtils.java |
224 |
Found 'DD'-anomaly for variable 'value' (lines '224'-'224'). |
| 1593 |
src/org/jeecgframework/core/util/GenericsUtils.java |
246 |
Found 'DD'-anomaly for variable 'entityClass' (lines '246'-'248'). |
| 1594 |
src/org/jeecgframework/core/util/GenericsUtils.java |
250 |
Avoid printStackTrace(); use a logger call instead. |
| 1595 |
src/org/jeecgframework/core/util/GenericsUtils.java |
276 |
Found 'DD'-anomaly for variable 'passwords' (lines '276'-'282'). |
| 1596 |
src/org/jeecgframework/core/util/GenericsUtils.java |
277 |
Found 'DU'-anomaly for variable 'random' (lines '277'-'284'). |
| 1597 |
src/org/jeecgframework/core/util/IdcardUtils.java |
17 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1598 |
src/org/jeecgframework/core/util/IdcardUtils.java |
17 |
The class 'IdcardUtils' has a Cyclomatic Complexity of 5 (Highest = 12). |
| 1599 |
src/org/jeecgframework/core/util/IdcardUtils.java |
20 |
Avoid excessively long variable names like CHINA_ID_MIN_LENGTH |
| 1600 |
src/org/jeecgframework/core/util/IdcardUtils.java |
23 |
Avoid excessively long variable names like CHINA_ID_MAX_LENGTH |
| 1601 |
src/org/jeecgframework/core/util/IdcardUtils.java |
26 |
Variables that are final and static should be in all caps. |
| 1602 |
src/org/jeecgframework/core/util/IdcardUtils.java |
33 |
Variables that are final and static should be in all caps. |
| 1603 |
src/org/jeecgframework/core/util/IdcardUtils.java |
38 |
Variables that are final and static should be in all caps. |
| 1604 |
src/org/jeecgframework/core/util/IdcardUtils.java |
129 |
Parameter 'idCard' is not assigned and could be declared final |
| 1605 |
src/org/jeecgframework/core/util/IdcardUtils.java |
130 |
Found 'DD'-anomaly for variable 'idCard18' (lines '130'-'148'). |
| 1606 |
src/org/jeecgframework/core/util/IdcardUtils.java |
130 |
Found 'DU'-anomaly for variable 'idCard18' (lines '130'-'166'). |
| 1607 |
src/org/jeecgframework/core/util/IdcardUtils.java |
132 |
A method should have only one exit point, and that should be the last statement in the method |
| 1608 |
src/org/jeecgframework/core/util/IdcardUtils.java |
136 |
Local variable 'birthday' could be declared final |
| 1609 |
src/org/jeecgframework/core/util/IdcardUtils.java |
137 |
Found 'DD'-anomaly for variable 'birthDate' (lines '137'-'139'). |
| 1610 |
src/org/jeecgframework/core/util/IdcardUtils.java |
139 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 1611 |
src/org/jeecgframework/core/util/IdcardUtils.java |
141 |
Avoid printStackTrace(); use a logger call instead. |
| 1612 |
src/org/jeecgframework/core/util/IdcardUtils.java |
143 |
Local variable 'cal' could be declared final |
| 1613 |
src/org/jeecgframework/core/util/IdcardUtils.java |
144 |
Avoid using if statements without curly braces |
| 1614 |
src/org/jeecgframework/core/util/IdcardUtils.java |
147 |
Local variable 'sYear' could be declared final |
| 1615 |
src/org/jeecgframework/core/util/IdcardUtils.java |
150 |
Local variable 'cArr' could be declared final |
| 1616 |
src/org/jeecgframework/core/util/IdcardUtils.java |
152 |
Local variable 'iCard' could be declared final |
| 1617 |
src/org/jeecgframework/core/util/IdcardUtils.java |
157 |
Prefer StringBuffer over += for concatenating strings |
| 1618 |
src/org/jeecgframework/core/util/IdcardUtils.java |
159 |
A method should have only one exit point, and that should be the last statement in the method |
| 1619 |
src/org/jeecgframework/core/util/IdcardUtils.java |
163 |
A method should have only one exit point, and that should be the last statement in the method |
| 1620 |
src/org/jeecgframework/core/util/IdcardUtils.java |
171 |
Parameter 'idCard' is not assigned and could be declared final |
| 1621 |
src/org/jeecgframework/core/util/IdcardUtils.java |
174 |
A method should have only one exit point, and that should be the last statement in the method |
| 1622 |
src/org/jeecgframework/core/util/IdcardUtils.java |
177 |
A method should have only one exit point, and that should be the last statement in the method |
| 1623 |
src/org/jeecgframework/core/util/IdcardUtils.java |
181 |
These nested if statements could be combined |
| 1624 |
src/org/jeecgframework/core/util/IdcardUtils.java |
194 |
Parameter 'idCard' is not assigned and could be declared final |
| 1625 |
src/org/jeecgframework/core/util/IdcardUtils.java |
195 |
Found 'DD'-anomaly for variable 'bTrue' (lines '195'-'210'). |
| 1626 |
src/org/jeecgframework/core/util/IdcardUtils.java |
200 |
Found 'DU'-anomaly for variable 'code18' (lines '200'-'217'). |
| 1627 |
src/org/jeecgframework/core/util/IdcardUtils.java |
209 |
Deeply nested if..then statements are hard to read |
| 1628 |
src/org/jeecgframework/core/util/IdcardUtils.java |
209 |
These nested if statements could be combined |
| 1629 |
src/org/jeecgframework/core/util/IdcardUtils.java |
226 |
Parameter 'idCard' is not assigned and could be declared final |
| 1630 |
src/org/jeecgframework/core/util/IdcardUtils.java |
236 |
Found 'DD'-anomaly for variable 'birthDate' (lines '236'-'238'). |
| 1631 |
src/org/jeecgframework/core/util/IdcardUtils.java |
238 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 1632 |
src/org/jeecgframework/core/util/IdcardUtils.java |
240 |
Avoid printStackTrace(); use a logger call instead. |
| 1633 |
src/org/jeecgframework/core/util/IdcardUtils.java |
243 |
Avoid using if statements without curly braces |
| 1634 |
src/org/jeecgframework/core/util/IdcardUtils.java |
265 |
Parameter 'idCard' is not assigned and could be declared final |
| 1635 |
src/org/jeecgframework/core/util/IdcardUtils.java |
265 |
The method 'validateIdCard10' has a Cyclomatic Complexity of 11. |
| 1636 |
src/org/jeecgframework/core/util/IdcardUtils.java |
266 |
Found 'DD'-anomaly for variable 'info' (lines '266'-'272'). |
| 1637 |
src/org/jeecgframework/core/util/IdcardUtils.java |
266 |
Found 'DD'-anomaly for variable 'info' (lines '266'-'289'). |
| 1638 |
src/org/jeecgframework/core/util/IdcardUtils.java |
266 |
Found 'DD'-anomaly for variable 'info' (lines '266'-'293'). |
| 1639 |
src/org/jeecgframework/core/util/IdcardUtils.java |
266 |
Found 'DU'-anomaly for variable 'info' (lines '266'-'300'). |
| 1640 |
src/org/jeecgframework/core/util/IdcardUtils.java |
272 |
Found 'DD'-anomaly for variable 'info' (lines '272'-'276'). |
| 1641 |
src/org/jeecgframework/core/util/IdcardUtils.java |
272 |
Found 'DD'-anomaly for variable 'info' (lines '272'-'279'). |
| 1642 |
src/org/jeecgframework/core/util/IdcardUtils.java |
272 |
Found 'DD'-anomaly for variable 'info' (lines '272'-'282'). |
| 1643 |
src/org/jeecgframework/core/util/IdcardUtils.java |
275 |
Position literals first in String comparisons |
| 1644 |
src/org/jeecgframework/core/util/IdcardUtils.java |
276 |
Found 'DD'-anomaly for variable 'info' (lines '276'-'287'). |
| 1645 |
src/org/jeecgframework/core/util/IdcardUtils.java |
278 |
Position literals first in String comparisons |
| 1646 |
src/org/jeecgframework/core/util/IdcardUtils.java |
279 |
Found 'DD'-anomaly for variable 'info' (lines '279'-'287'). |
| 1647 |
src/org/jeecgframework/core/util/IdcardUtils.java |
282 |
Found 'DD'-anomaly for variable 'info' (lines '282'-'283'). |
| 1648 |
src/org/jeecgframework/core/util/IdcardUtils.java |
289 |
Found 'DD'-anomaly for variable 'info' (lines '289'-'290'). |
| 1649 |
src/org/jeecgframework/core/util/IdcardUtils.java |
293 |
Found 'DD'-anomaly for variable 'info' (lines '293'-'294'). |
| 1650 |
src/org/jeecgframework/core/util/IdcardUtils.java |
294 |
Found 'DD'-anomaly for variable 'info' (lines '294'-'295'). |
| 1651 |
src/org/jeecgframework/core/util/IdcardUtils.java |
314 |
Found 'DD'-anomaly for variable 'sum' (lines '314'-'318'). |
| 1652 |
src/org/jeecgframework/core/util/IdcardUtils.java |
316 |
Found 'DU'-anomaly for variable 'iflag' (lines '316'-'322'). |
| 1653 |
src/org/jeecgframework/core/util/IdcardUtils.java |
318 |
Do not add empty strings |
| 1654 |
src/org/jeecgframework/core/util/IdcardUtils.java |
319 |
Found 'DU'-anomaly for variable 'iflag' (lines '319'-'322'). |
| 1655 |
src/org/jeecgframework/core/util/IdcardUtils.java |
339 |
Found 'DD'-anomaly for variable 'sum' (lines '339'-'341'). |
| 1656 |
src/org/jeecgframework/core/util/IdcardUtils.java |
339 |
Found 'DD'-anomaly for variable 'sum' (lines '339'-'345'). |
| 1657 |
src/org/jeecgframework/core/util/IdcardUtils.java |
341 |
Found 'DD'-anomaly for variable 'sum' (lines '341'-'352'). |
| 1658 |
src/org/jeecgframework/core/util/IdcardUtils.java |
341 |
Found 'DD'-anomaly for variable 'sum' (lines '341'-'356'). |
| 1659 |
src/org/jeecgframework/core/util/IdcardUtils.java |
341 |
Found 'DD'-anomaly for variable 'sum' (lines '341'-'358'). |
| 1660 |
src/org/jeecgframework/core/util/IdcardUtils.java |
345 |
Found 'DD'-anomaly for variable 'sum' (lines '345'-'352'). |
| 1661 |
src/org/jeecgframework/core/util/IdcardUtils.java |
345 |
Found 'DD'-anomaly for variable 'sum' (lines '345'-'356'). |
| 1662 |
src/org/jeecgframework/core/util/IdcardUtils.java |
345 |
Found 'DD'-anomaly for variable 'sum' (lines '345'-'358'). |
| 1663 |
src/org/jeecgframework/core/util/IdcardUtils.java |
350 |
Found 'DU'-anomaly for variable 'iflag' (lines '350'-'361'). |
| 1664 |
src/org/jeecgframework/core/util/IdcardUtils.java |
352 |
Do not add empty strings |
| 1665 |
src/org/jeecgframework/core/util/IdcardUtils.java |
353 |
Found 'DU'-anomaly for variable 'iflag' (lines '353'-'361'). |
| 1666 |
src/org/jeecgframework/core/util/IdcardUtils.java |
355 |
Using equalsIgnoreCase() is cleaner than using toUpperCase/toLowerCase().equals(). |
| 1667 |
src/org/jeecgframework/core/util/IdcardUtils.java |
355 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 1668 |
src/org/jeecgframework/core/util/IdcardUtils.java |
370 |
Avoid variables with short names like ca |
| 1669 |
src/org/jeecgframework/core/util/IdcardUtils.java |
372 |
Found 'DD'-anomaly for variable 'iArr' (lines '372'-'375'). |
| 1670 |
src/org/jeecgframework/core/util/IdcardUtils.java |
375 |
Found 'DD'-anomaly for variable 'iArr' (lines '375'-'375'). |
| 1671 |
src/org/jeecgframework/core/util/IdcardUtils.java |
378 |
Avoid printStackTrace(); use a logger call instead. |
| 1672 |
src/org/jeecgframework/core/util/IdcardUtils.java |
390 |
Found 'DD'-anomaly for variable 'iSum' (lines '390'-'395'). |
| 1673 |
src/org/jeecgframework/core/util/IdcardUtils.java |
409 |
The method 'getCheckCode18' has a Cyclomatic Complexity of 12. |
| 1674 |
src/org/jeecgframework/core/util/IdcardUtils.java |
410 |
Found 'DD'-anomaly for variable 'sCode' (lines '410'-'413'). |
| 1675 |
src/org/jeecgframework/core/util/IdcardUtils.java |
410 |
Found 'DD'-anomaly for variable 'sCode' (lines '410'-'416'). |
| 1676 |
src/org/jeecgframework/core/util/IdcardUtils.java |
410 |
Found 'DD'-anomaly for variable 'sCode' (lines '410'-'419'). |
| 1677 |
src/org/jeecgframework/core/util/IdcardUtils.java |
410 |
Found 'DD'-anomaly for variable 'sCode' (lines '410'-'422'). |
| 1678 |
src/org/jeecgframework/core/util/IdcardUtils.java |
410 |
Found 'DD'-anomaly for variable 'sCode' (lines '410'-'425'). |
| 1679 |
src/org/jeecgframework/core/util/IdcardUtils.java |
410 |
Found 'DD'-anomaly for variable 'sCode' (lines '410'-'428'). |
| 1680 |
src/org/jeecgframework/core/util/IdcardUtils.java |
410 |
Found 'DD'-anomaly for variable 'sCode' (lines '410'-'431'). |
| 1681 |
src/org/jeecgframework/core/util/IdcardUtils.java |
410 |
Found 'DD'-anomaly for variable 'sCode' (lines '410'-'434'). |
| 1682 |
src/org/jeecgframework/core/util/IdcardUtils.java |
410 |
Found 'DD'-anomaly for variable 'sCode' (lines '410'-'437'). |
| 1683 |
src/org/jeecgframework/core/util/IdcardUtils.java |
410 |
Found 'DD'-anomaly for variable 'sCode' (lines '410'-'440'). |
| 1684 |
src/org/jeecgframework/core/util/IdcardUtils.java |
410 |
Found 'DD'-anomaly for variable 'sCode' (lines '410'-'443'). |
| 1685 |
src/org/jeecgframework/core/util/IdcardUtils.java |
411 |
Switch statements should have a default label |
| 1686 |
src/org/jeecgframework/core/util/IdcardUtils.java |
456 |
Avoid reassigning parameters such as 'idCard' |
| 1687 |
src/org/jeecgframework/core/util/IdcardUtils.java |
457 |
Found 'DD'-anomaly for variable 'iAge' (lines '457'-'464'). |
| 1688 |
src/org/jeecgframework/core/util/IdcardUtils.java |
474 |
Avoid reassigning parameters such as 'idCard' |
| 1689 |
src/org/jeecgframework/core/util/IdcardUtils.java |
490 |
Avoid reassigning parameters such as 'idCard' |
| 1690 |
src/org/jeecgframework/core/util/IdcardUtils.java |
507 |
Avoid reassigning parameters such as 'idCard' |
| 1691 |
src/org/jeecgframework/core/util/IdcardUtils.java |
524 |
Avoid reassigning parameters such as 'idCard' |
| 1692 |
src/org/jeecgframework/core/util/IdcardUtils.java |
541 |
Found 'DD'-anomaly for variable 'sGender' (lines '541'-'547'). |
| 1693 |
src/org/jeecgframework/core/util/IdcardUtils.java |
541 |
Found 'DD'-anomaly for variable 'sGender' (lines '541'-'549'). |
| 1694 |
src/org/jeecgframework/core/util/IdcardUtils.java |
546 |
Avoid if (x != y) ..; else ..; |
| 1695 |
src/org/jeecgframework/core/util/IdcardUtils.java |
562 |
Found 'DD'-anomaly for variable 'sProvince' (lines '562'-'567'). |
| 1696 |
src/org/jeecgframework/core/util/IdcardUtils.java |
563 |
Found 'DD'-anomaly for variable 'sProvinNum' (lines '563'-'565'). |
| 1697 |
src/org/jeecgframework/core/util/IdcardUtils.java |
610 |
Avoid variables with short names like dm |
| 1698 |
src/org/jeecgframework/core/util/ImportUtil.java |
8 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1699 |
src/org/jeecgframework/core/util/ImportUtil.java |
14 |
Parameter 'fullentity' is not assigned and could be declared final |
| 1700 |
src/org/jeecgframework/core/util/ImportUtil.java |
15 |
Found 'DD'-anomaly for variable 'entityClass' (lines '15'-'17'). |
| 1701 |
src/org/jeecgframework/core/util/ImportUtil.java |
19 |
Avoid printStackTrace(); use a logger call instead. |
| 1702 |
src/org/jeecgframework/core/util/IpUtil.java |
5 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1703 |
src/org/jeecgframework/core/util/IpUtil.java |
5 |
The class 'IpUtil' has a Cyclomatic Complexity of 12 (Highest = 11). |
| 1704 |
src/org/jeecgframework/core/util/IpUtil.java |
12 |
Parameter 'request' is not assigned and could be declared final |
| 1705 |
src/org/jeecgframework/core/util/IpUtil.java |
12 |
The method 'getIpAddr' has a Cyclomatic Complexity of 11. |
| 1706 |
src/org/jeecgframework/core/util/IpUtil.java |
13 |
Avoid variables with short names like ip |
| 1707 |
src/org/jeecgframework/core/util/IpUtil.java |
23 |
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! |
| 1708 |
src/org/jeecgframework/core/util/IpUtil.java |
23 |
Position literals first in String comparisons |
| 1709 |
src/org/jeecgframework/core/util/JSONHelper.java |
20 |
Avoid duplicate imports such as 'net.sf.json.JSONArray' |
| 1710 |
src/org/jeecgframework/core/util/JSONHelper.java |
21 |
Avoid duplicate imports such as 'net.sf.json.JSONObject' |
| 1711 |
src/org/jeecgframework/core/util/JSONHelper.java |
28 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1712 |
src/org/jeecgframework/core/util/JSONHelper.java |
28 |
This class has too many methods, consider refactoring it. |
| 1713 |
src/org/jeecgframework/core/util/JSONHelper.java |
29 |
Variables that are final and static should be in all caps. |
| 1714 |
src/org/jeecgframework/core/util/JSONHelper.java |
32 |
Parameter 'object' is not assigned and could be declared final |
| 1715 |
src/org/jeecgframework/core/util/JSONHelper.java |
33 |
Local variable 'jsonArray' could be declared final |
| 1716 |
src/org/jeecgframework/core/util/JSONHelper.java |
38 |
Parameter 'json' is not assigned and could be declared final |
| 1717 |
src/org/jeecgframework/core/util/JSONHelper.java |
38 |
Parameter 'valueClz' is not assigned and could be declared final |
| 1718 |
src/org/jeecgframework/core/util/JSONHelper.java |
39 |
Local variable 'jsonArray' could be declared final |
| 1719 |
src/org/jeecgframework/core/util/JSONHelper.java |
44 |
Parameter 'object' is not assigned and could be declared final |
| 1720 |
src/org/jeecgframework/core/util/JSONHelper.java |
45 |
Local variable 'jsonArray' could be declared final |
| 1721 |
src/org/jeecgframework/core/util/JSONHelper.java |
50 |
Parameter 'object' is not assigned and could be declared final |
| 1722 |
src/org/jeecgframework/core/util/JSONHelper.java |
51 |
Local variable 'jsonObject' could be declared final |
| 1723 |
src/org/jeecgframework/core/util/JSONHelper.java |
57 |
Local variable 'jsonObject' could be declared final |
| 1724 |
src/org/jeecgframework/core/util/JSONHelper.java |
96 |
A method should have only one exit point, and that should be the last statement in the method |
| 1725 |
src/org/jeecgframework/core/util/JSONHelper.java |
172 |
Avoid variables with short names like it |
| 1726 |
src/org/jeecgframework/core/util/JSONHelper.java |
226 |
Avoid using implementation types like 'HashMap'; use the interface instead |
| 1727 |
src/org/jeecgframework/core/util/JSONHelper.java |
226 |
Avoid using implementation types like 'HashMap'; use the interface instead |
| 1728 |
src/org/jeecgframework/core/util/JSONHelper.java |
229 |
Avoid variables with short names like it |
| 1729 |
src/org/jeecgframework/core/util/JSONHelper.java |
251 |
Avoid instantiating new objects inside loops |
| 1730 |
src/org/jeecgframework/core/util/JSONHelper.java |
252 |
Avoid variables with short names like it |
| 1731 |
src/org/jeecgframework/core/util/JSONHelper.java |
343 |
Avoid throwing raw exception types. |
| 1732 |
src/org/jeecgframework/core/util/JSONHelper.java |
343 |
New exception is thrown in catch block, original stack trace may be lost |
| 1733 |
src/org/jeecgframework/core/util/JSONHelper.java |
343 |
The String literal "Ö÷´Ó¹ØÏµJSON·´ÐòÁл¯ÊµÌåʧ°Ü£¡" appears 4 times in this file; the first occurrence is on line 343 |
| 1734 |
src/org/jeecgframework/core/util/JSONHelper.java |
384 |
Avoid throwing raw exception types. |
| 1735 |
src/org/jeecgframework/core/util/JSONHelper.java |
384 |
New exception is thrown in catch block, original stack trace may be lost |
| 1736 |
src/org/jeecgframework/core/util/JSONHelper.java |
433 |
Avoid throwing raw exception types. |
| 1737 |
src/org/jeecgframework/core/util/JSONHelper.java |
433 |
New exception is thrown in catch block, original stack trace may be lost |
| 1738 |
src/org/jeecgframework/core/util/JSONHelper.java |
453 |
Avoid using implementation types like 'HashMap'; use the interface instead |
| 1739 |
src/org/jeecgframework/core/util/JSONHelper.java |
453 |
Avoid using implementation types like 'HashMap'; use the interface instead |
| 1740 |
src/org/jeecgframework/core/util/JSONHelper.java |
461 |
Avoid throwing raw exception types. |
| 1741 |
src/org/jeecgframework/core/util/JSONHelper.java |
461 |
New exception is thrown in catch block, original stack trace may be lost |
| 1742 |
src/org/jeecgframework/core/util/JSONHelper.java |
467 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1743 |
src/org/jeecgframework/core/util/JSONHelper.java |
467 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1744 |
src/org/jeecgframework/core/util/JSONHelper.java |
468 |
Found 'DD'-anomaly for variable 'values' (lines '468'-'474'). |
| 1745 |
src/org/jeecgframework/core/util/JSONHelper.java |
468 |
Found 'DU'-anomaly for variable 'values' (lines '468'-'488'). |
| 1746 |
src/org/jeecgframework/core/util/JSONHelper.java |
469 |
Found 'DD'-anomaly for variable 'jsonTemp' (lines '469'-'471'). |
| 1747 |
src/org/jeecgframework/core/util/JSONHelper.java |
469 |
Found 'DD'-anomaly for variable 'jsonTemp' (lines '469'-'486'). |
| 1748 |
src/org/jeecgframework/core/util/JSONHelper.java |
471 |
Prefer StringBuffer over += for concatenating strings |
| 1749 |
src/org/jeecgframework/core/util/JSONHelper.java |
473 |
Avoid calling toString() on String objects; this is unnecessary. |
| 1750 |
src/org/jeecgframework/core/util/JSONHelper.java |
475 |
Prefer StringBuffer over += for concatenating strings |
| 1751 |
src/org/jeecgframework/core/util/JSONHelper.java |
477 |
Prefer StringBuffer over += for concatenating strings |
| 1752 |
src/org/jeecgframework/core/util/JSONHelper.java |
480 |
Avoid if (x != y) ..; else ..; |
| 1753 |
src/org/jeecgframework/core/util/JSONHelper.java |
481 |
Prefer StringBuffer over += for concatenating strings |
| 1754 |
src/org/jeecgframework/core/util/JSONHelper.java |
483 |
Prefer StringBuffer over += for concatenating strings |
| 1755 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
23 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1756 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
23 |
The class 'JeecgSqlUtil' has a Cyclomatic Complexity of 3 (Highest = 10). |
| 1757 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
37 |
Variables that are final and static should be in all caps. |
| 1758 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
50 |
Parameter 'file' is not assigned and could be declared final |
| 1759 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
61 |
Parameter 'encoding' is not assigned and could be declared final |
| 1760 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
61 |
Parameter 'file' is not assigned and could be declared final |
| 1761 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
63 |
Found 'DD'-anomaly for variable 'reader' (lines '63'-'65'). |
| 1762 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
67 |
Local variable 'builder' could be declared final |
| 1763 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
68 |
Local variable 'chars' could be declared final |
| 1764 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
70 |
Found 'DD'-anomaly for variable 'length' (lines '70'-'72'). |
| 1765 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
72 |
Avoid assignments in operands |
| 1766 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
72 |
Found 'DU'-anomaly for variable 'length' (lines '72'-'95'). |
| 1767 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
80 |
A throw statement in a finally block makes the control flow hard to understand. |
| 1768 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
84 |
Avoid using if statements without curly braces |
| 1769 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
89 |
Avoid throwing raw exception types. |
| 1770 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
103 |
Parameter 'fileUrl' is not assigned and could be declared final |
| 1771 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
105 |
Found 'DD'-anomaly for variable 'sql' (lines '105'-'107'). |
| 1772 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
109 |
Avoid printStackTrace(); use a logger call instead. |
| 1773 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
115 |
Parameter 'methodUrl' is not assigned and could be declared final |
| 1774 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
119 |
A method should have only one exit point, and that should be the last statement in the method |
| 1775 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
129 |
A method should have only one exit point, and that should be the last statement in the method |
| 1776 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
142 |
Local variable 'head' could be declared final |
| 1777 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
143 |
Local variable 'end' could be declared final |
| 1778 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
144 |
Found 'DD'-anomaly for variable 'sqlurl' (lines '144'-'145'). |
| 1779 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
146 |
Prefer StringBuffer over += for concatenating strings |
| 1780 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
148 |
Local variable 'projectPath' could be declared final |
| 1781 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
149 |
Prefer StringBuffer over += for concatenating strings |
| 1782 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
160 |
Avoid variables with short names like sb |
| 1783 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
163 |
Found 'DD'-anomaly for variable 'sqlurl' (lines '163'-'164'). |
| 1784 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
165 |
Prefer StringBuffer over += for concatenating strings |
| 1785 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
168 |
Avoid variables with short names like is |
| 1786 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
169 |
Avoid variables with short names like br |
| 1787 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
170 |
Avoid variables with short names like s |
| 1788 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
170 |
Found 'DD'-anomaly for variable 's' (lines '170'-'172'). |
| 1789 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
172 |
Avoid assignments in operands |
| 1790 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
172 |
Avoid using while statements without curly braces |
| 1791 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
172 |
Found 'DU'-anomaly for variable 's' (lines '172'-'178'). |
| 1792 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
173 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 1793 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
175 |
Avoid printStackTrace(); use a logger call instead. |
| 1794 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
187 |
Avoid reassigning parameters such as 'methodUrl' |
| 1795 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
195 |
Avoid variables with short names like sb |
| 1796 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
196 |
Found 'DU'-anomaly for variable 'num' (lines '196'-'215'). |
| 1797 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
197 |
Found 'DU'-anomaly for variable 'length' (lines '197'-'215'). |
| 1798 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
202 |
Avoid appending characters as strings in StringBuffer.append. |
| 1799 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
205 |
Avoid appending characters as strings in StringBuffer.append. |
| 1800 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
218 |
The method 'getAppPath' has a Cyclomatic Complexity of 10. |
| 1801 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
220 |
Avoid using if statements without curly braces |
| 1802 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
222 |
Found 'DU'-anomaly for variable 'loader' (lines '222'-'277'). |
| 1803 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
224 |
Found 'DD'-anomaly for variable 'clsName' (lines '224'-'235'). |
| 1804 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
224 |
Found 'DU'-anomaly for variable 'clsName' (lines '224'-'277'). |
| 1805 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
227 |
Found 'DD'-anomaly for variable 'path' (lines '227'-'238'). |
| 1806 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
227 |
Found 'DD'-anomaly for variable 'path' (lines '227'-'243'). |
| 1807 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
227 |
Found 'DD'-anomaly for variable 'path' (lines '227'-'247'). |
| 1808 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
227 |
Found 'DU'-anomaly for variable 'path' (lines '227'-'277'). |
| 1809 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
232 |
Avoid using if statements without curly braces |
| 1810 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
237 |
String.indexOf(char) is faster than String.indexOf(String). |
| 1811 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
238 |
Avoid using if...else statements without curly braces |
| 1812 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
240 |
Found 'DD'-anomaly for variable 'end' (lines '240'-'241'). |
| 1813 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
241 |
String.indexOf(char) is faster than String.indexOf(String). |
| 1814 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
243 |
Prefer StringBuffer over += for concatenating strings |
| 1815 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
245 |
String.indexOf(char) is faster than String.indexOf(String). |
| 1816 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
247 |
Prefer StringBuffer over += for concatenating strings |
| 1817 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
256 |
Avoid using if statements without curly braces |
| 1818 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
262 |
Avoid using if statements without curly braces |
| 1819 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
273 |
Avoid throwing raw exception types. |
| 1820 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
287 |
Avoid throwing raw exception types. |
| 1821 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
288 |
Avoid appending characters as strings in StringBuffer.append. |
| 1822 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
306 |
Found 'DD'-anomaly for variable 'countSql' (lines '306'-'313'). |
| 1823 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
306 |
Found 'DD'-anomaly for variable 'countSql' (lines '306'-'315'). |
| 1824 |
src/org/jeecgframework/core/util/JeecgSqlUtil.java |
308 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 1825 |
src/org/jeecgframework/core/util/ListtoJson.java |
8 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1826 |
src/org/jeecgframework/core/util/ListtoJson.java |
10 |
Parameter 'list' is not assigned and could be declared final |
| 1827 |
src/org/jeecgframework/core/util/ListtoJson.java |
12 |
Local variable 'buffer' could be declared final |
| 1828 |
src/org/jeecgframework/core/util/ListtoJson.java |
14 |
Avoid appending characters as strings in StringBuffer.append. |
| 1829 |
src/org/jeecgframework/core/util/ListtoJson.java |
18 |
Avoid appending characters as strings in StringBuffer.append. |
| 1830 |
src/org/jeecgframework/core/util/ListtoJson.java |
22 |
Found 'DD'-anomaly for variable 'tmp' (lines '22'-'24'). |
| 1831 |
src/org/jeecgframework/core/util/ListtoJson.java |
30 |
Use explicit scoping instead of the default package private level |
| 1832 |
src/org/jeecgframework/core/util/ListtoJson.java |
39 |
Parameter 'buffer' is not assigned and could be declared final |
| 1833 |
src/org/jeecgframework/core/util/ListtoJson.java |
39 |
Parameter 'list' is not assigned and could be declared final |
| 1834 |
src/org/jeecgframework/core/util/ListtoJson.java |
39 |
Parameter 'pid' is not assigned and could be declared final |
| 1835 |
src/org/jeecgframework/core/util/ListtoJson.java |
39 |
Use explicit scoping instead of the default package private level |
| 1836 |
src/org/jeecgframework/core/util/ListtoJson.java |
45 |
These nested if statements could be combined |
| 1837 |
src/org/jeecgframework/core/util/ListtoMenu.java |
3 |
Avoid unused imports such as 'java.util.Iterator' |
| 1838 |
src/org/jeecgframework/core/util/ListtoMenu.java |
3 |
Avoid unused imports such as 'java.util.Iterator' |
| 1839 |
src/org/jeecgframework/core/util/ListtoMenu.java |
6 |
Avoid unused imports such as 'java.util.Set' |
| 1840 |
src/org/jeecgframework/core/util/ListtoMenu.java |
6 |
Avoid unused imports such as 'java.util.Set' |
| 1841 |
src/org/jeecgframework/core/util/ListtoMenu.java |
18 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1842 |
src/org/jeecgframework/core/util/ListtoMenu.java |
18 |
The class 'ListtoMenu' has a Cyclomatic Complexity of 7 (Highest = 20). |
| 1843 |
src/org/jeecgframework/core/util/ListtoMenu.java |
26 |
Parameter 'set' is not assigned and could be declared final |
| 1844 |
src/org/jeecgframework/core/util/ListtoMenu.java |
26 |
Parameter 'set1' is not assigned and could be declared final |
| 1845 |
src/org/jeecgframework/core/util/ListtoMenu.java |
27 |
Local variable 'buffer' could be declared final |
| 1846 |
src/org/jeecgframework/core/util/ListtoMenu.java |
27 |
StringBuffer constructor is initialized with size 16, but has at least 77 characters appended. |
| 1847 |
src/org/jeecgframework/core/util/ListtoMenu.java |
30 |
Found 'DD'-anomaly for variable 'iconClas' (lines '30'-'32'). |
| 1848 |
src/org/jeecgframework/core/util/ListtoMenu.java |
44 |
Found 'DD'-anomaly for variable 'tmp' (lines '44'-'46'). |
| 1849 |
src/org/jeecgframework/core/util/ListtoMenu.java |
52 |
Use explicit scoping instead of the default package private level |
| 1850 |
src/org/jeecgframework/core/util/ListtoMenu.java |
58 |
Parameter 'buffer' is not assigned and could be declared final |
| 1851 |
src/org/jeecgframework/core/util/ListtoMenu.java |
58 |
Parameter 'pid' is not assigned and could be declared final |
| 1852 |
src/org/jeecgframework/core/util/ListtoMenu.java |
58 |
Parameter 'set1' is not assigned and could be declared final |
| 1853 |
src/org/jeecgframework/core/util/ListtoMenu.java |
58 |
Use explicit scoping instead of the default package private level |
| 1854 |
src/org/jeecgframework/core/util/ListtoMenu.java |
90 |
Local variable 'menuString' could be declared final |
| 1855 |
src/org/jeecgframework/core/util/ListtoMenu.java |
90 |
StringBuffer constructor is initialized with size 16, but has at least 222 characters appended. |
| 1856 |
src/org/jeecgframework/core/util/ListtoMenu.java |
91 |
The String literal "<ul>" appears 4 times in this file; the first occurrence is on line 91 |
| 1857 |
src/org/jeecgframework/core/util/ListtoMenu.java |
96 |
Local variable 'submenusize' could be declared final |
| 1858 |
src/org/jeecgframework/core/util/ListtoMenu.java |
131 |
Local variable 'menuString' could be declared final |
| 1859 |
src/org/jeecgframework/core/util/ListtoMenu.java |
131 |
StringBuffer constructor is initialized with size 16, but has at least 254 characters appended. |
| 1860 |
src/org/jeecgframework/core/util/ListtoMenu.java |
134 |
The String literal "\" iconCls=\"" appears 6 times in this file; the first occurrence is on line 134 |
| 1861 |
src/org/jeecgframework/core/util/ListtoMenu.java |
136 |
Local variable 'submenusize' could be declared final |
| 1862 |
src/org/jeecgframework/core/util/ListtoMenu.java |
138 |
The String literal "</div>" appears 4 times in this file; the first occurrence is on line 138 |
| 1863 |
src/org/jeecgframework/core/util/ListtoMenu.java |
146 |
Found 'DD'-anomaly for variable 'icon' (lines '146'-'148'). |
| 1864 |
src/org/jeecgframework/core/util/ListtoMenu.java |
152 |
The String literal "\',\'" appears 7 times in this file; the first occurrence is on line 152 |
| 1865 |
src/org/jeecgframework/core/util/ListtoMenu.java |
153 |
The String literal "&clickFunctionId=" appears 4 times in this file; the first occurrence is on line 153 |
| 1866 |
src/org/jeecgframework/core/util/ListtoMenu.java |
182 |
StringBuffer constructor is initialized with size 16, but has at least 52 characters appended. |
| 1867 |
src/org/jeecgframework/core/util/ListtoMenu.java |
209 |
The method 'getEasyuiMultistageTree' has a Cyclomatic Complexity of 15. |
| 1868 |
src/org/jeecgframework/core/util/ListtoMenu.java |
210 |
A method should have only one exit point, and that should be the last statement in the method |
| 1869 |
src/org/jeecgframework/core/util/ListtoMenu.java |
210 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 1870 |
src/org/jeecgframework/core/util/ListtoMenu.java |
212 |
Found 'DU'-anomaly for variable 'list' (lines '212'-'255'). |
| 1871 |
src/org/jeecgframework/core/util/ListtoMenu.java |
213 |
Found 'DU'-anomaly for variable 'curIndex' (lines '213'-'255'). |
| 1872 |
src/org/jeecgframework/core/util/ListtoMenu.java |
233 |
Found 'DU'-anomaly for variable 'curIndex' (lines '233'-'255'). |
| 1873 |
src/org/jeecgframework/core/util/ListtoMenu.java |
272 |
StringBuffer.append is called 3 consecutive times with literal Strings. Use a single append with a single String. |
| 1874 |
src/org/jeecgframework/core/util/ListtoMenu.java |
278 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 1875 |
src/org/jeecgframework/core/util/ListtoMenu.java |
300 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 1876 |
src/org/jeecgframework/core/util/ListtoMenu.java |
315 |
StringBuffer constructor is initialized with size 16, but has at least 203 characters appended. |
| 1877 |
src/org/jeecgframework/core/util/ListtoMenu.java |
316 |
Found 'DD'-anomaly for variable 'icon' (lines '316'-'318'). |
| 1878 |
src/org/jeecgframework/core/util/ListtoMenu.java |
350 |
Found 'DD'-anomaly for variable 'icon' (lines '350'-'352'). |
| 1879 |
src/org/jeecgframework/core/util/ListtoMenu.java |
383 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 1880 |
src/org/jeecgframework/core/util/ListtoMenu.java |
384 |
A method should have only one exit point, and that should be the last statement in the method |
| 1881 |
src/org/jeecgframework/core/util/ListtoMenu.java |
391 |
StringBuffer.append is called 3 consecutive times with literal Strings. Use a single append with a single String. |
| 1882 |
src/org/jeecgframework/core/util/ListtoMenu.java |
417 |
Found 'DU'-anomaly for variable 'menuString' (lines '417'-'447'). |
| 1883 |
src/org/jeecgframework/core/util/ListtoMenu.java |
419 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 1884 |
src/org/jeecgframework/core/util/ListtoMenu.java |
420 |
A method should have only one exit point, and that should be the last statement in the method |
| 1885 |
src/org/jeecgframework/core/util/ListtoMenu.java |
428 |
Prefer StringBuffer over += for concatenating strings |
| 1886 |
src/org/jeecgframework/core/util/ListtoMenu.java |
434 |
StringBuffer.append is called 3 consecutive times with literal Strings. Use a single append with a single String. |
| 1887 |
src/org/jeecgframework/core/util/ListtoMenu.java |
458 |
Found 'DD'-anomaly for variable 'menu' (lines '458'-'498'). |
| 1888 |
src/org/jeecgframework/core/util/ListtoMenu.java |
458 |
Found 'DU'-anomaly for variable 'menu' (lines '458'-'514'). |
| 1889 |
src/org/jeecgframework/core/util/ListtoMenu.java |
459 |
Found 'DD'-anomaly for variable 'desk' (lines '459'-'505'). |
| 1890 |
src/org/jeecgframework/core/util/ListtoMenu.java |
459 |
Found 'DU'-anomaly for variable 'desk' (lines '459'-'514'). |
| 1891 |
src/org/jeecgframework/core/util/ListtoMenu.java |
460 |
Found 'DD'-anomaly for variable 'data' (lines '460'-'502'). |
| 1892 |
src/org/jeecgframework/core/util/ListtoMenu.java |
460 |
Found 'DU'-anomaly for variable 'data' (lines '460'-'514'). |
| 1893 |
src/org/jeecgframework/core/util/ListtoMenu.java |
464 |
Avoid appending characters as strings in StringBuffer.append. |
| 1894 |
src/org/jeecgframework/core/util/ListtoMenu.java |
468 |
Avoid appending characters as strings in StringBuffer.append. |
| 1895 |
src/org/jeecgframework/core/util/ListtoMenu.java |
471 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 1896 |
src/org/jeecgframework/core/util/ListtoMenu.java |
472 |
A method should have only one exit point, and that should be the last statement in the method |
| 1897 |
src/org/jeecgframework/core/util/ListtoMenu.java |
474 |
Avoid variables with short names like n |
| 1898 |
src/org/jeecgframework/core/util/ListtoMenu.java |
474 |
Found 'DD'-anomaly for variable 'n' (lines '474'-'509'). |
| 1899 |
src/org/jeecgframework/core/util/ListtoMenu.java |
495 |
Found 'DD'-anomaly for variable 'n' (lines '495'-'509'). |
| 1900 |
src/org/jeecgframework/core/util/ListtoMenu.java |
500 |
Prefer StringBuffer over += for concatenating strings |
| 1901 |
src/org/jeecgframework/core/util/ListtoMenu.java |
502 |
This is an inefficient use of StringBuffer.toString; call StringBuffer.length instead. |
| 1902 |
src/org/jeecgframework/core/util/ListtoMenu.java |
503 |
Prefer StringBuffer over += for concatenating strings |
| 1903 |
src/org/jeecgframework/core/util/ListtoMenu.java |
505 |
This is an inefficient use of StringBuffer.toString; call StringBuffer.length instead. |
| 1904 |
src/org/jeecgframework/core/util/ListtoMenu.java |
506 |
Prefer StringBuffer over += for concatenating strings |
| 1905 |
src/org/jeecgframework/core/util/ListtoMenu.java |
524 |
Avoid unused private methods such as 'getWebosChild(TSFunction,int,Map)'. |
| 1906 |
src/org/jeecgframework/core/util/ListtoMenu.java |
525 |
Found 'DU'-anomaly for variable 'menuString' (lines '525'-'551'). |
| 1907 |
src/org/jeecgframework/core/util/ListtoMenu.java |
526 |
Found 'DD'-anomaly for variable 'menu' (lines '526'-'549'). |
| 1908 |
src/org/jeecgframework/core/util/ListtoMenu.java |
526 |
Found 'DU'-anomaly for variable 'menu' (lines '526'-'551'). |
| 1909 |
src/org/jeecgframework/core/util/ListtoMenu.java |
528 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 1910 |
src/org/jeecgframework/core/util/ListtoMenu.java |
529 |
A method should have only one exit point, and that should be the last statement in the method |
| 1911 |
src/org/jeecgframework/core/util/ListtoMenu.java |
546 |
Avoid appending characters as strings in StringBuffer.append. |
| 1912 |
src/org/jeecgframework/core/util/ListtoMenu.java |
553 |
Found 'DU'-anomaly for variable 'DeskpanelString' (lines '553'-'566'). |
| 1913 |
src/org/jeecgframework/core/util/ListtoMenu.java |
554 |
Found 'DD'-anomaly for variable 'desk' (lines '554'-'564'). |
| 1914 |
src/org/jeecgframework/core/util/ListtoMenu.java |
554 |
Found 'DU'-anomaly for variable 'desk' (lines '554'-'566'). |
| 1915 |
src/org/jeecgframework/core/util/ListtoMenu.java |
568 |
Found 'DU'-anomaly for variable 'dataString' (lines '568'-'588'). |
| 1916 |
src/org/jeecgframework/core/util/ListtoMenu.java |
569 |
Found 'DD'-anomaly for variable 'data' (lines '569'-'586'). |
| 1917 |
src/org/jeecgframework/core/util/ListtoMenu.java |
569 |
Found 'DU'-anomaly for variable 'data' (lines '569'-'588'). |
| 1918 |
src/org/jeecgframework/core/util/ListtoMenu.java |
581 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 1919 |
src/org/jeecgframework/core/util/ListtoMenu.java |
593 |
Found 'DD'-anomaly for variable 'colName' (lines '593'-'594'). |
| 1920 |
src/org/jeecgframework/core/util/ListtoMenu.java |
594 |
Prefer StringBuffer over += for concatenating strings |
| 1921 |
src/org/jeecgframework/core/util/ListtoMenu.java |
603 |
Avoid unused private methods such as 'getIconandName(String)'. |
| 1922 |
src/org/jeecgframework/core/util/ListtoMenu.java |
603 |
The method 'getIconandName' has a Cyclomatic Complexity of 20. |
| 1923 |
src/org/jeecgframework/core/util/LogUtil.java |
17 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1924 |
src/org/jeecgframework/core/util/LogUtil.java |
17 |
This class has too many methods, consider refactoring it. |
| 1925 |
src/org/jeecgframework/core/util/LogUtil.java |
21 |
The Logger variable declaration does not contain the static and final modifiers |
| 1926 |
src/org/jeecgframework/core/util/LogUtil.java |
24 |
Singleton is not thread safe |
| 1927 |
src/org/jeecgframework/core/util/LogUtil.java |
42 |
Parameter 'exception' is not assigned and could be declared final |
| 1928 |
src/org/jeecgframework/core/util/LogUtil.java |
42 |
Parameter 'message' is not assigned and could be declared final |
| 1929 |
src/org/jeecgframework/core/util/LogUtil.java |
45 |
Avoid empty catch blocks |
| 1930 |
src/org/jeecgframework/core/util/LogUtil.java |
54 |
Parameter 'message' is not assigned and could be declared final |
| 1931 |
src/org/jeecgframework/core/util/LogUtil.java |
61 |
Parameter 'message' is not assigned and could be declared final |
| 1932 |
src/org/jeecgframework/core/util/LogUtil.java |
64 |
Avoid empty catch blocks |
| 1933 |
src/org/jeecgframework/core/util/LogUtil.java |
68 |
Parameter 'exception' is not assigned and could be declared final |
| 1934 |
src/org/jeecgframework/core/util/LogUtil.java |
71 |
Avoid empty catch blocks |
| 1935 |
src/org/jeecgframework/core/util/LogUtil.java |
83 |
Avoid empty catch blocks |
| 1936 |
src/org/jeecgframework/core/util/LogUtil.java |
95 |
Avoid empty catch blocks |
| 1937 |
src/org/jeecgframework/core/util/LogUtil.java |
193 |
Avoid variables with short names like e |
| 1938 |
src/org/jeecgframework/core/util/LogUtil.java |
197 |
Avoid variables with short names like e |
| 1939 |
src/org/jeecgframework/core/util/LogUtil.java |
199 |
Avoid variables with short names like sb |
| 1940 |
src/org/jeecgframework/core/util/LogUtil.java |
199 |
Local variable 'sb' could be declared final |
| 1941 |
src/org/jeecgframework/core/util/LogUtil.java |
200 |
Avoid throwing raw exception types. |
| 1942 |
src/org/jeecgframework/core/util/LogUtil.java |
200 |
Avoid variables with short names like t |
| 1943 |
src/org/jeecgframework/core/util/LogUtil.java |
200 |
Local variable 't' could be declared final |
| 1944 |
src/org/jeecgframework/core/util/LogUtil.java |
201 |
Avoid variables with short names like sw |
| 1945 |
src/org/jeecgframework/core/util/LogUtil.java |
201 |
Local variable 'sw' could be declared final |
| 1946 |
src/org/jeecgframework/core/util/LogUtil.java |
202 |
Local variable 'pw' could be declared final |
| 1947 |
src/org/jeecgframework/core/util/LogUtil.java |
204 |
Local variable 'input' could be declared final |
| 1948 |
src/org/jeecgframework/core/util/LogUtil.java |
207 |
Avoid using for statements without curly braces |
| 1949 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
19 |
The class 'MyBeanUtils' has a Cyclomatic Complexity of 8 (Highest = 17). |
| 1950 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
20 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1951 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
22 |
Parameter 'dest' is not assigned and could be declared final |
| 1952 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
22 |
Parameter 'orig' is not assigned and could be declared final |
| 1953 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
22 |
The method 'convert' has a Cyclomatic Complexity of 17. |
| 1954 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
36 |
Local variable 'origDescriptors' could be declared final |
| 1955 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
39 |
Local variable 'name' could be declared final |
| 1956 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
41 |
Local variable 'value' could be declared final |
| 1957 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
46 |
An empty statement (semicolon) not part of a loop |
| 1958 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
53 |
Local variable 'names' could be declared final |
| 1959 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
55 |
Local variable 'name' could be declared final |
| 1960 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
62 |
An empty statement (semicolon) not part of a loop |
| 1961 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
86 |
An empty statement (semicolon) not part of a loop |
| 1962 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
89 |
An empty statement (semicolon) not part of a loop |
| 1963 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
108 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1964 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
108 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1965 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
108 |
Parameter 'databean' is not assigned and could be declared final |
| 1966 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
108 |
Parameter 'tobean' is not assigned and could be declared final |
| 1967 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
125 |
An empty statement (semicolon) not part of a loop |
| 1968 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
143 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1969 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
143 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 1970 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
143 |
Parameter 'dest' is not assigned and could be declared final |
| 1971 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
151 |
Avoid variables with short names like pd |
| 1972 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
156 |
Avoid empty catch blocks |
| 1973 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
158 |
Avoid empty catch blocks |
| 1974 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
160 |
Avoid empty catch blocks |
| 1975 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
173 |
The method 'copyMap2Bean' has a Cyclomatic Complexity of 10. |
| 1976 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
195 |
These nested if statements could be combined |
| 1977 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
216 |
Method names should not contain underscores |
| 1978 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
244 |
Avoid instantiating new objects inside loops |
| 1979 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
268 |
The method 'copyMap2Bean' has a Cyclomatic Complexity of 12. |
| 1980 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
290 |
These nested if statements could be combined |
| 1981 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
295 |
These nested if statements could be combined |
| 1982 |
src/org/jeecgframework/core/util/MyBeanUtils.java |
307 |
Avoid unnecessary constructors - the compiler will generate these for you |
| 1983 |
src/org/jeecgframework/core/util/MyClassLoader.java |
8 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 1984 |
src/org/jeecgframework/core/util/MyClassLoader.java |
8 |
The class 'MyClassLoader' has a Cyclomatic Complexity of 5 (Highest = 10). |
| 1985 |
src/org/jeecgframework/core/util/MyClassLoader.java |
9 |
Parameter 'className' is not assigned and could be declared final |
| 1986 |
src/org/jeecgframework/core/util/MyClassLoader.java |
10 |
Found 'DD'-anomaly for variable 'myclass' (lines '10'-'12'). |
| 1987 |
src/org/jeecgframework/core/util/MyClassLoader.java |
14 |
Avoid printStackTrace(); use a logger call instead. |
| 1988 |
src/org/jeecgframework/core/util/MyClassLoader.java |
20 |
Parameter 'object' is not assigned and could be declared final |
| 1989 |
src/org/jeecgframework/core/util/MyClassLoader.java |
22 |
Avoid using if statements without curly braces |
| 1990 |
src/org/jeecgframework/core/util/MyClassLoader.java |
25 |
Local variable 'clsName' could be declared final |
| 1991 |
src/org/jeecgframework/core/util/MyClassLoader.java |
26 |
Consider simply returning the value vs storing it in local variable 'clsName' |
| 1992 |
src/org/jeecgframework/core/util/MyClassLoader.java |
29 |
Parameter 'cls' is not assigned and could be declared final |
| 1993 |
src/org/jeecgframework/core/util/MyClassLoader.java |
29 |
The method 'getAppPath' has a Cyclomatic Complexity of 10. |
| 1994 |
src/org/jeecgframework/core/util/MyClassLoader.java |
31 |
Avoid using if statements without curly braces |
| 1995 |
src/org/jeecgframework/core/util/MyClassLoader.java |
33 |
Found 'DU'-anomaly for variable 'loader' (lines '33'-'87'). |
| 1996 |
src/org/jeecgframework/core/util/MyClassLoader.java |
33 |
Local variable 'loader' could be declared final |
| 1997 |
src/org/jeecgframework/core/util/MyClassLoader.java |
35 |
Found 'DD'-anomaly for variable 'clsName' (lines '35'-'46'). |
| 1998 |
src/org/jeecgframework/core/util/MyClassLoader.java |
35 |
Found 'DU'-anomaly for variable 'clsName' (lines '35'-'87'). |
| 1999 |
src/org/jeecgframework/core/util/MyClassLoader.java |
37 |
Local variable 'pack' could be declared final |
| 2000 |
src/org/jeecgframework/core/util/MyClassLoader.java |
38 |
Found 'DD'-anomaly for variable 'path' (lines '38'-'49'). |
| 2001 |
src/org/jeecgframework/core/util/MyClassLoader.java |
38 |
Found 'DD'-anomaly for variable 'path' (lines '38'-'54'). |
| 2002 |
src/org/jeecgframework/core/util/MyClassLoader.java |
38 |
Found 'DD'-anomaly for variable 'path' (lines '38'-'58'). |
| 2003 |
src/org/jeecgframework/core/util/MyClassLoader.java |
38 |
Found 'DU'-anomaly for variable 'path' (lines '38'-'87'). |
| 2004 |
src/org/jeecgframework/core/util/MyClassLoader.java |
41 |
Local variable 'packName' could be declared final |
| 2005 |
src/org/jeecgframework/core/util/MyClassLoader.java |
43 |
Avoid using if statements without curly braces |
| 2006 |
src/org/jeecgframework/core/util/MyClassLoader.java |
48 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2007 |
src/org/jeecgframework/core/util/MyClassLoader.java |
49 |
Avoid using if...else statements without curly braces |
| 2008 |
src/org/jeecgframework/core/util/MyClassLoader.java |
51 |
Found 'DD'-anomaly for variable 'end' (lines '51'-'52'). |
| 2009 |
src/org/jeecgframework/core/util/MyClassLoader.java |
52 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2010 |
src/org/jeecgframework/core/util/MyClassLoader.java |
54 |
Prefer StringBuffer over += for concatenating strings |
| 2011 |
src/org/jeecgframework/core/util/MyClassLoader.java |
56 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2012 |
src/org/jeecgframework/core/util/MyClassLoader.java |
58 |
Prefer StringBuffer over += for concatenating strings |
| 2013 |
src/org/jeecgframework/core/util/MyClassLoader.java |
62 |
Local variable 'url' could be declared final |
| 2014 |
src/org/jeecgframework/core/util/MyClassLoader.java |
67 |
Avoid using if statements without curly braces |
| 2015 |
src/org/jeecgframework/core/util/MyClassLoader.java |
73 |
Avoid using if statements without curly braces |
| 2016 |
src/org/jeecgframework/core/util/MyClassLoader.java |
84 |
Avoid throwing raw exception types. |
| 2017 |
src/org/jeecgframework/core/util/NumberComparator.java |
14 |
The class 'NumberComparator' has a Cyclomatic Complexity of 5 (Highest = 13). |
| 2018 |
src/org/jeecgframework/core/util/NumberComparator.java |
15 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 2019 |
src/org/jeecgframework/core/util/NumberComparator.java |
17 |
Document empty constructor |
| 2020 |
src/org/jeecgframework/core/util/NumberComparator.java |
20 |
Parameter 'ignoreCase' is not assigned and could be declared final |
| 2021 |
src/org/jeecgframework/core/util/NumberComparator.java |
24 |
Parameter 'obj1' is not assigned and could be declared final |
| 2022 |
src/org/jeecgframework/core/util/NumberComparator.java |
24 |
Parameter 'obj2' is not assigned and could be declared final |
| 2023 |
src/org/jeecgframework/core/util/NumberComparator.java |
24 |
The method 'compare' has a Cyclomatic Complexity of 13. |
| 2024 |
src/org/jeecgframework/core/util/NumberComparator.java |
25 |
Avoid variables with short names like o1 |
| 2025 |
src/org/jeecgframework/core/util/NumberComparator.java |
25 |
Found 'DD'-anomaly for variable 'o1' (lines '25'-'30'). |
| 2026 |
src/org/jeecgframework/core/util/NumberComparator.java |
26 |
Avoid variables with short names like o2 |
| 2027 |
src/org/jeecgframework/core/util/NumberComparator.java |
26 |
Found 'DD'-anomaly for variable 'o2' (lines '26'-'31'). |
| 2028 |
src/org/jeecgframework/core/util/NumberComparator.java |
28 |
Avoid variables with short names like c1 |
| 2029 |
src/org/jeecgframework/core/util/NumberComparator.java |
28 |
Local variable 'c1' could be declared final |
| 2030 |
src/org/jeecgframework/core/util/NumberComparator.java |
29 |
Avoid variables with short names like c2 |
| 2031 |
src/org/jeecgframework/core/util/NumberComparator.java |
29 |
Local variable 'c2' could be declared final |
| 2032 |
src/org/jeecgframework/core/util/NumberComparator.java |
36 |
A method should have only one exit point, and that should be the last statement in the method |
| 2033 |
src/org/jeecgframework/core/util/NumberComparator.java |
38 |
A method should have only one exit point, and that should be the last statement in the method |
| 2034 |
src/org/jeecgframework/core/util/NumberComparator.java |
40 |
Local variable 'ch1' could be declared final |
| 2035 |
src/org/jeecgframework/core/util/NumberComparator.java |
41 |
Local variable 'ch2' could be declared final |
| 2036 |
src/org/jeecgframework/core/util/NumberComparator.java |
43 |
Avoid variables with short names like i1 |
| 2037 |
src/org/jeecgframework/core/util/NumberComparator.java |
43 |
Local variable 'i1' could be declared final |
| 2038 |
src/org/jeecgframework/core/util/NumberComparator.java |
48 |
A method should have only one exit point, and that should be the last statement in the method |
| 2039 |
src/org/jeecgframework/core/util/NumberComparator.java |
51 |
A method should have only one exit point, and that should be the last statement in the method |
| 2040 |
src/org/jeecgframework/core/util/NumberComparator.java |
58 |
Parameter 'str' is not assigned and could be declared final |
| 2041 |
src/org/jeecgframework/core/util/NumberComparator.java |
59 |
Found 'DD'-anomaly for variable 'num' (lines '59'-'69'). |
| 2042 |
src/org/jeecgframework/core/util/NumberComparator.java |
60 |
Found 'DD'-anomaly for variable 'bits' (lines '60'-'63'). |
| 2043 |
src/org/jeecgframework/core/util/NumberComparator.java |
63 |
Found 'DD'-anomaly for variable 'bits' (lines '63'-'63'). |
| 2044 |
src/org/jeecgframework/core/util/PasswordUtil.java |
10 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 2045 |
src/org/jeecgframework/core/util/PasswordUtil.java |
21 |
Variables that are final and static should be in all caps. |
| 2046 |
src/org/jeecgframework/core/util/PasswordUtil.java |
33 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2047 |
src/org/jeecgframework/core/util/PasswordUtil.java |
33 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2048 |
src/org/jeecgframework/core/util/PasswordUtil.java |
35 |
Local variable 'random' could be declared final |
| 2049 |
src/org/jeecgframework/core/util/PasswordUtil.java |
52 |
Parameter 'password' is not assigned and could be declared final |
| 2050 |
src/org/jeecgframework/core/util/PasswordUtil.java |
55 |
Found 'DD'-anomaly for variable 'secretKey' (lines '55'-'61'). |
| 2051 |
src/org/jeecgframework/core/util/PasswordUtil.java |
59 |
Local variable 'keySpec' could be declared final |
| 2052 |
src/org/jeecgframework/core/util/PasswordUtil.java |
64 |
Avoid printStackTrace(); use a logger call instead. |
| 2053 |
src/org/jeecgframework/core/util/PasswordUtil.java |
82 |
Parameter 'password' is not assigned and could be declared final |
| 2054 |
src/org/jeecgframework/core/util/PasswordUtil.java |
82 |
Parameter 'plaintext' is not assigned and could be declared final |
| 2055 |
src/org/jeecgframework/core/util/PasswordUtil.java |
82 |
Parameter 'salt' is not assigned and could be declared final |
| 2056 |
src/org/jeecgframework/core/util/PasswordUtil.java |
84 |
Local variable 'key' could be declared final |
| 2057 |
src/org/jeecgframework/core/util/PasswordUtil.java |
85 |
Found 'DD'-anomaly for variable 'encipheredData' (lines '85'-'92'). |
| 2058 |
src/org/jeecgframework/core/util/PasswordUtil.java |
86 |
Local variable 'parameterSpec' could be declared final |
| 2059 |
src/org/jeecgframework/core/util/PasswordUtil.java |
88 |
Local variable 'cipher' could be declared final |
| 2060 |
src/org/jeecgframework/core/util/PasswordUtil.java |
93 |
Avoid empty catch blocks |
| 2061 |
src/org/jeecgframework/core/util/PasswordUtil.java |
110 |
Parameter 'ciphertext' is not assigned and could be declared final |
| 2062 |
src/org/jeecgframework/core/util/PasswordUtil.java |
113 |
Found 'DD'-anomaly for variable 'passDec' (lines '113'-'120'). |
| 2063 |
src/org/jeecgframework/core/util/PasswordUtil.java |
123 |
Avoid empty catch blocks |
| 2064 |
src/org/jeecgframework/core/util/PasswordUtil.java |
137 |
Found 'DU'-anomaly for variable 'stringBuilder' (lines '137'-'150'). |
| 2065 |
src/org/jeecgframework/core/util/PasswordUtil.java |
139 |
A method should have only one exit point, and that should be the last statement in the method |
| 2066 |
src/org/jeecgframework/core/util/PasswordUtil.java |
142 |
Avoid variables with short names like v |
| 2067 |
src/org/jeecgframework/core/util/PasswordUtil.java |
143 |
Avoid variables with short names like hv |
| 2068 |
src/org/jeecgframework/core/util/PasswordUtil.java |
159 |
Avoid reassigning parameters such as 'hexString' |
| 2069 |
src/org/jeecgframework/core/util/PasswordUtil.java |
161 |
A method should have only one exit point, and that should be the last statement in the method |
| 2070 |
src/org/jeecgframework/core/util/PasswordUtil.java |
163 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 2071 |
src/org/jeecgframework/core/util/PasswordUtil.java |
165 |
Found 'DU'-anomaly for variable 'hexChars' (lines '165'-'172'). |
| 2072 |
src/org/jeecgframework/core/util/PasswordUtil.java |
166 |
Avoid variables with short names like d |
| 2073 |
src/org/jeecgframework/core/util/PasswordUtil.java |
166 |
Found 'DD'-anomaly for variable 'd' (lines '166'-'169'). |
| 2074 |
src/org/jeecgframework/core/util/PasswordUtil.java |
169 |
Found 'DD'-anomaly for variable 'd' (lines '169'-'169'). |
| 2075 |
src/org/jeecgframework/core/util/PasswordUtil.java |
174 |
Avoid variables with short names like c |
| 2076 |
src/org/jeecgframework/core/util/PasswordUtil.java |
179 |
Avoid variables with short names like i |
| 2077 |
src/org/jeecgframework/core/util/PasswordUtil.java |
183 |
System.out.print is used |
| 2078 |
src/org/jeecgframework/core/util/PasswordUtil.java |
186 |
System.out.print is used |
| 2079 |
src/org/jeecgframework/core/util/PasswordUtil.java |
189 |
System.out.print is used |
| 2080 |
src/org/jeecgframework/core/util/PasswordUtil.java |
203 |
Avoid printStackTrace(); use a logger call instead. |
| 2081 |
src/org/jeecgframework/core/util/PinyinUtil.java |
18 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 2082 |
src/org/jeecgframework/core/util/PinyinUtil.java |
18 |
The class 'PinyinUtil' has a Cyclomatic Complexity of 3 (Highest = 11). |
| 2083 |
src/org/jeecgframework/core/util/PinyinUtil.java |
18 |
This class has too many methods, consider refactoring it. |
| 2084 |
src/org/jeecgframework/core/util/PinyinUtil.java |
31 |
Parameter 'src' is not assigned and could be declared final |
| 2085 |
src/org/jeecgframework/core/util/PinyinUtil.java |
48 |
Parameter 'separator' is not assigned and could be declared final |
| 2086 |
src/org/jeecgframework/core/util/PinyinUtil.java |
48 |
Parameter 'src' is not assigned and could be declared final |
| 2087 |
src/org/jeecgframework/core/util/PinyinUtil.java |
73 |
Parameter 'isPolyphone' is not assigned and could be declared final |
| 2088 |
src/org/jeecgframework/core/util/PinyinUtil.java |
73 |
Parameter 'src' is not assigned and could be declared final |
| 2089 |
src/org/jeecgframework/core/util/PinyinUtil.java |
81 |
A method should have only one exit point, and that should be the last statement in the method |
| 2090 |
src/org/jeecgframework/core/util/PinyinUtil.java |
85 |
Local variable 'srcChar' could be declared final |
| 2091 |
src/org/jeecgframework/core/util/PinyinUtil.java |
87 |
Local variable 'srcCount' could be declared final |
| 2092 |
src/org/jeecgframework/core/util/PinyinUtil.java |
89 |
Found 'DD'-anomaly for variable 'srcStr' (lines '89'-'93'). |
| 2093 |
src/org/jeecgframework/core/util/PinyinUtil.java |
93 |
Found 'DD'-anomaly for variable 'srcStr' (lines '93'-'93'). |
| 2094 |
src/org/jeecgframework/core/util/PinyinUtil.java |
118 |
Local variable 'defaultFormat' could be declared final |
| 2095 |
src/org/jeecgframework/core/util/PinyinUtil.java |
126 |
Local variable 'tempPinying' could be declared final |
| 2096 |
src/org/jeecgframework/core/util/PinyinUtil.java |
136 |
Local variable 'strs' could be declared final |
| 2097 |
src/org/jeecgframework/core/util/PinyinUtil.java |
166 |
Avoid printStackTrace(); use a logger call instead. |
| 2098 |
src/org/jeecgframework/core/util/PinyinUtil.java |
210 |
Found 'DD'-anomaly for variable 'pinyingStr' (lines '210'-'214'). |
| 2099 |
src/org/jeecgframework/core/util/PinyinUtil.java |
219 |
Avoid printStackTrace(); use a logger call instead. |
| 2100 |
src/org/jeecgframework/core/util/PinyinUtil.java |
241 |
Avoid variables with short names like sb |
| 2101 |
src/org/jeecgframework/core/util/PinyinUtil.java |
286 |
Avoid variables with short names like ch |
| 2102 |
src/org/jeecgframework/core/util/PinyinUtil.java |
288 |
Avoid variables with short names like sb |
| 2103 |
src/org/jeecgframework/core/util/PinyinUtil.java |
315 |
Avoid variables with short names like ch |
| 2104 |
src/org/jeecgframework/core/util/PinyinUtil.java |
339 |
A method should have only one exit point, and that should be the last statement in the method |
| 2105 |
src/org/jeecgframework/core/util/PinyinUtil.java |
351 |
Found 'DD'-anomaly for variable 'headChars' (lines '351'-'365'). |
| 2106 |
src/org/jeecgframework/core/util/PinyinUtil.java |
351 |
Found 'DD'-anomaly for variable 'headChars' (lines '351'-'369'). |
| 2107 |
src/org/jeecgframework/core/util/PinyinUtil.java |
353 |
Avoid variables with short names like i |
| 2108 |
src/org/jeecgframework/core/util/PinyinUtil.java |
353 |
Found 'DU'-anomaly for variable 'i' (lines '353'-'379'). |
| 2109 |
src/org/jeecgframework/core/util/PinyinUtil.java |
365 |
Found 'DD'-anomaly for variable 'headChars' (lines '365'-'365'). |
| 2110 |
src/org/jeecgframework/core/util/PinyinUtil.java |
365 |
Found 'DD'-anomaly for variable 'headChars' (lines '365'-'369'). |
| 2111 |
src/org/jeecgframework/core/util/PinyinUtil.java |
369 |
Found 'DD'-anomaly for variable 'headChars' (lines '369'-'365'). |
| 2112 |
src/org/jeecgframework/core/util/PinyinUtil.java |
369 |
Found 'DD'-anomaly for variable 'headChars' (lines '369'-'369'). |
| 2113 |
src/org/jeecgframework/core/util/PinyinUtil.java |
373 |
Found 'DU'-anomaly for variable 'i' (lines '373'-'379'). |
| 2114 |
src/org/jeecgframework/core/util/PinyinUtil.java |
449 |
Found 'DD'-anomaly for variable 'headString' (lines '449'-'483'). |
| 2115 |
src/org/jeecgframework/core/util/PinyinUtil.java |
451 |
Found 'DU'-anomaly for variable 'i' (lines '451'-'491'). |
| 2116 |
src/org/jeecgframework/core/util/PinyinUtil.java |
457 |
Avoid instantiating new objects inside loops |
| 2117 |
src/org/jeecgframework/core/util/PinyinUtil.java |
459 |
Avoid if (x != y) ..; else ..; |
| 2118 |
src/org/jeecgframework/core/util/PinyinUtil.java |
461 |
Found 'DD'-anomaly for variable 'j' (lines '461'-'461'). |
| 2119 |
src/org/jeecgframework/core/util/PinyinUtil.java |
461 |
Found 'DU'-anomaly for variable 'j' (lines '461'-'491'). |
| 2120 |
src/org/jeecgframework/core/util/PinyinUtil.java |
473 |
Found 'DD'-anomaly for variable 'j' (lines '473'-'461'). |
| 2121 |
src/org/jeecgframework/core/util/PinyinUtil.java |
473 |
Found 'DU'-anomaly for variable 'j' (lines '473'-'491'). |
| 2122 |
src/org/jeecgframework/core/util/PinyinUtil.java |
483 |
Found 'DD'-anomaly for variable 'headString' (lines '483'-'483'). |
| 2123 |
src/org/jeecgframework/core/util/PinyinUtil.java |
485 |
Found 'DU'-anomaly for variable 'i' (lines '485'-'491'). |
| 2124 |
src/org/jeecgframework/core/util/PinyinUtil.java |
500 |
Found 'DD'-anomaly for variable 't1' (lines '500'-'501'). |
| 2125 |
src/org/jeecgframework/core/util/PinyinUtil.java |
503 |
Found 'DD'-anomaly for variable 't2' (lines '503'-'517'). |
| 2126 |
src/org/jeecgframework/core/util/PinyinUtil.java |
503 |
Found 'DU'-anomaly for variable 't2' (lines '503'-'528'). |
| 2127 |
src/org/jeecgframework/core/util/PinyinUtil.java |
518 |
Prefer StringBuffer over += for concatenating strings |
| 2128 |
src/org/jeecgframework/core/util/PinyinUtil.java |
521 |
Prefer StringBuffer over += for concatenating strings |
| 2129 |
src/org/jeecgframework/core/util/PinyinUtil.java |
525 |
Avoid printStackTrace(); use a logger call instead. |
| 2130 |
src/org/jeecgframework/core/util/PinyinUtil.java |
542 |
Avoid if (x != y) ..; else ..; |
| 2131 |
src/org/jeecgframework/core/util/PinyinUtil.java |
543 |
Prefer StringBuffer over += for concatenating strings |
| 2132 |
src/org/jeecgframework/core/util/PinyinUtil.java |
545 |
Prefer StringBuffer over += for concatenating strings |
| 2133 |
src/org/jeecgframework/core/util/PinyinUtil.java |
585 |
Prefer StringBuffer over += for concatenating strings |
| 2134 |
src/org/jeecgframework/core/util/PinyinUtil.java |
588 |
Avoid printStackTrace(); use a logger call instead. |
| 2135 |
src/org/jeecgframework/core/util/PinyinUtil.java |
616 |
Avoid printStackTrace(); use a logger call instead. |
| 2136 |
src/org/jeecgframework/core/util/PinyinUtil.java |
634 |
Found 'DU'-anomaly for variable 'i' (lines '634'-'644'). |
| 2137 |
src/org/jeecgframework/core/util/PinyinUtil.java |
641 |
Found 'DU'-anomaly for variable 'i' (lines '641'-'644'). |
| 2138 |
src/org/jeecgframework/core/util/PinyinUtil.java |
653 |
The method 'getPinyin' has a Cyclomatic Complexity of 11. |
| 2139 |
src/org/jeecgframework/core/util/PinyinUtil.java |
658 |
Avoid excessively long variable names like hanYuPinOutputFormat |
| 2140 |
src/org/jeecgframework/core/util/PinyinUtil.java |
665 |
Found 'DD'-anomaly for variable 'temp' (lines '665'-'671'). |
| 2141 |
src/org/jeecgframework/core/util/PinyinUtil.java |
665 |
Found 'DD'-anomaly for variable 'temp' (lines '665'-'678'). |
| 2142 |
src/org/jeecgframework/core/util/PinyinUtil.java |
665 |
Found 'DD'-anomaly for variable 'temp' (lines '665'-'680'). |
| 2143 |
src/org/jeecgframework/core/util/PinyinUtil.java |
671 |
Found 'DD'-anomaly for variable 'temp' (lines '671'-'671'). |
| 2144 |
src/org/jeecgframework/core/util/PinyinUtil.java |
671 |
Found 'DD'-anomaly for variable 'temp' (lines '671'-'678'). |
| 2145 |
src/org/jeecgframework/core/util/PinyinUtil.java |
671 |
Found 'DD'-anomaly for variable 'temp' (lines '671'-'680'). |
| 2146 |
src/org/jeecgframework/core/util/PinyinUtil.java |
678 |
Avoid instantiating new objects inside loops |
| 2147 |
src/org/jeecgframework/core/util/PinyinUtil.java |
678 |
Found 'DD'-anomaly for variable 'temp' (lines '678'-'671'). |
| 2148 |
src/org/jeecgframework/core/util/PinyinUtil.java |
678 |
Found 'DD'-anomaly for variable 'temp' (lines '678'-'678'). |
| 2149 |
src/org/jeecgframework/core/util/PinyinUtil.java |
678 |
Found 'DD'-anomaly for variable 'temp' (lines '678'-'680'). |
| 2150 |
src/org/jeecgframework/core/util/PinyinUtil.java |
680 |
Avoid instantiating new objects inside loops |
| 2151 |
src/org/jeecgframework/core/util/PinyinUtil.java |
680 |
Found 'DD'-anomaly for variable 'temp' (lines '680'-'671'). |
| 2152 |
src/org/jeecgframework/core/util/PinyinUtil.java |
680 |
Found 'DD'-anomaly for variable 'temp' (lines '680'-'678'). |
| 2153 |
src/org/jeecgframework/core/util/PinyinUtil.java |
680 |
Found 'DD'-anomaly for variable 'temp' (lines '680'-'680'). |
| 2154 |
src/org/jeecgframework/core/util/PinyinUtil.java |
688 |
A method should have only one exit point, and that should be the last statement in the method |
| 2155 |
src/org/jeecgframework/core/util/PinyinUtil.java |
700 |
Method names should not start with capital letters |
| 2156 |
src/org/jeecgframework/core/util/PinyinUtil.java |
712 |
Method names should not start with capital letters |
| 2157 |
src/org/jeecgframework/core/util/PinyinUtil.java |
718 |
Found 'DD'-anomaly for variable 'temp' (lines '718'-'722'). |
| 2158 |
src/org/jeecgframework/core/util/PinyinUtil.java |
719 |
Found 'DU'-anomaly for variable 'Index' (lines '719'-'735'). |
| 2159 |
src/org/jeecgframework/core/util/PinyinUtil.java |
722 |
Found 'DD'-anomaly for variable 'temp' (lines '722'-'722'). |
| 2160 |
src/org/jeecgframework/core/util/PinyinUtil.java |
723 |
Found 'DU'-anomaly for variable 'Index' (lines '723'-'735'). |
| 2161 |
src/org/jeecgframework/core/util/PinyinUtil.java |
726 |
Found 'DD'-anomaly for variable 'newArray' (lines '726'-'728'). |
| 2162 |
src/org/jeecgframework/core/util/PinyinUtil.java |
726 |
Found 'DD'-anomaly for variable 'newArray' (lines '726'-'730'). |
| 2163 |
src/org/jeecgframework/core/util/PinyinUtil.java |
727 |
System.arraycopy is more efficient |
| 2164 |
src/org/jeecgframework/core/util/PinyinUtil.java |
728 |
Found 'DD'-anomaly for variable 'newArray' (lines '728'-'728'). |
| 2165 |
src/org/jeecgframework/core/util/PinyinUtil.java |
728 |
Found 'DD'-anomaly for variable 'newArray' (lines '728'-'730'). |
| 2166 |
src/org/jeecgframework/core/util/PinyinUtil.java |
731 |
A method should have only one exit point, and that should be the last statement in the method |
| 2167 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
13 |
Avoid unnecessary constructors - the compiler will generate these for you |
| 2168 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
13 |
Document empty constructor |
| 2169 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
16 |
Parameter 'path' is not assigned and could be declared final |
| 2170 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
17 |
Local variable 'list' could be declared final |
| 2171 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
21 |
Local variable 'length' could be declared final |
| 2172 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
23 |
Found 'DD'-anomaly for variable 'result' (lines '23'-'23'). |
| 2173 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
23 |
Found 'DD'-anomaly for variable 'result' (lines '23'-'35'). |
| 2174 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
23 |
Found 'DD'-anomaly for variable 'result' (lines '23'-'45'). |
| 2175 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
23 |
Found 'DU'-anomaly for variable 'result' (lines '23'-'49'). |
| 2176 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
24 |
Local variable 'thePath' could be declared final |
| 2177 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
25 |
Avoid instantiating new objects inside loops |
| 2178 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
25 |
Local variable 'file' could be declared final |
| 2179 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
27 |
Local variable 'fileName' could be declared final |
| 2180 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
28 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2181 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
39 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2182 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
42 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2183 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
51 |
Avoid reassigning parameters such as 'path' |
| 2184 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
51 |
Avoid reassigning parameters such as 'path' |
| 2185 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
56 |
A method should have only one exit point, and that should be the last statement in the method |
| 2186 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
67 |
Parameter 'object' is not assigned and could be declared final |
| 2187 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
69 |
A method should have only one exit point, and that should be the last statement in the method |
| 2188 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
74 |
Avoid reassigning parameters such as 'path' |
| 2189 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
74 |
Avoid reassigning parameters such as 'path' |
| 2190 |
src/org/jeecgframework/core/util/PluginConfigCreator.java |
80 |
Parameter 'args' is not assigned and could be declared final |
| 2191 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
16 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 2192 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
18 |
Document empty constructor |
| 2193 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
21 |
Parameter 'fileName' is not assigned and could be declared final |
| 2194 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
24 |
Parameter 'key' is not assigned and could be declared final |
| 2195 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
25 |
Found 'DD'-anomaly for variable 'value' (lines '25'-'32'). |
| 2196 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
26 |
Avoid variables with short names like is |
| 2197 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
26 |
Found 'DD'-anomaly for variable 'is' (lines '26'-'28'). |
| 2198 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
28 |
In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. |
| 2199 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
30 |
Avoid variables with short names like p |
| 2200 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
30 |
Local variable 'p' could be declared final |
| 2201 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
35 |
Avoid printStackTrace(); use a logger call instead. |
| 2202 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
41 |
Avoid printStackTrace(); use a logger call instead. |
| 2203 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
48 |
Avoid variables with short names like p |
| 2204 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
48 |
Local variable 'p' could be declared final |
| 2205 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
49 |
Avoid variables with short names like is |
| 2206 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
49 |
Found 'DD'-anomaly for variable 'is' (lines '49'-'51'). |
| 2207 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
51 |
In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. |
| 2208 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
56 |
Avoid printStackTrace(); use a logger call instead. |
| 2209 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
62 |
Avoid printStackTrace(); use a logger call instead. |
| 2210 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
68 |
Parameter 'key' is not assigned and could be declared final |
| 2211 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
68 |
Parameter 'value' is not assigned and could be declared final |
| 2212 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
69 |
Avoid variables with short names like is |
| 2213 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
69 |
Found 'DD'-anomaly for variable 'is' (lines '69'-'73'). |
| 2214 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
70 |
Found 'DD'-anomaly for variable 'os' (lines '70'-'75'). |
| 2215 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
71 |
Local variable 'p' could be declared final |
| 2216 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
75 |
In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. |
| 2217 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
83 |
Avoid printStackTrace(); use a logger call instead. |
| 2218 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
86 |
Avoid using if statements without curly braces |
| 2219 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
88 |
Avoid using if statements without curly braces |
| 2220 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
98 |
Parameter 'args' is not assigned and could be declared final |
| 2221 |
src/org/jeecgframework/core/util/PropertiesUtil.java |
99 |
Local variable 'p' could be declared final |
| 2222 |
src/org/jeecgframework/core/util/ReflectHelper.java |
13 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 2223 |
src/org/jeecgframework/core/util/ReflectHelper.java |
13 |
Perhaps 'cls' could be replaced by a local variable. |
| 2224 |
src/org/jeecgframework/core/util/ReflectHelper.java |
17 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 2225 |
src/org/jeecgframework/core/util/ReflectHelper.java |
17 |
Private field 'obj' could be made final; it is only initialized in the declaration or constructor. |
| 2226 |
src/org/jeecgframework/core/util/ReflectHelper.java |
22 |
Consider replacing this Hashtable with the newer java.util.Map |
| 2227 |
src/org/jeecgframework/core/util/ReflectHelper.java |
22 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 2228 |
src/org/jeecgframework/core/util/ReflectHelper.java |
26 |
Consider replacing this Hashtable with the newer java.util.Map |
| 2229 |
src/org/jeecgframework/core/util/ReflectHelper.java |
26 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 2230 |
src/org/jeecgframework/core/util/ReflectHelper.java |
34 |
Avoid variables with short names like o |
| 2231 |
src/org/jeecgframework/core/util/ReflectHelper.java |
34 |
Parameter 'o' is not assigned and could be declared final |
| 2232 |
src/org/jeecgframework/core/util/ReflectHelper.java |
36 |
Overridable method 'initMethods' called during object construction |
| 2233 |
src/org/jeecgframework/core/util/ReflectHelper.java |
47 |
Local variable 'methods' could be declared final |
| 2234 |
src/org/jeecgframework/core/util/ReflectHelper.java |
49 |
Avoid variables with short names like gs |
| 2235 |
src/org/jeecgframework/core/util/ReflectHelper.java |
49 |
Local variable 'gs' could be declared final |
| 2236 |
src/org/jeecgframework/core/util/ReflectHelper.java |
50 |
Found 'DU'-anomaly for variable 'getM' (lines '50'-'69'). |
| 2237 |
src/org/jeecgframework/core/util/ReflectHelper.java |
50 |
Local variable 'getM' could be declared final |
| 2238 |
src/org/jeecgframework/core/util/ReflectHelper.java |
51 |
Avoid variables with short names like ss |
| 2239 |
src/org/jeecgframework/core/util/ReflectHelper.java |
51 |
Local variable 'ss' could be declared final |
| 2240 |
src/org/jeecgframework/core/util/ReflectHelper.java |
52 |
Found 'DU'-anomaly for variable 'setM' (lines '52'-'69'). |
| 2241 |
src/org/jeecgframework/core/util/ReflectHelper.java |
52 |
Local variable 'setM' could be declared final |
| 2242 |
src/org/jeecgframework/core/util/ReflectHelper.java |
54 |
Found 'DU'-anomaly for variable 'rapl' (lines '54'-'69'). |
| 2243 |
src/org/jeecgframework/core/util/ReflectHelper.java |
57 |
Avoid variables with short names like m |
| 2244 |
src/org/jeecgframework/core/util/ReflectHelper.java |
65 |
Avoid empty if statements |
| 2245 |
src/org/jeecgframework/core/util/ReflectHelper.java |
75 |
Parameter 'object' is not assigned and could be declared final |
| 2246 |
src/org/jeecgframework/core/util/ReflectHelper.java |
75 |
Parameter 'property' is not assigned and could be declared final |
| 2247 |
src/org/jeecgframework/core/util/ReflectHelper.java |
76 |
Avoid variables with short names like m |
| 2248 |
src/org/jeecgframework/core/util/ReflectHelper.java |
76 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 2249 |
src/org/jeecgframework/core/util/ReflectHelper.java |
81 |
A method should have only one exit point, and that should be the last statement in the method |
| 2250 |
src/org/jeecgframework/core/util/ReflectHelper.java |
84 |
A method should have only one exit point, and that should be the last statement in the method |
| 2251 |
src/org/jeecgframework/core/util/ReflectHelper.java |
94 |
Parameter 'property' is not assigned and could be declared final |
| 2252 |
src/org/jeecgframework/core/util/ReflectHelper.java |
95 |
Found 'DD'-anomaly for variable 'value' (lines '95'-'102'). |
| 2253 |
src/org/jeecgframework/core/util/ReflectHelper.java |
96 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 2254 |
src/org/jeecgframework/core/util/ResourceUtil.java |
3 |
Avoid unused imports such as 'java.net.URL' |
| 2255 |
src/org/jeecgframework/core/util/ResourceUtil.java |
3 |
Avoid unused imports such as 'java.net.URL' |
| 2256 |
src/org/jeecgframework/core/util/ResourceUtil.java |
4 |
Avoid unused imports such as 'java.util.Enumeration' |
| 2257 |
src/org/jeecgframework/core/util/ResourceUtil.java |
4 |
Avoid unused imports such as 'java.util.Enumeration' |
| 2258 |
src/org/jeecgframework/core/util/ResourceUtil.java |
12 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.Client' |
| 2259 |
src/org/jeecgframework/core/util/ResourceUtil.java |
12 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.Client' |
| 2260 |
src/org/jeecgframework/core/util/ResourceUtil.java |
17 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 2261 |
src/org/jeecgframework/core/util/ResourceUtil.java |
18 |
Variables that are final and static should be in all caps. |
| 2262 |
src/org/jeecgframework/core/util/ResourceUtil.java |
21 |
Parameter 'sessionName' is not assigned and could be declared final |
| 2263 |
src/org/jeecgframework/core/util/ResourceUtil.java |
26 |
Local variable 'session' could be declared final |
| 2264 |
src/org/jeecgframework/core/util/ResourceUtil.java |
28 |
A method should have only one exit point, and that should be the last statement in the method |
| 2265 |
src/org/jeecgframework/core/util/ResourceUtil.java |
34 |
Parameter 'user' is not assigned and could be declared final |
| 2266 |
src/org/jeecgframework/core/util/ResourceUtil.java |
35 |
Local variable 'session' could be declared final |
| 2267 |
src/org/jeecgframework/core/util/ResourceUtil.java |
39 |
A method should have only one exit point, and that should be the last statement in the method |
| 2268 |
src/org/jeecgframework/core/util/ResourceUtil.java |
46 |
Local variable 'session' could be declared final |
| 2269 |
src/org/jeecgframework/core/util/ResourceUtil.java |
47 |
The String literal "WEIXIN_ACCOUNT" appears 4 times in this file; the first occurrence is on line 47 |
| 2270 |
src/org/jeecgframework/core/util/ResourceUtil.java |
48 |
Avoid excessively long variable names like WeixinAccountEntity |
| 2271 |
src/org/jeecgframework/core/util/ResourceUtil.java |
48 |
Local variable 'WeixinAccountEntity' could be declared final |
| 2272 |
src/org/jeecgframework/core/util/ResourceUtil.java |
50 |
A method should have only one exit point, and that should be the last statement in the method |
| 2273 |
src/org/jeecgframework/core/util/ResourceUtil.java |
56 |
Local variable 'session' could be declared final |
| 2274 |
src/org/jeecgframework/core/util/ResourceUtil.java |
58 |
Avoid excessively long variable names like weixinAccountEntity |
| 2275 |
src/org/jeecgframework/core/util/ResourceUtil.java |
60 |
A method should have only one exit point, and that should be the last statement in the method |
| 2276 |
src/org/jeecgframework/core/util/ResourceUtil.java |
69 |
A method should have only one exit point, and that should be the last statement in the method |
| 2277 |
src/org/jeecgframework/core/util/ResourceUtil.java |
83 |
Parameter 'request' is not assigned and could be declared final |
| 2278 |
src/org/jeecgframework/core/util/ResourceUtil.java |
93 |
Parameter 'roleId' is not assigned and could be declared final |
| 2279 |
src/org/jeecgframework/core/util/ResourceUtil.java |
96 |
Avoid excessively long variable names like TSRoleFunctionList |
| 2280 |
src/org/jeecgframework/core/util/ResourceUtil.java |
106 |
Parameter 'request' is not assigned and could be declared final |
| 2281 |
src/org/jeecgframework/core/util/ResourceUtil.java |
109 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2282 |
src/org/jeecgframework/core/util/ResourceUtil.java |
110 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2283 |
src/org/jeecgframework/core/util/ResourceUtil.java |
118 |
Found 'DD'-anomaly for variable 'requestPath' (lines '118'-'120'). |
| 2284 |
src/org/jeecgframework/core/util/ResourceUtil.java |
148 |
Found 'DD'-anomaly for variable 'tempdir' (lines '148'-'149'). |
| 2285 |
src/org/jeecgframework/core/util/ResourceUtil.java |
149 |
Prefer StringBuffer over += for concatenating strings |
| 2286 |
src/org/jeecgframework/core/util/ResourceUtil.java |
159 |
Consider simply returning the value vs storing it in local variable 'resultPath' |
| 2287 |
src/org/jeecgframework/core/util/RoletoJson.java |
18 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 2288 |
src/org/jeecgframework/core/util/RoletoJson.java |
23 |
Parameter 'list' is not assigned and could be declared final |
| 2289 |
src/org/jeecgframework/core/util/RoletoJson.java |
23 |
Parameter 'roles' is not assigned and could be declared final |
| 2290 |
src/org/jeecgframework/core/util/RoletoJson.java |
24 |
Local variable 'buffer' could be declared final |
| 2291 |
src/org/jeecgframework/core/util/RoletoJson.java |
24 |
StringBuffer constructor is initialized with size 16, but has at least 26 characters appended. |
| 2292 |
src/org/jeecgframework/core/util/RoletoJson.java |
25 |
Avoid appending characters as strings in StringBuffer.append. |
| 2293 |
src/org/jeecgframework/core/util/RoletoJson.java |
27 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 2294 |
src/org/jeecgframework/core/util/RoletoJson.java |
40 |
Avoid appending characters as strings in StringBuffer.append. |
| 2295 |
src/org/jeecgframework/core/util/RoletoJson.java |
44 |
Found 'DD'-anomaly for variable 'tmp' (lines '44'-'45'). |
| 2296 |
src/org/jeecgframework/core/util/RoletoJson.java |
52 |
Parameter 'list' is not assigned and could be declared final |
| 2297 |
src/org/jeecgframework/core/util/RoletoJson.java |
52 |
Parameter 'roles' is not assigned and could be declared final |
| 2298 |
src/org/jeecgframework/core/util/RoletoJson.java |
53 |
Local variable 'buffer' could be declared final |
| 2299 |
src/org/jeecgframework/core/util/RoletoJson.java |
54 |
Local variable 'comboxBoxs' could be declared final |
| 2300 |
src/org/jeecgframework/core/util/RoletoJson.java |
55 |
Avoid appending characters as strings in StringBuffer.append. |
| 2301 |
src/org/jeecgframework/core/util/RoletoJson.java |
57 |
Avoid instantiating new objects inside loops |
| 2302 |
src/org/jeecgframework/core/util/RoletoJson.java |
57 |
Local variable 'box' could be declared final |
| 2303 |
src/org/jeecgframework/core/util/RoletoJson.java |
60 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 2304 |
src/org/jeecgframework/core/util/RoletoJson.java |
82 |
Parameter 'objList' is not assigned and could be declared final |
| 2305 |
src/org/jeecgframework/core/util/RoletoJson.java |
83 |
Local variable 'strList' could be declared final |
| 2306 |
src/org/jeecgframework/core/util/RoletoJson.java |
85 |
Found 'DD'-anomaly for variable 'perStr' (lines '85'-'88'). |
| 2307 |
src/org/jeecgframework/core/util/RoletoJson.java |
86 |
Found 'DD'-anomaly for variable 'sufStr' (lines '86'-'89'). |
| 2308 |
src/org/jeecgframework/core/util/RoletoJson.java |
91 |
Avoid printStackTrace(); use a logger call instead. |
| 2309 |
src/org/jeecgframework/core/util/RoletoJson.java |
93 |
Avoid printStackTrace(); use a logger call instead. |
| 2310 |
src/org/jeecgframework/core/util/RoletoJson.java |
95 |
Avoid printStackTrace(); use a logger call instead. |
| 2311 |
src/org/jeecgframework/core/util/SendMailUtil.java |
20 |
The class 'SendMailUtil' has a Cyclomatic Complexity of 3 (Highest = 10). |
| 2312 |
src/org/jeecgframework/core/util/SendMailUtil.java |
21 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 2313 |
src/org/jeecgframework/core/util/SendMailUtil.java |
23 |
Variables that are final and static should be in all caps. |
| 2314 |
src/org/jeecgframework/core/util/SendMailUtil.java |
24 |
Variables that are final and static should be in all caps. |
| 2315 |
src/org/jeecgframework/core/util/SendMailUtil.java |
25 |
Variables that are final and static should be in all caps. |
| 2316 |
src/org/jeecgframework/core/util/SendMailUtil.java |
26 |
Variables that are final and static should be in all caps. |
| 2317 |
src/org/jeecgframework/core/util/SendMailUtil.java |
27 |
Variables that are final and static should be in all caps. |
| 2318 |
src/org/jeecgframework/core/util/SendMailUtil.java |
58 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2319 |
src/org/jeecgframework/core/util/SendMailUtil.java |
58 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2320 |
src/org/jeecgframework/core/util/SendMailUtil.java |
58 |
Parameter 'email' is not assigned and could be declared final |
| 2321 |
src/org/jeecgframework/core/util/SendMailUtil.java |
59 |
Local variable 'pattern' could be declared final |
| 2322 |
src/org/jeecgframework/core/util/SendMailUtil.java |
60 |
Local variable 'matcher' could be declared final |
| 2323 |
src/org/jeecgframework/core/util/SendMailUtil.java |
61 |
Found 'DD'-anomaly for variable 'key' (lines '61'-'63'). |
| 2324 |
src/org/jeecgframework/core/util/SendMailUtil.java |
68 |
Avoid throwing raw exception types. |
| 2325 |
src/org/jeecgframework/core/util/SendMailUtil.java |
72 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2326 |
src/org/jeecgframework/core/util/SendMailUtil.java |
72 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2327 |
src/org/jeecgframework/core/util/SendMailUtil.java |
72 |
Parameter 'email' is not assigned and could be declared final |
| 2328 |
src/org/jeecgframework/core/util/SendMailUtil.java |
73 |
Local variable 'pattern' could be declared final |
| 2329 |
src/org/jeecgframework/core/util/SendMailUtil.java |
74 |
Local variable 'matcher' could be declared final |
| 2330 |
src/org/jeecgframework/core/util/SendMailUtil.java |
75 |
Found 'DD'-anomaly for variable 'key' (lines '75'-'77'). |
| 2331 |
src/org/jeecgframework/core/util/SendMailUtil.java |
80 |
A method should have only one exit point, and that should be the last statement in the method |
| 2332 |
src/org/jeecgframework/core/util/SendMailUtil.java |
93 |
Parameter 'subject' is not assigned and could be declared final |
| 2333 |
src/org/jeecgframework/core/util/SendMailUtil.java |
93 |
Parameter 'toMailAddr' is not assigned and could be declared final |
| 2334 |
src/org/jeecgframework/core/util/SendMailUtil.java |
94 |
Parameter 'map' is not assigned and could be declared final |
| 2335 |
src/org/jeecgframework/core/util/SendMailUtil.java |
95 |
Found 'DD'-anomaly for variable 'template' (lines '95'-'109'). |
| 2336 |
src/org/jeecgframework/core/util/SendMailUtil.java |
96 |
Found 'DD'-anomaly for variable 'freeMarkerConfig' (lines '96'-'106'). |
| 2337 |
src/org/jeecgframework/core/util/SendMailUtil.java |
97 |
Local variable 'hemail' could be declared final |
| 2338 |
src/org/jeecgframework/core/util/SendMailUtil.java |
117 |
Avoid printStackTrace(); use a logger call instead. |
| 2339 |
src/org/jeecgframework/core/util/SendMailUtil.java |
142 |
Avoid printStackTrace(); use a logger call instead. |
| 2340 |
src/org/jeecgframework/core/util/SendMailUtil.java |
149 |
Found 'DD'-anomaly for variable 'template' (lines '149'-'156'). |
| 2341 |
src/org/jeecgframework/core/util/SendMailUtil.java |
150 |
Found 'DD'-anomaly for variable 'htmlText' (lines '150'-'158'). |
| 2342 |
src/org/jeecgframework/core/util/SendMailUtil.java |
152 |
Found 'DD'-anomaly for variable 'freeMarkerConfig' (lines '152'-'153'). |
| 2343 |
src/org/jeecgframework/core/util/SendMailUtil.java |
161 |
Avoid printStackTrace(); use a logger call instead. |
| 2344 |
src/org/jeecgframework/core/util/SendMailUtil.java |
169 |
Found 'DD'-anomaly for variable 'path' (lines '169'-'170'). |
| 2345 |
src/org/jeecgframework/core/util/SendMailUtil.java |
170 |
Prefer StringBuffer over += for concatenating strings |
| 2346 |
src/org/jeecgframework/core/util/SendMailUtil.java |
176 |
Avoid reassigning parameters such as 'path' |
| 2347 |
src/org/jeecgframework/core/util/SendMailUtil.java |
179 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2348 |
src/org/jeecgframework/core/util/SendMailUtil.java |
183 |
The method 'getAppPath' has a Cyclomatic Complexity of 10. |
| 2349 |
src/org/jeecgframework/core/util/SendMailUtil.java |
185 |
Avoid using if statements without curly braces |
| 2350 |
src/org/jeecgframework/core/util/SendMailUtil.java |
187 |
Found 'DU'-anomaly for variable 'loader' (lines '187'-'242'). |
| 2351 |
src/org/jeecgframework/core/util/SendMailUtil.java |
189 |
Found 'DD'-anomaly for variable 'clsName' (lines '189'-'200'). |
| 2352 |
src/org/jeecgframework/core/util/SendMailUtil.java |
189 |
Found 'DU'-anomaly for variable 'clsName' (lines '189'-'242'). |
| 2353 |
src/org/jeecgframework/core/util/SendMailUtil.java |
192 |
Found 'DD'-anomaly for variable 'path' (lines '192'-'203'). |
| 2354 |
src/org/jeecgframework/core/util/SendMailUtil.java |
192 |
Found 'DD'-anomaly for variable 'path' (lines '192'-'208'). |
| 2355 |
src/org/jeecgframework/core/util/SendMailUtil.java |
192 |
Found 'DD'-anomaly for variable 'path' (lines '192'-'212'). |
| 2356 |
src/org/jeecgframework/core/util/SendMailUtil.java |
192 |
Found 'DU'-anomaly for variable 'path' (lines '192'-'242'). |
| 2357 |
src/org/jeecgframework/core/util/SendMailUtil.java |
197 |
Avoid using if statements without curly braces |
| 2358 |
src/org/jeecgframework/core/util/SendMailUtil.java |
202 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2359 |
src/org/jeecgframework/core/util/SendMailUtil.java |
203 |
Avoid using if...else statements without curly braces |
| 2360 |
src/org/jeecgframework/core/util/SendMailUtil.java |
205 |
Found 'DD'-anomaly for variable 'end' (lines '205'-'206'). |
| 2361 |
src/org/jeecgframework/core/util/SendMailUtil.java |
206 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2362 |
src/org/jeecgframework/core/util/SendMailUtil.java |
208 |
Prefer StringBuffer over += for concatenating strings |
| 2363 |
src/org/jeecgframework/core/util/SendMailUtil.java |
210 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2364 |
src/org/jeecgframework/core/util/SendMailUtil.java |
212 |
Prefer StringBuffer over += for concatenating strings |
| 2365 |
src/org/jeecgframework/core/util/SendMailUtil.java |
221 |
Avoid using if statements without curly braces |
| 2366 |
src/org/jeecgframework/core/util/SendMailUtil.java |
227 |
Avoid using if statements without curly braces |
| 2367 |
src/org/jeecgframework/core/util/SendMailUtil.java |
238 |
Avoid throwing raw exception types. |
| 2368 |
src/org/jeecgframework/core/util/SetListSort.java |
19 |
Avoid variables with short names like o1 |
| 2369 |
src/org/jeecgframework/core/util/SetListSort.java |
19 |
Avoid variables with short names like o2 |
| 2370 |
src/org/jeecgframework/core/util/SetListSort.java |
19 |
Parameter 'o1' is not assigned and could be declared final |
| 2371 |
src/org/jeecgframework/core/util/SetListSort.java |
19 |
Parameter 'o2' is not assigned and could be declared final |
| 2372 |
src/org/jeecgframework/core/util/SetListSort.java |
20 |
Avoid variables with short names like c1 |
| 2373 |
src/org/jeecgframework/core/util/SetListSort.java |
20 |
Local variable 'c1' could be declared final |
| 2374 |
src/org/jeecgframework/core/util/SetListSort.java |
21 |
Avoid variables with short names like c2 |
| 2375 |
src/org/jeecgframework/core/util/SetListSort.java |
21 |
Local variable 'c2' could be declared final |
| 2376 |
src/org/jeecgframework/core/util/SetListSort.java |
22 |
Avoid if (x != y) ..; else ..; |
| 2377 |
src/org/jeecgframework/core/util/SetListSort.java |
23 |
Local variable 'c1order' could be declared final |
| 2378 |
src/org/jeecgframework/core/util/SetListSort.java |
24 |
Local variable 'c2order' could be declared final |
| 2379 |
src/org/jeecgframework/core/util/SetListSort.java |
26 |
A method should have only one exit point, and that should be the last statement in the method |
| 2380 |
src/org/jeecgframework/core/util/SetListSort.java |
28 |
A method should have only one exit point, and that should be the last statement in the method |
| 2381 |
src/org/jeecgframework/core/util/StreamUtils.java |
25 |
Use explicit scoping instead of the default package private level |
| 2382 |
src/org/jeecgframework/core/util/StreamUtils.java |
35 |
Avoid variables with short names like in |
| 2383 |
src/org/jeecgframework/core/util/StreamUtils.java |
35 |
Method names should not start with capital letters |
| 2384 |
src/org/jeecgframework/core/util/StreamUtils.java |
35 |
Parameter 'in' is not assigned and could be declared final |
| 2385 |
src/org/jeecgframework/core/util/StreamUtils.java |
37 |
Local variable 'outStream' could be declared final |
| 2386 |
src/org/jeecgframework/core/util/StreamUtils.java |
39 |
Found 'DD'-anomaly for variable 'string' (lines '39'-'50'). |
| 2387 |
src/org/jeecgframework/core/util/StreamUtils.java |
40 |
Found 'DD'-anomaly for variable 'count' (lines '40'-'42'). |
| 2388 |
src/org/jeecgframework/core/util/StreamUtils.java |
42 |
Avoid assignments in operands |
| 2389 |
src/org/jeecgframework/core/util/StreamUtils.java |
42 |
Avoid using while statements without curly braces |
| 2390 |
src/org/jeecgframework/core/util/StreamUtils.java |
42 |
Found 'DU'-anomaly for variable 'count' (lines '42'-'55'). |
| 2391 |
src/org/jeecgframework/core/util/StreamUtils.java |
45 |
Avoid printStackTrace(); use a logger call instead. |
| 2392 |
src/org/jeecgframework/core/util/StreamUtils.java |
48 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 2393 |
src/org/jeecgframework/core/util/StreamUtils.java |
48 |
Found 'DU'-anomaly for variable 'data' (lines '48'-'55'). |
| 2394 |
src/org/jeecgframework/core/util/StreamUtils.java |
52 |
Avoid printStackTrace(); use a logger call instead. |
| 2395 |
src/org/jeecgframework/core/util/StreamUtils.java |
65 |
Avoid variables with short names like in |
| 2396 |
src/org/jeecgframework/core/util/StreamUtils.java |
65 |
Method names should not start with capital letters |
| 2397 |
src/org/jeecgframework/core/util/StreamUtils.java |
65 |
Parameter 'encoding' is not assigned and could be declared final |
| 2398 |
src/org/jeecgframework/core/util/StreamUtils.java |
65 |
Parameter 'in' is not assigned and could be declared final |
| 2399 |
src/org/jeecgframework/core/util/StreamUtils.java |
66 |
Found 'DD'-anomaly for variable 'string' (lines '66'-'79'). |
| 2400 |
src/org/jeecgframework/core/util/StreamUtils.java |
67 |
Local variable 'outStream' could be declared final |
| 2401 |
src/org/jeecgframework/core/util/StreamUtils.java |
69 |
Found 'DD'-anomaly for variable 'count' (lines '69'-'71'). |
| 2402 |
src/org/jeecgframework/core/util/StreamUtils.java |
71 |
Avoid assignments in operands |
| 2403 |
src/org/jeecgframework/core/util/StreamUtils.java |
71 |
Avoid using while statements without curly braces |
| 2404 |
src/org/jeecgframework/core/util/StreamUtils.java |
71 |
Found 'DU'-anomaly for variable 'count' (lines '71'-'84'). |
| 2405 |
src/org/jeecgframework/core/util/StreamUtils.java |
74 |
Avoid printStackTrace(); use a logger call instead. |
| 2406 |
src/org/jeecgframework/core/util/StreamUtils.java |
77 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 2407 |
src/org/jeecgframework/core/util/StreamUtils.java |
77 |
Found 'DU'-anomaly for variable 'data' (lines '77'-'84'). |
| 2408 |
src/org/jeecgframework/core/util/StreamUtils.java |
81 |
Avoid printStackTrace(); use a logger call instead. |
| 2409 |
src/org/jeecgframework/core/util/StreamUtils.java |
93 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2410 |
src/org/jeecgframework/core/util/StreamUtils.java |
93 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2411 |
src/org/jeecgframework/core/util/StreamUtils.java |
93 |
Avoid variables with short names like in |
| 2412 |
src/org/jeecgframework/core/util/StreamUtils.java |
93 |
Method names should not start with capital letters |
| 2413 |
src/org/jeecgframework/core/util/StreamUtils.java |
93 |
Parameter 'in' is not assigned and could be declared final |
| 2414 |
src/org/jeecgframework/core/util/StreamUtils.java |
95 |
Avoid variables with short names like is |
| 2415 |
src/org/jeecgframework/core/util/StreamUtils.java |
95 |
Local variable 'is' could be declared final |
| 2416 |
src/org/jeecgframework/core/util/StreamUtils.java |
96 |
Consider simply returning the value vs storing it in local variable 'is' |
| 2417 |
src/org/jeecgframework/core/util/StreamUtils.java |
106 |
Avoid variables with short names like in |
| 2418 |
src/org/jeecgframework/core/util/StreamUtils.java |
106 |
Method names should not start with capital letters |
| 2419 |
src/org/jeecgframework/core/util/StreamUtils.java |
106 |
Parameter 'in' is not assigned and could be declared final |
| 2420 |
src/org/jeecgframework/core/util/StreamUtils.java |
107 |
Found 'DD'-anomaly for variable 'bytes' (lines '107'-'109'). |
| 2421 |
src/org/jeecgframework/core/util/StreamUtils.java |
110 |
Avoid empty catch blocks |
| 2422 |
src/org/jeecgframework/core/util/StreamUtils.java |
112 |
Avoid printStackTrace(); use a logger call instead. |
| 2423 |
src/org/jeecgframework/core/util/StreamUtils.java |
125 |
Method names should not start with capital letters |
| 2424 |
src/org/jeecgframework/core/util/StreamUtils.java |
127 |
Local variable 'outStream' could be declared final |
| 2425 |
src/org/jeecgframework/core/util/StreamUtils.java |
129 |
Found 'DD'-anomaly for variable 'count' (lines '129'-'130'). |
| 2426 |
src/org/jeecgframework/core/util/StreamUtils.java |
130 |
Avoid assignments in operands |
| 2427 |
src/org/jeecgframework/core/util/StreamUtils.java |
130 |
Avoid using while statements without curly braces |
| 2428 |
src/org/jeecgframework/core/util/StreamUtils.java |
130 |
Found 'DU'-anomaly for variable 'count' (lines '130'-'135'). |
| 2429 |
src/org/jeecgframework/core/util/StreamUtils.java |
133 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 2430 |
src/org/jeecgframework/core/util/StreamUtils.java |
133 |
Found 'DU'-anomaly for variable 'data' (lines '133'-'135'). |
| 2431 |
src/org/jeecgframework/core/util/StreamUtils.java |
144 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2432 |
src/org/jeecgframework/core/util/StreamUtils.java |
144 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2433 |
src/org/jeecgframework/core/util/StreamUtils.java |
146 |
Local variable 'is' could be declared final |
| 2434 |
src/org/jeecgframework/core/util/StreamUtils.java |
147 |
Consider simply returning the value vs storing it in local variable 'is' |
| 2435 |
src/org/jeecgframework/core/util/StreamUtils.java |
156 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2436 |
src/org/jeecgframework/core/util/StreamUtils.java |
156 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2437 |
src/org/jeecgframework/core/util/StreamUtils.java |
159 |
Consider simply returning the value vs storing it in local variable 'is' |
| 2438 |
src/org/jeecgframework/core/util/StreamUtils.java |
171 |
Found 'DD'-anomaly for variable 'is' (lines '171'-'173'). |
| 2439 |
src/org/jeecgframework/core/util/StreamUtils.java |
188 |
Found 'DD'-anomaly for variable 'is' (lines '188'-'190'). |
| 2440 |
src/org/jeecgframework/core/util/StreamUtils.java |
202 |
Found 'DD'-anomaly for variable 'len' (lines '202'-'204'). |
| 2441 |
src/org/jeecgframework/core/util/StreamUtils.java |
204 |
Avoid assignments in operands |
| 2442 |
src/org/jeecgframework/core/util/StreamUtils.java |
204 |
Found 'DU'-anomaly for variable 'len' (lines '204'-'215'). |
| 2443 |
src/org/jeecgframework/core/util/StreamUtils.java |
223 |
Found 'DD'-anomaly for variable 'fileInputStream' (lines '223'-'225'). |
| 2444 |
src/org/jeecgframework/core/util/StreamUtils.java |
227 |
System.out.print is used |
| 2445 |
src/org/jeecgframework/core/util/StreamUtils.java |
227 |
The String literal "´íÎóÐÅÏ¢:Îļþ²»´æÔÚ" appears 4 times in this file; the first occurrence is on line 227 |
| 2446 |
src/org/jeecgframework/core/util/StreamUtils.java |
239 |
Found 'DD'-anomaly for variable 'fileInputStream' (lines '239'-'241'). |
| 2447 |
src/org/jeecgframework/core/util/StreamUtils.java |
243 |
System.out.print is used |
| 2448 |
src/org/jeecgframework/core/util/StreamUtils.java |
256 |
Found 'DD'-anomaly for variable 'fileOutputStream' (lines '256'-'258'). |
| 2449 |
src/org/jeecgframework/core/util/StreamUtils.java |
260 |
System.out.print is used |
| 2450 |
src/org/jeecgframework/core/util/StreamUtils.java |
273 |
Found 'DD'-anomaly for variable 'fileOutputStream' (lines '273'-'275'). |
| 2451 |
src/org/jeecgframework/core/util/StreamUtils.java |
277 |
System.out.print is used |
| 2452 |
src/org/jeecgframework/core/util/StringUtil.java |
1 |
This class has a bunch of public methods and attributes |
| 2453 |
src/org/jeecgframework/core/util/StringUtil.java |
36 |
Avoid really long classes. |
| 2454 |
src/org/jeecgframework/core/util/StringUtil.java |
36 |
The class 'StringUtil' has a Cyclomatic Complexity of 4 (Highest = 17). |
| 2455 |
src/org/jeecgframework/core/util/StringUtil.java |
36 |
This class has too many methods, consider refactoring it. |
| 2456 |
src/org/jeecgframework/core/util/StringUtil.java |
38 |
Avoid excessively long variable names like numericStringPattern |
| 2457 |
src/org/jeecgframework/core/util/StringUtil.java |
39 |
Avoid excessively long variable names like floatNumericPattern |
| 2458 |
src/org/jeecgframework/core/util/StringUtil.java |
41 |
Variables that are final and static should be in all caps. |
| 2459 |
src/org/jeecgframework/core/util/StringUtil.java |
42 |
Logger should be defined private static final and have the correct class |
| 2460 |
src/org/jeecgframework/core/util/StringUtil.java |
51 |
Parameter 'src' is not assigned and could be declared final |
| 2461 |
src/org/jeecgframework/core/util/StringUtil.java |
52 |
Found 'DD'-anomaly for variable 'return_value' (lines '52'-'56'). |
| 2462 |
src/org/jeecgframework/core/util/StringUtil.java |
54 |
Avoid variables with short names like m |
| 2463 |
src/org/jeecgframework/core/util/StringUtil.java |
54 |
Local variable 'm' could be declared final |
| 2464 |
src/org/jeecgframework/core/util/StringUtil.java |
69 |
Parameter 'src' is not assigned and could be declared final |
| 2465 |
src/org/jeecgframework/core/util/StringUtil.java |
70 |
Found 'DD'-anomaly for variable 'return_value' (lines '70'-'74'). |
| 2466 |
src/org/jeecgframework/core/util/StringUtil.java |
72 |
Avoid variables with short names like m |
| 2467 |
src/org/jeecgframework/core/util/StringUtil.java |
72 |
Local variable 'm' could be declared final |
| 2468 |
src/org/jeecgframework/core/util/StringUtil.java |
87 |
Parameter 'src' is not assigned and could be declared final |
| 2469 |
src/org/jeecgframework/core/util/StringUtil.java |
88 |
Found 'DD'-anomaly for variable 'return_value' (lines '88'-'92'). |
| 2470 |
src/org/jeecgframework/core/util/StringUtil.java |
90 |
Avoid variables with short names like m |
| 2471 |
src/org/jeecgframework/core/util/StringUtil.java |
90 |
Local variable 'm' could be declared final |
| 2472 |
src/org/jeecgframework/core/util/StringUtil.java |
105 |
Parameter 'src' is not assigned and could be declared final |
| 2473 |
src/org/jeecgframework/core/util/StringUtil.java |
106 |
Found 'DD'-anomaly for variable 'return_value' (lines '106'-'110'). |
| 2474 |
src/org/jeecgframework/core/util/StringUtil.java |
108 |
Avoid variables with short names like m |
| 2475 |
src/org/jeecgframework/core/util/StringUtil.java |
108 |
Local variable 'm' could be declared final |
| 2476 |
src/org/jeecgframework/core/util/StringUtil.java |
123 |
Parameter 'array' is not assigned and could be declared final |
| 2477 |
src/org/jeecgframework/core/util/StringUtil.java |
127 |
Local variable 'temp' could be declared final |
| 2478 |
src/org/jeecgframework/core/util/StringUtil.java |
128 |
Avoid using if statements without curly braces |
| 2479 |
src/org/jeecgframework/core/util/StringUtil.java |
128 |
String.trim().length()==0 is an inefficient way to validate an empty String. |
| 2480 |
src/org/jeecgframework/core/util/StringUtil.java |
129 |
Prefer StringBuffer over += for concatenating strings |
| 2481 |
src/org/jeecgframework/core/util/StringUtil.java |
131 |
Avoid using if statements without curly braces |
| 2482 |
src/org/jeecgframework/core/util/StringUtil.java |
137 |
Avoid reassigning parameters such as 'subject' |
| 2483 |
src/org/jeecgframework/core/util/StringUtil.java |
154 |
Found 'DU'-anomaly for variable 'iLen' (lines '154'-'183'). |
| 2484 |
src/org/jeecgframework/core/util/StringUtil.java |
155 |
Avoid excessively long variable names like counterOfDoubleByte |
| 2485 |
src/org/jeecgframework/core/util/StringUtil.java |
155 |
Found 'DD'-anomaly for variable 'counterOfDoubleByte' (lines '155'-'165'). |
| 2486 |
src/org/jeecgframework/core/util/StringUtil.java |
155 |
Found 'DU'-anomaly for variable 'counterOfDoubleByte' (lines '155'-'183'). |
| 2487 |
src/org/jeecgframework/core/util/StringUtil.java |
156 |
Found 'DD'-anomaly for variable 'strRet' (lines '156'-'169'). |
| 2488 |
src/org/jeecgframework/core/util/StringUtil.java |
156 |
Found 'DD'-anomaly for variable 'strRet' (lines '156'-'172'). |
| 2489 |
src/org/jeecgframework/core/util/StringUtil.java |
156 |
Found 'DU'-anomaly for variable 'strRet' (lines '156'-'183'). |
| 2490 |
src/org/jeecgframework/core/util/StringUtil.java |
158 |
Avoid if (x != y) ..; else ..; |
| 2491 |
src/org/jeecgframework/core/util/StringUtil.java |
159 |
Avoid variables with short names like b |
| 2492 |
src/org/jeecgframework/core/util/StringUtil.java |
159 |
The String literal "GBK" appears 4 times in this file; the first occurrence is on line 159 |
| 2493 |
src/org/jeecgframework/core/util/StringUtil.java |
161 |
A method should have only one exit point, and that should be the last statement in the method |
| 2494 |
src/org/jeecgframework/core/util/StringUtil.java |
165 |
Found 'DD'-anomaly for variable 'counterOfDoubleByte' (lines '165'-'165'). |
| 2495 |
src/org/jeecgframework/core/util/StringUtil.java |
170 |
A method should have only one exit point, and that should be the last statement in the method |
| 2496 |
src/org/jeecgframework/core/util/StringUtil.java |
173 |
A method should have only one exit point, and that should be the last statement in the method |
| 2497 |
src/org/jeecgframework/core/util/StringUtil.java |
176 |
A method should have only one exit point, and that should be the last statement in the method |
| 2498 |
src/org/jeecgframework/core/util/StringUtil.java |
181 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 2499 |
src/org/jeecgframework/core/util/StringUtil.java |
206 |
Avoid reassigning parameters such as 'subject' |
| 2500 |
src/org/jeecgframework/core/util/StringUtil.java |
225 |
Avoid using if statements without curly braces |
| 2501 |
src/org/jeecgframework/core/util/StringUtil.java |
225 |
String.trim().length()==0 is an inefficient way to validate an empty String. |
| 2502 |
src/org/jeecgframework/core/util/StringUtil.java |
226 |
Prefer StringBuffer over += for concatenating strings |
| 2503 |
src/org/jeecgframework/core/util/StringUtil.java |
228 |
Avoid using if statements without curly braces |
| 2504 |
src/org/jeecgframework/core/util/StringUtil.java |
260 |
Found 'DU'-anomaly for variable 'len' (lines '260'-'269'). |
| 2505 |
src/org/jeecgframework/core/util/StringUtil.java |
261 |
Avoid using if statements without curly braces |
| 2506 |
src/org/jeecgframework/core/util/StringUtil.java |
262 |
A method should have only one exit point, and that should be the last statement in the method |
| 2507 |
src/org/jeecgframework/core/util/StringUtil.java |
279 |
Avoid reassigning parameters such as 'email' |
| 2508 |
src/org/jeecgframework/core/util/StringUtil.java |
301 |
Avoid using for statements without curly braces |
| 2509 |
src/org/jeecgframework/core/util/StringUtil.java |
319 |
Use asList instead of tight loops |
| 2510 |
src/org/jeecgframework/core/util/StringUtil.java |
375 |
Found 'DD'-anomaly for variable 'sp' (lines '375'-'377'). |
| 2511 |
src/org/jeecgframework/core/util/StringUtil.java |
380 |
Found 'DU'-anomaly for variable 'lastIndex' (lines '380'-'400'). |
| 2512 |
src/org/jeecgframework/core/util/StringUtil.java |
393 |
Found 'DU'-anomaly for variable 'lastIndex' (lines '393'-'400'). |
| 2513 |
src/org/jeecgframework/core/util/StringUtil.java |
408 |
Avoid using implementation types like 'LinkedHashMap'; use the interface instead |
| 2514 |
src/org/jeecgframework/core/util/StringUtil.java |
408 |
Avoid using implementation types like 'LinkedHashMap'; use the interface instead |
| 2515 |
src/org/jeecgframework/core/util/StringUtil.java |
409 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 2516 |
src/org/jeecgframework/core/util/StringUtil.java |
415 |
Position literals first in String comparisons |
| 2517 |
src/org/jeecgframework/core/util/StringUtil.java |
415 |
Prefer StringBuffer over += for concatenating strings |
| 2518 |
src/org/jeecgframework/core/util/StringUtil.java |
416 |
Prefer StringBuffer over += for concatenating strings |
| 2519 |
src/org/jeecgframework/core/util/StringUtil.java |
431 |
Avoid using implementation types like 'LinkedHashMap'; use the interface instead |
| 2520 |
src/org/jeecgframework/core/util/StringUtil.java |
431 |
Avoid using implementation types like 'LinkedHashMap'; use the interface instead |
| 2521 |
src/org/jeecgframework/core/util/StringUtil.java |
431 |
The method 'toLinkedHashMap' has a Cyclomatic Complexity of 16. |
| 2522 |
src/org/jeecgframework/core/util/StringUtil.java |
432 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2523 |
src/org/jeecgframework/core/util/StringUtil.java |
435 |
Found 'DD'-anomaly for variable 'name' (lines '435'-'455'). |
| 2524 |
src/org/jeecgframework/core/util/StringUtil.java |
436 |
Found 'DD'-anomaly for variable 'value' (lines '436'-'442'). |
| 2525 |
src/org/jeecgframework/core/util/StringUtil.java |
442 |
Found 'DD'-anomaly for variable 'value' (lines '442'-'442'). |
| 2526 |
src/org/jeecgframework/core/util/StringUtil.java |
448 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 2527 |
src/org/jeecgframework/core/util/StringUtil.java |
448 |
Found 'DD'-anomaly for variable 'name' (lines '448'-'455'). |
| 2528 |
src/org/jeecgframework/core/util/StringUtil.java |
449 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 2529 |
src/org/jeecgframework/core/util/StringUtil.java |
449 |
Found 'DD'-anomaly for variable 'value' (lines '449'-'442'). |
| 2530 |
src/org/jeecgframework/core/util/StringUtil.java |
452 |
Avoid if (x != y) ..; else ..; |
| 2531 |
src/org/jeecgframework/core/util/StringUtil.java |
453 |
Avoid if (x != y) ..; else ..; |
| 2532 |
src/org/jeecgframework/core/util/StringUtil.java |
453 |
Do not add empty strings |
| 2533 |
src/org/jeecgframework/core/util/StringUtil.java |
453 |
Prefer StringBuffer over += for concatenating strings |
| 2534 |
src/org/jeecgframework/core/util/StringUtil.java |
455 |
Avoid if (x != y) ..; else ..; |
| 2535 |
src/org/jeecgframework/core/util/StringUtil.java |
455 |
Do not add empty strings |
| 2536 |
src/org/jeecgframework/core/util/StringUtil.java |
497 |
The method 'numberToString' has a Cyclomatic Complexity of 10. |
| 2537 |
src/org/jeecgframework/core/util/StringUtil.java |
565 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 2538 |
src/org/jeecgframework/core/util/StringUtil.java |
625 |
Avoid printStackTrace(); use a logger call instead. |
| 2539 |
src/org/jeecgframework/core/util/StringUtil.java |
634 |
Avoid empty catch blocks |
| 2540 |
src/org/jeecgframework/core/util/StringUtil.java |
639 |
Avoid reassigning parameters such as 'str' |
| 2541 |
src/org/jeecgframework/core/util/StringUtil.java |
639 |
Avoid reassigning parameters such as 'str' |
| 2542 |
src/org/jeecgframework/core/util/StringUtil.java |
666 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 2543 |
src/org/jeecgframework/core/util/StringUtil.java |
682 |
Found 'DD'-anomaly for variable 'str' (lines '682'-'683'). |
| 2544 |
src/org/jeecgframework/core/util/StringUtil.java |
701 |
Found 'DD'-anomaly for variable 'str' (lines '701'-'702'). |
| 2545 |
src/org/jeecgframework/core/util/StringUtil.java |
775 |
Method names should not start with capital letters |
| 2546 |
src/org/jeecgframework/core/util/StringUtil.java |
776 |
Found 'DD'-anomaly for variable 'outStr' (lines '776'-'792'). |
| 2547 |
src/org/jeecgframework/core/util/StringUtil.java |
776 |
Found 'DD'-anomaly for variable 'outStr' (lines '776'-'799'). |
| 2548 |
src/org/jeecgframework/core/util/StringUtil.java |
777 |
Found 'DD'-anomaly for variable 'Tstr' (lines '777'-'781'). |
| 2549 |
src/org/jeecgframework/core/util/StringUtil.java |
777 |
Found 'DU'-anomaly for variable 'Tstr' (lines '777'-'803'). |
| 2550 |
src/org/jeecgframework/core/util/StringUtil.java |
778 |
Found 'DD'-anomaly for variable 'b' (lines '778'-'782'). |
| 2551 |
src/org/jeecgframework/core/util/StringUtil.java |
778 |
Found 'DU'-anomaly for variable 'b' (lines '778'-'803'). |
| 2552 |
src/org/jeecgframework/core/util/StringUtil.java |
792 |
Avoid instantiating new objects inside loops |
| 2553 |
src/org/jeecgframework/core/util/StringUtil.java |
912 |
Found 'DD'-anomaly for variable 'sa' (lines '912'-'917'). |
| 2554 |
src/org/jeecgframework/core/util/StringUtil.java |
912 |
Found 'DU'-anomaly for variable 'sa' (lines '912'-'928'). |
| 2555 |
src/org/jeecgframework/core/util/StringUtil.java |
913 |
Found 'DD'-anomaly for variable 'sf' (lines '913'-'921'). |
| 2556 |
src/org/jeecgframework/core/util/StringUtil.java |
913 |
Found 'DU'-anomaly for variable 'sf' (lines '913'-'928'). |
| 2557 |
src/org/jeecgframework/core/util/StringUtil.java |
914 |
Found 'DD'-anomaly for variable 'sf2' (lines '914'-'922'). |
| 2558 |
src/org/jeecgframework/core/util/StringUtil.java |
914 |
Found 'DU'-anomaly for variable 'sf2' (lines '914'-'928'). |
| 2559 |
src/org/jeecgframework/core/util/StringUtil.java |
915 |
Found 'DD'-anomaly for variable 'sf3' (lines '915'-'923'). |
| 2560 |
src/org/jeecgframework/core/util/StringUtil.java |
915 |
Found 'DU'-anomaly for variable 'sf3' (lines '915'-'928'). |
| 2561 |
src/org/jeecgframework/core/util/StringUtil.java |
916 |
This for loop could be simplified to a while loop |
| 2562 |
src/org/jeecgframework/core/util/StringUtil.java |
925 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 2563 |
src/org/jeecgframework/core/util/StringUtil.java |
925 |
Found 'DD'-anomaly for variable 'sa' (lines '925'-'917'). |
| 2564 |
src/org/jeecgframework/core/util/StringUtil.java |
925 |
Found 'DU'-anomaly for variable 'sa' (lines '925'-'928'). |
| 2565 |
src/org/jeecgframework/core/util/StringUtil.java |
945 |
Found 'DD'-anomaly for variable 'sp' (lines '945'-'947'). |
| 2566 |
src/org/jeecgframework/core/util/StringUtil.java |
946 |
Found 'DU'-anomaly for variable 'l' (lines '946'-'964'). |
| 2567 |
src/org/jeecgframework/core/util/StringUtil.java |
951 |
Found 'DD'-anomaly for variable 'ip' (lines '951'-'953'). |
| 2568 |
src/org/jeecgframework/core/util/StringUtil.java |
953 |
Found 'DD'-anomaly for variable 'ip' (lines '953'-'953'). |
| 2569 |
src/org/jeecgframework/core/util/StringUtil.java |
980 |
Consider simply returning the value vs storing it in local variable 'sp' |
| 2570 |
src/org/jeecgframework/core/util/StringUtil.java |
1009 |
Found 'DD'-anomaly for variable 'resultStr' (lines '1,009'-'1,011'). |
| 2571 |
src/org/jeecgframework/core/util/StringUtil.java |
1010 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 2572 |
src/org/jeecgframework/core/util/StringUtil.java |
1040 |
Found 'DD'-anomaly for variable 'sa' (lines '1,040'-'1,042'). |
| 2573 |
src/org/jeecgframework/core/util/StringUtil.java |
1040 |
Found 'DD'-anomaly for variable 'sa' (lines '1,040'-'1,046'). |
| 2574 |
src/org/jeecgframework/core/util/StringUtil.java |
1042 |
Found 'DD'-anomaly for variable 'sa' (lines '1,042'-'1,043'). |
| 2575 |
src/org/jeecgframework/core/util/StringUtil.java |
1043 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 2576 |
src/org/jeecgframework/core/util/StringUtil.java |
1046 |
Found 'DD'-anomaly for variable 'sa' (lines '1,046'-'1,047'). |
| 2577 |
src/org/jeecgframework/core/util/StringUtil.java |
1064 |
Found 'DU'-anomaly for variable 'gc' (lines '1,064'-'1,089'). |
| 2578 |
src/org/jeecgframework/core/util/StringUtil.java |
1066 |
Found 'DD'-anomaly for variable 'sf1' (lines '1,066'-'1,072'). |
| 2579 |
src/org/jeecgframework/core/util/StringUtil.java |
1066 |
Found 'DU'-anomaly for variable 'sf1' (lines '1,066'-'1,089'). |
| 2580 |
src/org/jeecgframework/core/util/StringUtil.java |
1067 |
Found 'DD'-anomaly for variable 'sf2' (lines '1,067'-'1,077'). |
| 2581 |
src/org/jeecgframework/core/util/StringUtil.java |
1067 |
Found 'DU'-anomaly for variable 'sf2' (lines '1,067'-'1,089'). |
| 2582 |
src/org/jeecgframework/core/util/StringUtil.java |
1068 |
Found 'DD'-anomaly for variable 'sf3' (lines '1,068'-'1,079'). |
| 2583 |
src/org/jeecgframework/core/util/StringUtil.java |
1068 |
Found 'DU'-anomaly for variable 'sf3' (lines '1,068'-'1,089'). |
| 2584 |
src/org/jeecgframework/core/util/StringUtil.java |
1069 |
Found 'DD'-anomaly for variable 'if1' (lines '1,069'-'1,073'). |
| 2585 |
src/org/jeecgframework/core/util/StringUtil.java |
1069 |
Found 'DU'-anomaly for variable 'if1' (lines '1,069'-'1,089'). |
| 2586 |
src/org/jeecgframework/core/util/StringUtil.java |
1070 |
Found 'DD'-anomaly for variable 'strr' (lines '1,070'-'1,087'). |
| 2587 |
src/org/jeecgframework/core/util/StringUtil.java |
1070 |
Found 'DU'-anomaly for variable 'strr' (lines '1,070'-'1,089'). |
| 2588 |
src/org/jeecgframework/core/util/StringUtil.java |
1077 |
Found 'DD'-anomaly for variable 'sf2' (lines '1,077'-'1,080'). |
| 2589 |
src/org/jeecgframework/core/util/StringUtil.java |
1103 |
Found 'DD'-anomaly for variable 'j' (lines '1,103'-'1,109'). |
| 2590 |
src/org/jeecgframework/core/util/StringUtil.java |
1104 |
Found 'DU'-anomaly for variable 'l' (lines '1,104'-'1,125'). |
| 2591 |
src/org/jeecgframework/core/util/StringUtil.java |
1105 |
Found 'DD'-anomaly for variable 'b' (lines '1,105'-'1,118'). |
| 2592 |
src/org/jeecgframework/core/util/StringUtil.java |
1106 |
Found 'DD'-anomaly for variable 'o' (lines '1,106'-'1,115'). |
| 2593 |
src/org/jeecgframework/core/util/StringUtil.java |
1115 |
Found 'DD'-anomaly for variable 'o' (lines '1,115'-'1,115'). |
| 2594 |
src/org/jeecgframework/core/util/StringUtil.java |
1140 |
Consider simply returning the value vs storing it in local variable 'b' |
| 2595 |
src/org/jeecgframework/core/util/StringUtil.java |
1168 |
Use equals() to compare strings instead of '==' or '!=' |
| 2596 |
src/org/jeecgframework/core/util/StringUtil.java |
1186 |
Method names should not start with capital letters |
| 2597 |
src/org/jeecgframework/core/util/StringUtil.java |
1187 |
Found 'DD'-anomaly for variable 'return_value' (lines '1,187'-'1,190'). |
| 2598 |
src/org/jeecgframework/core/util/StringUtil.java |
1187 |
Found 'DD'-anomaly for variable 'return_value' (lines '1,187'-'1,195'). |
| 2599 |
src/org/jeecgframework/core/util/StringUtil.java |
1190 |
Found 'DD'-anomaly for variable 'return_value' (lines '1,190'-'1,195'). |
| 2600 |
src/org/jeecgframework/core/util/StringUtil.java |
1194 |
Avoid printStackTrace(); use a logger call instead. |
| 2601 |
src/org/jeecgframework/core/util/StringUtil.java |
1228 |
Do not add empty strings |
| 2602 |
src/org/jeecgframework/core/util/StringUtil.java |
1266 |
Found 'DU'-anomaly for variable 'sb' (lines '1,266'-'1,274'). |
| 2603 |
src/org/jeecgframework/core/util/StringUtil.java |
1291 |
Found 'DU'-anomaly for variable 'b' (lines '1,291'-'1,298'). |
| 2604 |
src/org/jeecgframework/core/util/StringUtil.java |
1292 |
Found 'DD'-anomaly for variable 'i' (lines '1,292'-'1,292'). |
| 2605 |
src/org/jeecgframework/core/util/StringUtil.java |
1292 |
Found 'DU'-anomaly for variable 'i' (lines '1,292'-'1,298'). |
| 2606 |
src/org/jeecgframework/core/util/StringUtil.java |
1306 |
The method 'isContentRepeat' has a Cyclomatic Complexity of 17. |
| 2607 |
src/org/jeecgframework/core/util/StringUtil.java |
1306 |
The method isContentRepeat() has an NPath complexity of 250 |
| 2608 |
src/org/jeecgframework/core/util/StringUtil.java |
1307 |
Found 'DD'-anomaly for variable 'similarNum' (lines '1,307'-'1,342'). |
| 2609 |
src/org/jeecgframework/core/util/StringUtil.java |
1307 |
Found 'DD'-anomaly for variable 'similarNum' (lines '1,307'-'1,349'). |
| 2610 |
src/org/jeecgframework/core/util/StringUtil.java |
1307 |
Found 'DU'-anomaly for variable 'similarNum' (lines '1,307'-'1,355'). |
| 2611 |
src/org/jeecgframework/core/util/StringUtil.java |
1308 |
Found 'DD'-anomaly for variable 'forNum' (lines '1,308'-'1,330'). |
| 2612 |
src/org/jeecgframework/core/util/StringUtil.java |
1308 |
Found 'DD'-anomaly for variable 'forNum' (lines '1,308'-'1,332'). |
| 2613 |
src/org/jeecgframework/core/util/StringUtil.java |
1308 |
Found 'DU'-anomaly for variable 'forNum' (lines '1,308'-'1,355'). |
| 2614 |
src/org/jeecgframework/core/util/StringUtil.java |
1309 |
Found 'DD'-anomaly for variable 'subNum' (lines '1,309'-'1,321'). |
| 2615 |
src/org/jeecgframework/core/util/StringUtil.java |
1309 |
Found 'DD'-anomaly for variable 'subNum' (lines '1,309'-'1,323'). |
| 2616 |
src/org/jeecgframework/core/util/StringUtil.java |
1309 |
Found 'DD'-anomaly for variable 'subNum' (lines '1,309'-'1,325'). |
| 2617 |
src/org/jeecgframework/core/util/StringUtil.java |
1309 |
Found 'DD'-anomaly for variable 'subNum' (lines '1,309'-'1,327'). |
| 2618 |
src/org/jeecgframework/core/util/StringUtil.java |
1310 |
Found 'DD'-anomaly for variable 'thousandNum' (lines '1,310'-'1,317'). |
| 2619 |
src/org/jeecgframework/core/util/StringUtil.java |
1311 |
Found 'DD'-anomaly for variable 'startStr' (lines '1,311'-'1,339'). |
| 2620 |
src/org/jeecgframework/core/util/StringUtil.java |
1311 |
Found 'DU'-anomaly for variable 'startStr' (lines '1,311'-'1,355'). |
| 2621 |
src/org/jeecgframework/core/util/StringUtil.java |
1312 |
Found 'DD'-anomaly for variable 'nextStr' (lines '1,312'-'1,340'). |
| 2622 |
src/org/jeecgframework/core/util/StringUtil.java |
1312 |
Found 'DU'-anomaly for variable 'nextStr' (lines '1,312'-'1,355'). |
| 2623 |
src/org/jeecgframework/core/util/StringUtil.java |
1314 |
Found 'DD'-anomaly for variable 'endNum' (lines '1,314'-'1,343'). |
| 2624 |
src/org/jeecgframework/core/util/StringUtil.java |
1314 |
Found 'DU'-anomaly for variable 'endNum' (lines '1,314'-'1,355'). |
| 2625 |
src/org/jeecgframework/core/util/StringUtil.java |
1317 |
Avoid using if...else statements without curly braces |
| 2626 |
src/org/jeecgframework/core/util/StringUtil.java |
1319 |
Avoid using if...else statements without curly braces |
| 2627 |
src/org/jeecgframework/core/util/StringUtil.java |
1321 |
Avoid using if...else statements without curly braces |
| 2628 |
src/org/jeecgframework/core/util/StringUtil.java |
1323 |
Avoid using if...else statements without curly braces |
| 2629 |
src/org/jeecgframework/core/util/StringUtil.java |
1325 |
Avoid using if...else statements without curly braces |
| 2630 |
src/org/jeecgframework/core/util/StringUtil.java |
1330 |
Found 'DU'-anomaly for variable 'forNum' (lines '1,330'-'1,355'). |
| 2631 |
src/org/jeecgframework/core/util/StringUtil.java |
1332 |
Found 'DU'-anomaly for variable 'forNum' (lines '1,332'-'1,355'). |
| 2632 |
src/org/jeecgframework/core/util/StringUtil.java |
1349 |
Found 'DD'-anomaly for variable 'similarNum' (lines '1,349'-'1,342'). |
| 2633 |
src/org/jeecgframework/core/util/StringUtil.java |
1349 |
Found 'DD'-anomaly for variable 'similarNum' (lines '1,349'-'1,349'). |
| 2634 |
src/org/jeecgframework/core/util/StringUtil.java |
1349 |
Found 'DU'-anomaly for variable 'similarNum' (lines '1,349'-'1,355'). |
| 2635 |
src/org/jeecgframework/core/util/StringUtil.java |
1377 |
Found 'DD'-anomaly for variable 'flag' (lines '1,377'-'1,380'). |
| 2636 |
src/org/jeecgframework/core/util/StringUtil.java |
1377 |
Found 'DD'-anomaly for variable 'flag' (lines '1,377'-'1,383'). |
| 2637 |
src/org/jeecgframework/core/util/StringUtil.java |
1378 |
Avoid if (x != y) ..; else ..; |
| 2638 |
src/org/jeecgframework/core/util/StringUtil.java |
1445 |
The method 'parseQuery' has a Cyclomatic Complexity of 16. |
| 2639 |
src/org/jeecgframework/core/util/StringUtil.java |
1450 |
Found 'DD'-anomaly for variable 'value' (lines '1,450'-'1,456'). |
| 2640 |
src/org/jeecgframework/core/util/StringUtil.java |
1451 |
Found 'DD'-anomaly for variable 'tempValue' (lines '1,451'-'1,460'). |
| 2641 |
src/org/jeecgframework/core/util/StringUtil.java |
1451 |
Found 'DD'-anomaly for variable 'tempValue' (lines '1,451'-'1,478'). |
| 2642 |
src/org/jeecgframework/core/util/StringUtil.java |
1451 |
Found 'DU'-anomaly for variable 'tempValue' (lines '1,451'-'1,489'). |
| 2643 |
src/org/jeecgframework/core/util/StringUtil.java |
1456 |
Found 'DD'-anomaly for variable 'value' (lines '1,456'-'1,456'). |
| 2644 |
src/org/jeecgframework/core/util/StringUtil.java |
1472 |
Do not add empty strings |
| 2645 |
src/org/jeecgframework/core/util/StringUtil.java |
1501 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 2646 |
src/org/jeecgframework/core/util/StringUtil.java |
1506 |
This is an inefficient use of StringBuffer.toString; call StringBuffer.length instead. |
| 2647 |
src/org/jeecgframework/core/util/StringUtil.java |
1569 |
Use asList instead of tight loops |
| 2648 |
src/org/jeecgframework/core/util/StringUtil.java |
1585 |
The method getHtmlSubString() has an NPath complexity of 1404 |
| 2649 |
src/org/jeecgframework/core/util/StringUtil.java |
1622 |
String.trim().length()==0 is an inefficient way to validate an empty String. |
| 2650 |
src/org/jeecgframework/core/util/StringUtil.java |
1680 |
Avoid printStackTrace(); use a logger call instead. |
| 2651 |
src/org/jeecgframework/core/util/StringUtil.java |
1727 |
Avoid unnecessary if..then..else statements when returning a boolean |
| 2652 |
src/org/jeecgframework/core/util/StringUtil.java |
1740 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2653 |
src/org/jeecgframework/core/util/StringUtil.java |
1740 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2654 |
src/org/jeecgframework/core/util/SystemPath.java |
11 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 2655 |
src/org/jeecgframework/core/util/SystemPath.java |
15 |
Local variable 'path' could be declared final |
| 2656 |
src/org/jeecgframework/core/util/SystemPath.java |
16 |
Local variable 'temp' could be declared final |
| 2657 |
src/org/jeecgframework/core/util/SystemPath.java |
17 |
Local variable 'separator' could be declared final |
| 2658 |
src/org/jeecgframework/core/util/SystemPath.java |
18 |
Local variable 'resultPath' could be declared final |
| 2659 |
src/org/jeecgframework/core/util/SystemPath.java |
19 |
Consider simply returning the value vs storing it in local variable 'resultPath' |
| 2660 |
src/org/jeecgframework/core/util/SystemPath.java |
23 |
Local variable 'path' could be declared final |
| 2661 |
src/org/jeecgframework/core/util/SystemPath.java |
27 |
Consider simply returning the value vs storing it in local variable 'resultPath' |
| 2662 |
src/org/jeecgframework/core/util/SystemPath.java |
38 |
Parameter 'args' is not assigned and could be declared final |
| 2663 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
11 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 2664 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
11 |
The class 'ToEntityUtil' has a Cyclomatic Complexity of 8 (Highest = 13). |
| 2665 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
14 |
Parameter 'clas' is not assigned and could be declared final |
| 2666 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
14 |
Parameter 'datas' is not assigned and could be declared final |
| 2667 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
14 |
Parameter 'labels' is not assigned and could be declared final |
| 2668 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
16 |
Local variable 'entitys' could be declared final |
| 2669 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
19 |
Local variable 'data' could be declared final |
| 2670 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
25 |
Avoid printStackTrace(); use a logger call instead. |
| 2671 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
33 |
Parameter 'clas' is not assigned and could be declared final |
| 2672 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
33 |
Parameter 'data' is not assigned and could be declared final |
| 2673 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
33 |
The method 'toEntity' has a Cyclomatic Complexity of 13. |
| 2674 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
34 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2675 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
34 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2676 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
36 |
Local variable 'entity' could be declared final |
| 2677 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
43 |
Local variable 'methodName' could be declared final |
| 2678 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
44 |
Do not add empty strings |
| 2679 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
47 |
Local variable 'field' could be declared final |
| 2680 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
51 |
Found 'DD'-anomaly for variable 'method' (lines '51'-'51'). |
| 2681 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
51 |
Found 'DU'-anomaly for variable 'method' (lines '51'-'74'). |
| 2682 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
53 |
Found 'DD'-anomaly for variable 'val' (lines '53'-'53'). |
| 2683 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
53 |
Found 'DU'-anomaly for variable 'val' (lines '53'-'74'). |
| 2684 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
54 |
Position literals first in String comparisons |
| 2685 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
56 |
Position literals first in String comparisons |
| 2686 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
58 |
Position literals first in String comparisons |
| 2687 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
60 |
Position literals first in String comparisons |
| 2688 |
src/org/jeecgframework/core/util/ToEntityUtil.java |
60 |
Position literals first in String comparisons |
| 2689 |
src/org/jeecgframework/core/util/UUIDGenerator.java |
11 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 2690 |
src/org/jeecgframework/core/util/UUIDGenerator.java |
27 |
Avoid variables with short names like IP |
| 2691 |
src/org/jeecgframework/core/util/UUIDGenerator.java |
38 |
Do not use the short type |
| 2692 |
src/org/jeecgframework/core/util/UUIDGenerator.java |
38 |
Do not use the short type |
| 2693 |
src/org/jeecgframework/core/util/UUIDGenerator.java |
42 |
Parameter 'intval' is not assigned and could be declared final |
| 2694 |
src/org/jeecgframework/core/util/UUIDGenerator.java |
43 |
Local variable 'formatted' could be declared final |
| 2695 |
src/org/jeecgframework/core/util/UUIDGenerator.java |
44 |
Local variable 'buf' could be declared final |
| 2696 |
src/org/jeecgframework/core/util/UUIDGenerator.java |
49 |
Do not use the short type |
| 2697 |
src/org/jeecgframework/core/util/UUIDGenerator.java |
49 |
Parameter 'shortval' is not assigned and could be declared final |
| 2698 |
src/org/jeecgframework/core/util/UUIDGenerator.java |
50 |
Local variable 'formatted' could be declared final |
| 2699 |
src/org/jeecgframework/core/util/UUIDGenerator.java |
51 |
Local variable 'buf' could be declared final |
| 2700 |
src/org/jeecgframework/core/util/UUIDGenerator.java |
60 |
Do not use the short type |
| 2701 |
src/org/jeecgframework/core/util/UUIDGenerator.java |
62 |
Avoid using if statements without curly braces |
| 2702 |
src/org/jeecgframework/core/util/UUIDGenerator.java |
78 |
Do not use the short type |
| 2703 |
src/org/jeecgframework/core/util/UUIDGenerator.java |
86 |
Parameter 'bytes' is not assigned and could be declared final |
| 2704 |
src/org/jeecgframework/core/util/UUIDGenerator.java |
87 |
Found 'DD'-anomaly for variable 'result' (lines '87'-'89'). |
| 2705 |
src/org/jeecgframework/core/util/UploadUtils.java |
31 |
The class 'UploadUtils' has a Cyclomatic Complexity of 2 (Highest = 11). |
| 2706 |
src/org/jeecgframework/core/util/UploadUtils.java |
56 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 2707 |
src/org/jeecgframework/core/util/UploadUtils.java |
58 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 2708 |
src/org/jeecgframework/core/util/UploadUtils.java |
60 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 2709 |
src/org/jeecgframework/core/util/UploadUtils.java |
79 |
Parameter 'request' is not assigned and could be declared final |
| 2710 |
src/org/jeecgframework/core/util/UploadUtils.java |
80 |
Found 'DD'-anomaly for variable 'infos' (lines '80'-'82'). |
| 2711 |
src/org/jeecgframework/core/util/UploadUtils.java |
84 |
Found 'DD'-anomaly for variable 'fieldsMap' (lines '84'-'86'). |
| 2712 |
src/org/jeecgframework/core/util/UploadUtils.java |
89 |
Local variable 'fiList' could be declared final |
| 2713 |
src/org/jeecgframework/core/util/UploadUtils.java |
92 |
Found 'DD'-anomaly for variable 'infos' (lines '92'-'92'). |
| 2714 |
src/org/jeecgframework/core/util/UploadUtils.java |
92 |
Found 'DD'-anomaly for variable 'infos' (lines '92'-'94'). |
| 2715 |
src/org/jeecgframework/core/util/UploadUtils.java |
94 |
Found 'DD'-anomaly for variable 'infos' (lines '94'-'95'). |
| 2716 |
src/org/jeecgframework/core/util/UploadUtils.java |
95 |
Found 'DD'-anomaly for variable 'infos' (lines '95'-'96'). |
| 2717 |
src/org/jeecgframework/core/util/UploadUtils.java |
106 |
Parameter 'request' is not assigned and could be declared final |
| 2718 |
src/org/jeecgframework/core/util/UploadUtils.java |
106 |
The method 'validateFields' has a Cyclomatic Complexity of 11. |
| 2719 |
src/org/jeecgframework/core/util/UploadUtils.java |
107 |
Found 'DD'-anomaly for variable 'errorInfo' (lines '107'-'120'). |
| 2720 |
src/org/jeecgframework/core/util/UploadUtils.java |
107 |
Found 'DD'-anomaly for variable 'errorInfo' (lines '107'-'124'). |
| 2721 |
src/org/jeecgframework/core/util/UploadUtils.java |
107 |
Found 'DD'-anomaly for variable 'errorInfo' (lines '107'-'127'). |
| 2722 |
src/org/jeecgframework/core/util/UploadUtils.java |
107 |
Found 'DD'-anomaly for variable 'errorInfo' (lines '107'-'130'). |
| 2723 |
src/org/jeecgframework/core/util/UploadUtils.java |
107 |
Found 'DD'-anomaly for variable 'errorInfo' (lines '107'-'133'). |
| 2724 |
src/org/jeecgframework/core/util/UploadUtils.java |
107 |
Found 'DD'-anomaly for variable 'errorInfo' (lines '107'-'136'). |
| 2725 |
src/org/jeecgframework/core/util/UploadUtils.java |
110 |
Local variable 'contentType' could be declared final |
| 2726 |
src/org/jeecgframework/core/util/UploadUtils.java |
111 |
Found 'DU'-anomaly for variable 'contentLength' (lines '111'-'165'). |
| 2727 |
src/org/jeecgframework/core/util/UploadUtils.java |
111 |
Local variable 'contentLength' could be declared final |
| 2728 |
src/org/jeecgframework/core/util/UploadUtils.java |
116 |
Found 'DU'-anomaly for variable 'uploadDir' (lines '116'-'165'). |
| 2729 |
src/org/jeecgframework/core/util/UploadUtils.java |
116 |
Local variable 'uploadDir' could be declared final |
| 2730 |
src/org/jeecgframework/core/util/UploadUtils.java |
125 |
Avoid if (x != y) ..; else ..; |
| 2731 |
src/org/jeecgframework/core/util/UploadUtils.java |
128 |
Avoid if (x != y) ..; else ..; |
| 2732 |
src/org/jeecgframework/core/util/UploadUtils.java |
131 |
Avoid if (x != y) ..; else ..; |
| 2733 |
src/org/jeecgframework/core/util/UploadUtils.java |
134 |
Avoid if (x != y) ..; else ..; |
| 2734 |
src/org/jeecgframework/core/util/UploadUtils.java |
142 |
Local variable 'saveDirFile' could be declared final |
| 2735 |
src/org/jeecgframework/core/util/UploadUtils.java |
147 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 2736 |
src/org/jeecgframework/core/util/UploadUtils.java |
175 |
Parameter 'request' is not assigned and could be declared final |
| 2737 |
src/org/jeecgframework/core/util/UploadUtils.java |
200 |
Found 'DD'-anomaly for variable 'items' (lines '200'-'203'). |
| 2738 |
src/org/jeecgframework/core/util/UploadUtils.java |
206 |
Avoid printStackTrace(); use a logger call instead. |
| 2739 |
src/org/jeecgframework/core/util/UploadUtils.java |
210 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 2740 |
src/org/jeecgframework/core/util/UploadUtils.java |
242 |
Parameter 'item' is not assigned and could be declared final |
| 2741 |
src/org/jeecgframework/core/util/UploadUtils.java |
243 |
Found 'DD'-anomaly for variable 'error' (lines '243'-'249'). |
| 2742 |
src/org/jeecgframework/core/util/UploadUtils.java |
243 |
Found 'DD'-anomaly for variable 'error' (lines '243'-'251'). |
| 2743 |
src/org/jeecgframework/core/util/UploadUtils.java |
245 |
Found 'DU'-anomaly for variable 'fileExt' (lines '245'-'279'). |
| 2744 |
src/org/jeecgframework/core/util/UploadUtils.java |
245 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2745 |
src/org/jeecgframework/core/util/UploadUtils.java |
250 |
Avoid if (x != y) ..; else ..; |
| 2746 |
src/org/jeecgframework/core/util/UploadUtils.java |
255 |
Avoid variables with short names like df |
| 2747 |
src/org/jeecgframework/core/util/UploadUtils.java |
255 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 2748 |
src/org/jeecgframework/core/util/UploadUtils.java |
272 |
Avoid printStackTrace(); use a logger call instead. |
| 2749 |
src/org/jeecgframework/core/util/UploadUtils.java |
275 |
Avoid printStackTrace(); use a logger call instead. |
| 2750 |
src/org/jeecgframework/core/util/UploadUtils.java |
295 |
Parameter 'maxSize' is not assigned and could be declared final |
| 2751 |
src/org/jeecgframework/core/util/ZipUtil.java |
19 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 2752 |
src/org/jeecgframework/core/util/ZipUtil.java |
19 |
The class 'ZipUtil' has a Cyclomatic Complexity of 5 (Highest = 13). |
| 2753 |
src/org/jeecgframework/core/util/ZipUtil.java |
28 |
Parameter 'descDir' is not assigned and could be declared final |
| 2754 |
src/org/jeecgframework/core/util/ZipUtil.java |
28 |
Parameter 'zipPath' is not assigned and could be declared final |
| 2755 |
src/org/jeecgframework/core/util/ZipUtil.java |
41 |
Parameter 'descDir' is not assigned and could be declared final |
| 2756 |
src/org/jeecgframework/core/util/ZipUtil.java |
41 |
Parameter 'zipFile' is not assigned and could be declared final |
| 2757 |
src/org/jeecgframework/core/util/ZipUtil.java |
43 |
Local variable 'pathFile' could be declared final |
| 2758 |
src/org/jeecgframework/core/util/ZipUtil.java |
47 |
Local variable 'zip' could be declared final |
| 2759 |
src/org/jeecgframework/core/util/ZipUtil.java |
48 |
Local variable 'entries' could be declared final |
| 2760 |
src/org/jeecgframework/core/util/ZipUtil.java |
49 |
Local variable 'entry' could be declared final |
| 2761 |
src/org/jeecgframework/core/util/ZipUtil.java |
50 |
Local variable 'zipEntryName' could be declared final |
| 2762 |
src/org/jeecgframework/core/util/ZipUtil.java |
51 |
Avoid variables with short names like in |
| 2763 |
src/org/jeecgframework/core/util/ZipUtil.java |
52 |
Found 'DD'-anomaly for variable 'outPath' (lines '52'-'53'). |
| 2764 |
src/org/jeecgframework/core/util/ZipUtil.java |
53 |
Avoid instantiating new objects inside loops |
| 2765 |
src/org/jeecgframework/core/util/ZipUtil.java |
54 |
An empty statement (semicolon) not part of a loop |
| 2766 |
src/org/jeecgframework/core/util/ZipUtil.java |
56 |
Avoid instantiating new objects inside loops |
| 2767 |
src/org/jeecgframework/core/util/ZipUtil.java |
61 |
Avoid instantiating new objects inside loops |
| 2768 |
src/org/jeecgframework/core/util/ZipUtil.java |
65 |
System.out.print is used |
| 2769 |
src/org/jeecgframework/core/util/ZipUtil.java |
67 |
Avoid instantiating new objects inside loops |
| 2770 |
src/org/jeecgframework/core/util/ZipUtil.java |
68 |
Avoid instantiating new objects inside loops |
| 2771 |
src/org/jeecgframework/core/util/ZipUtil.java |
70 |
Avoid assignments in operands |
| 2772 |
src/org/jeecgframework/core/util/ZipUtil.java |
70 |
Found 'DD'-anomaly for variable 'len' (lines '70'-'70'). |
| 2773 |
src/org/jeecgframework/core/util/ZipUtil.java |
70 |
Found 'DU'-anomaly for variable 'len' (lines '70'-'76'). |
| 2774 |
src/org/jeecgframework/core/util/ZipUtil.java |
87 |
Parameter 'destinct' is not assigned and could be declared final |
| 2775 |
src/org/jeecgframework/core/util/ZipUtil.java |
93 |
Found 'DU'-anomaly for variable 'buffere' (lines '93'-'112'). |
| 2776 |
src/org/jeecgframework/core/util/ZipUtil.java |
104 |
Avoid using if statements without curly braces |
| 2777 |
src/org/jeecgframework/core/util/ZipUtil.java |
144 |
Avoid using if statements without curly braces |
| 2778 |
src/org/jeecgframework/core/util/ZipUtil.java |
145 |
A method should have only one exit point, and that should be the last statement in the method |
| 2779 |
src/org/jeecgframework/core/util/ZipUtil.java |
154 |
Variables that are final and static should be in all caps. |
| 2780 |
src/org/jeecgframework/core/util/ZipUtil.java |
160 |
The method 'unZip' has a Cyclomatic Complexity of 13. |
| 2781 |
src/org/jeecgframework/core/util/ZipUtil.java |
162 |
Found 'DD'-anomaly for variable 'count' (lines '162'-'204'). |
| 2782 |
src/org/jeecgframework/core/util/ZipUtil.java |
163 |
Found 'DD'-anomaly for variable 'file' (lines '163'-'188'). |
| 2783 |
src/org/jeecgframework/core/util/ZipUtil.java |
164 |
Avoid variables with short names like is |
| 2784 |
src/org/jeecgframework/core/util/ZipUtil.java |
164 |
Found 'DD'-anomaly for variable 'is' (lines '164'-'200'). |
| 2785 |
src/org/jeecgframework/core/util/ZipUtil.java |
165 |
Found 'DD'-anomaly for variable 'fos' (lines '165'-'201'). |
| 2786 |
src/org/jeecgframework/core/util/ZipUtil.java |
166 |
Found 'DD'-anomaly for variable 'bos' (lines '166'-'202'). |
| 2787 |
src/org/jeecgframework/core/util/ZipUtil.java |
168 |
Found 'DD'-anomaly for variable 'zipFile' (lines '168'-'171'). |
| 2788 |
src/org/jeecgframework/core/util/ZipUtil.java |
181 |
Found 'DD'-anomaly for variable 'ismkdir' (lines '181'-'183'). |
| 2789 |
src/org/jeecgframework/core/util/ZipUtil.java |
181 |
Found 'DU'-anomaly for variable 'ismkdir' (lines '181'-'237'). |
| 2790 |
src/org/jeecgframework/core/util/ZipUtil.java |
182 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2791 |
src/org/jeecgframework/core/util/ZipUtil.java |
183 |
Found 'DU'-anomaly for variable 'ismkdir' (lines '183'-'237'). |
| 2792 |
src/org/jeecgframework/core/util/ZipUtil.java |
185 |
Prefer StringBuffer over += for concatenating strings |
| 2793 |
src/org/jeecgframework/core/util/ZipUtil.java |
194 |
These nested if statements could be combined |
| 2794 |
src/org/jeecgframework/core/util/ZipUtil.java |
195 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2795 |
src/org/jeecgframework/core/util/ZipUtil.java |
204 |
Avoid assignments in operands |
| 2796 |
src/org/jeecgframework/core/util/ZipUtil.java |
204 |
Found 'DD'-anomaly for variable 'count' (lines '204'-'204'). |
| 2797 |
src/org/jeecgframework/core/util/ZipUtil.java |
204 |
Found 'DU'-anomaly for variable 'count' (lines '204'-'237'). |
| 2798 |
src/org/jeecgframework/core/util/ZipUtil.java |
218 |
Avoid printStackTrace(); use a logger call instead. |
| 2799 |
src/org/jeecgframework/core/util/ZipUtil.java |
234 |
Avoid printStackTrace(); use a logger call instead. |
| 2800 |
src/org/jeecgframework/core/util/oConvertUtils.java |
21 |
Avoid unused imports such as 'org.springframework.web.context.request.RequestContextHolder' |
| 2801 |
src/org/jeecgframework/core/util/oConvertUtils.java |
21 |
Avoid unused imports such as 'org.springframework.web.context.request.RequestContextHolder' |
| 2802 |
src/org/jeecgframework/core/util/oConvertUtils.java |
22 |
Avoid unused imports such as 'org.springframework.web.context.request.ServletRequestAttributes' |
| 2803 |
src/org/jeecgframework/core/util/oConvertUtils.java |
22 |
Avoid unused imports such as 'org.springframework.web.context.request.ServletRequestAttributes' |
| 2804 |
src/org/jeecgframework/core/util/oConvertUtils.java |
29 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 2805 |
src/org/jeecgframework/core/util/oConvertUtils.java |
29 |
Class names should begin with an uppercase character |
| 2806 |
src/org/jeecgframework/core/util/oConvertUtils.java |
29 |
The class 'oConvertUtils' has a Cyclomatic Complexity of 3 (Highest = 12). |
| 2807 |
src/org/jeecgframework/core/util/oConvertUtils.java |
29 |
This class has too many methods, consider refactoring it. |
| 2808 |
src/org/jeecgframework/core/util/oConvertUtils.java |
33 |
Use explicit scoping instead of the default package private level |
| 2809 |
src/org/jeecgframework/core/util/oConvertUtils.java |
39 |
Parameter 'object' is not assigned and could be declared final |
| 2810 |
src/org/jeecgframework/core/util/oConvertUtils.java |
41 |
A method should have only one exit point, and that should be the last statement in the method |
| 2811 |
src/org/jeecgframework/core/util/oConvertUtils.java |
41 |
This statement may have some unnecessary parentheses |
| 2812 |
src/org/jeecgframework/core/util/oConvertUtils.java |
43 |
Position literals first in String comparisons |
| 2813 |
src/org/jeecgframework/core/util/oConvertUtils.java |
44 |
A method should have only one exit point, and that should be the last statement in the method |
| 2814 |
src/org/jeecgframework/core/util/oConvertUtils.java |
44 |
This statement may have some unnecessary parentheses |
| 2815 |
src/org/jeecgframework/core/util/oConvertUtils.java |
46 |
Position literals first in String comparisons |
| 2816 |
src/org/jeecgframework/core/util/oConvertUtils.java |
47 |
A method should have only one exit point, and that should be the last statement in the method |
| 2817 |
src/org/jeecgframework/core/util/oConvertUtils.java |
47 |
This statement may have some unnecessary parentheses |
| 2818 |
src/org/jeecgframework/core/util/oConvertUtils.java |
49 |
This statement may have some unnecessary parentheses |
| 2819 |
src/org/jeecgframework/core/util/oConvertUtils.java |
52 |
Parameter 'object' is not assigned and could be declared final |
| 2820 |
src/org/jeecgframework/core/util/oConvertUtils.java |
54 |
A method should have only one exit point, and that should be the last statement in the method |
| 2821 |
src/org/jeecgframework/core/util/oConvertUtils.java |
54 |
This statement may have some unnecessary parentheses |
| 2822 |
src/org/jeecgframework/core/util/oConvertUtils.java |
59 |
Parameter 'sourceCode' is not assigned and could be declared final |
| 2823 |
src/org/jeecgframework/core/util/oConvertUtils.java |
59 |
Parameter 'strIn' is not assigned and could be declared final |
| 2824 |
src/org/jeecgframework/core/util/oConvertUtils.java |
59 |
Parameter 'targetCode' is not assigned and could be declared final |
| 2825 |
src/org/jeecgframework/core/util/oConvertUtils.java |
60 |
Local variable 'temp' could be declared final |
| 2826 |
src/org/jeecgframework/core/util/oConvertUtils.java |
61 |
Consider simply returning the value vs storing it in local variable 'temp' |
| 2827 |
src/org/jeecgframework/core/util/oConvertUtils.java |
64 |
Avoid reassigning parameters such as 'strIn' |
| 2828 |
src/org/jeecgframework/core/util/oConvertUtils.java |
64 |
Avoid reassigning parameters such as 'strIn' |
| 2829 |
src/org/jeecgframework/core/util/oConvertUtils.java |
64 |
Method names should not start with capital letters |
| 2830 |
src/org/jeecgframework/core/util/oConvertUtils.java |
70 |
Avoid printStackTrace(); use a logger call instead. |
| 2831 |
src/org/jeecgframework/core/util/oConvertUtils.java |
77 |
Found 'DD'-anomaly for variable 'strOut' (lines '77'-'85'). |
| 2832 |
src/org/jeecgframework/core/util/oConvertUtils.java |
77 |
Found 'DU'-anomaly for variable 'strOut' (lines '77'-'91'). |
| 2833 |
src/org/jeecgframework/core/util/oConvertUtils.java |
78 |
Avoid using if statements without curly braces |
| 2834 |
src/org/jeecgframework/core/util/oConvertUtils.java |
79 |
A method should have only one exit point, and that should be the last statement in the method |
| 2835 |
src/org/jeecgframework/core/util/oConvertUtils.java |
81 |
Avoid variables with short names like b |
| 2836 |
src/org/jeecgframework/core/util/oConvertUtils.java |
81 |
Local variable 'b' could be declared final |
| 2837 |
src/org/jeecgframework/core/util/oConvertUtils.java |
83 |
System.out.print is used |
| 2838 |
src/org/jeecgframework/core/util/oConvertUtils.java |
85 |
Found 'DU'-anomaly for variable 'strOut' (lines '85'-'91'). |
| 2839 |
src/org/jeecgframework/core/util/oConvertUtils.java |
87 |
Avoid printStackTrace(); use a logger call instead. |
| 2840 |
src/org/jeecgframework/core/util/oConvertUtils.java |
93 |
Avoid variables with short names like s |
| 2841 |
src/org/jeecgframework/core/util/oConvertUtils.java |
94 |
Use equals() to compare strings instead of '==' or '!=' |
| 2842 |
src/org/jeecgframework/core/util/oConvertUtils.java |
104 |
Avoid variables with short names like s |
| 2843 |
src/org/jeecgframework/core/util/oConvertUtils.java |
105 |
Use equals() to compare strings instead of '==' or '!=' |
| 2844 |
src/org/jeecgframework/core/util/oConvertUtils.java |
115 |
Avoid variables with short names like df |
| 2845 |
src/org/jeecgframework/core/util/oConvertUtils.java |
115 |
Avoid variables with short names like s |
| 2846 |
src/org/jeecgframework/core/util/oConvertUtils.java |
116 |
Use equals() to compare strings instead of '==' or '!=' |
| 2847 |
src/org/jeecgframework/core/util/oConvertUtils.java |
127 |
Found 'DD'-anomaly for variable 'integer' (lines '127'-'132'). |
| 2848 |
src/org/jeecgframework/core/util/oConvertUtils.java |
127 |
Found 'DU'-anomaly for variable 'integer' (lines '127'-'136'). |
| 2849 |
src/org/jeecgframework/core/util/oConvertUtils.java |
132 |
Found 'DD'-anomaly for variable 'integer' (lines '132'-'132'). |
| 2850 |
src/org/jeecgframework/core/util/oConvertUtils.java |
139 |
Use equals() to compare strings instead of '==' or '!=' |
| 2851 |
src/org/jeecgframework/core/util/oConvertUtils.java |
183 |
Local variable 'len' could be declared final |
| 2852 |
src/org/jeecgframework/core/util/oConvertUtils.java |
184 |
Found 'DD'-anomaly for variable 'result' (lines '184'-'187'). |
| 2853 |
src/org/jeecgframework/core/util/oConvertUtils.java |
187 |
Avoid instantiating Integer objects. Call Integer.valueOf() instead. |
| 2854 |
src/org/jeecgframework/core/util/oConvertUtils.java |
187 |
Avoid instantiating new objects inside loops |
| 2855 |
src/org/jeecgframework/core/util/oConvertUtils.java |
187 |
Found 'DD'-anomaly for variable 'result' (lines '187'-'187'). |
| 2856 |
src/org/jeecgframework/core/util/oConvertUtils.java |
229 |
Avoid instantiating Long objects.Call Long.valueOf() instead |
| 2857 |
src/org/jeecgframework/core/util/oConvertUtils.java |
229 |
Found 'DD'-anomaly for variable 'test' (lines '229'-'231'). |
| 2858 |
src/org/jeecgframework/core/util/oConvertUtils.java |
232 |
Avoid empty catch blocks |
| 2859 |
src/org/jeecgframework/core/util/oConvertUtils.java |
241 |
Found 'DD'-anomaly for variable 'ip' (lines '241'-'244'). |
| 2860 |
src/org/jeecgframework/core/util/oConvertUtils.java |
243 |
Local variable 'address' could be declared final |
| 2861 |
src/org/jeecgframework/core/util/oConvertUtils.java |
247 |
Avoid printStackTrace(); use a logger call instead. |
| 2862 |
src/org/jeecgframework/core/util/oConvertUtils.java |
259 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2863 |
src/org/jeecgframework/core/util/oConvertUtils.java |
259 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2864 |
src/org/jeecgframework/core/util/oConvertUtils.java |
259 |
Avoid unused private methods such as 'isBaseDataType(Class)'. |
| 2865 |
src/org/jeecgframework/core/util/oConvertUtils.java |
268 |
The method 'getIpAddrByRequest' has a Cyclomatic Complexity of 10. |
| 2866 |
src/org/jeecgframework/core/util/oConvertUtils.java |
286 |
The method 'getRealIp' has a Cyclomatic Complexity of 12. |
| 2867 |
src/org/jeecgframework/core/util/oConvertUtils.java |
287 |
Found 'DD'-anomaly for variable 'localip' (lines '287'-'303'). |
| 2868 |
src/org/jeecgframework/core/util/oConvertUtils.java |
287 |
Found 'DU'-anomaly for variable 'localip' (lines '287'-'313'). |
| 2869 |
src/org/jeecgframework/core/util/oConvertUtils.java |
288 |
Found 'DD'-anomaly for variable 'netip' (lines '288'-'299'). |
| 2870 |
src/org/jeecgframework/core/util/oConvertUtils.java |
290 |
Local variable 'netInterfaces' could be declared final |
| 2871 |
src/org/jeecgframework/core/util/oConvertUtils.java |
291 |
Found 'DD'-anomaly for variable 'ip' (lines '291'-'297'). |
| 2872 |
src/org/jeecgframework/core/util/oConvertUtils.java |
291 |
Found 'DU'-anomaly for variable 'ip' (lines '291'-'313'). |
| 2873 |
src/org/jeecgframework/core/util/oConvertUtils.java |
300 |
Found 'DU'-anomaly for variable 'finded' (lines '300'-'313'). |
| 2874 |
src/org/jeecgframework/core/util/oConvertUtils.java |
303 |
Found 'DD'-anomaly for variable 'localip' (lines '303'-'303'). |
| 2875 |
src/org/jeecgframework/core/util/oConvertUtils.java |
303 |
Found 'DU'-anomaly for variable 'localip' (lines '303'-'313'). |
| 2876 |
src/org/jeecgframework/core/util/oConvertUtils.java |
308 |
Avoid if (x != y) ..; else ..; |
| 2877 |
src/org/jeecgframework/core/util/oConvertUtils.java |
322 |
Found 'DD'-anomaly for variable 'dest' (lines '322'-'326'). |
| 2878 |
src/org/jeecgframework/core/util/oConvertUtils.java |
365 |
Method names should not start with capital letters |
| 2879 |
src/org/jeecgframework/core/util/oConvertUtils.java |
376 |
Found 'DD'-anomaly for variable 'isInnerIp' (lines '376'-'387'). |
| 2880 |
src/org/jeecgframework/core/util/oConvertUtils.java |
381 |
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! |
| 2881 |
src/org/jeecgframework/core/util/oConvertUtils.java |
382 |
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! |
| 2882 |
src/org/jeecgframework/core/util/oConvertUtils.java |
383 |
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! |
| 2883 |
src/org/jeecgframework/core/util/oConvertUtils.java |
384 |
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! |
| 2884 |
src/org/jeecgframework/core/util/oConvertUtils.java |
385 |
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! |
| 2885 |
src/org/jeecgframework/core/util/oConvertUtils.java |
387 |
Position literals first in String comparisons |
| 2886 |
src/org/jeecgframework/core/util/oConvertUtils.java |
399 |
Consider simply returning the value vs storing it in local variable 'ipNum' |
| 2887 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 2888 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
11 |
Avoid unused imports such as 'java.lang.reflect.InvocationTargetException' |
| 2889 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
11 |
Avoid unused imports such as 'java.lang.reflect.InvocationTargetException' |
| 2890 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
52 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 2891 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
52 |
The class 'ExcelExportOfTemplateUtil' has a Cyclomatic Complexity of 5 (Highest = 11). |
| 2892 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
52 |
This class has too many methods, consider refactoring it. |
| 2893 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
63 |
Parameter 'params' is not assigned and could be declared final |
| 2894 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
64 |
Parameter 'dataSet' is not assigned and could be declared final |
| 2895 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
64 |
Parameter 'map' is not assigned and could be declared final |
| 2896 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
64 |
Parameter 'pojoClass' is not assigned and could be declared final |
| 2897 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
77 |
Parameter 'params' is not assigned and could be declared final |
| 2898 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
88 |
A method should have only one exit point, and that should be the last statement in the method |
| 2899 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
90 |
Avoid variables with short names like wb |
| 2900 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
90 |
Found 'DD'-anomaly for variable 'wb' (lines '90'-'93'). |
| 2901 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
110 |
Avoid printStackTrace(); use a logger call instead. |
| 2902 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
111 |
A method should have only one exit point, and that should be the last statement in the method |
| 2903 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
122 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2904 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
122 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2905 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
123 |
Avoid variables with short names like wb |
| 2906 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
123 |
Found 'DD'-anomaly for variable 'wb' (lines '123'-'136'). |
| 2907 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
124 |
Found 'DD'-anomaly for variable 'path' (lines '124'-'125'). |
| 2908 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
127 |
Local variable 'fileis' could be declared final |
| 2909 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
128 |
Local variable 'baos' could be declared final |
| 2910 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
129 |
Local variable 'buffer' could be declared final |
| 2911 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
131 |
Avoid assignments in operands |
| 2912 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
131 |
Found 'DU'-anomaly for variable 'len' (lines '131'-'143'). |
| 2913 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
135 |
Avoid variables with short names like is |
| 2914 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
135 |
Local variable 'is' could be declared final |
| 2915 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
153 |
Avoid unused method parameters such as 'params'. |
| 2916 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
155 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2917 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
155 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2918 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
156 |
Found 'DU'-anomaly for variable 'patriarch' (lines '156'-'174'). |
| 2919 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
156 |
Local variable 'patriarch' could be declared final |
| 2920 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
161 |
Found 'DD'-anomaly for variable 'targetId' (lines '161'-'163'). |
| 2921 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
168 |
Found 'DU'-anomaly for variable 'index' (lines '168'-'174'). |
| 2922 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
170 |
Avoid variables with short names like t |
| 2923 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
177 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2924 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
177 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2925 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
195 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2926 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
195 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2927 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
198 |
Found 'DU'-anomaly for variable 'oldString' (lines '198'-'213'). |
| 2928 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
223 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2929 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
223 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 2930 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
224 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2931 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
226 |
A method should have only one exit point, and that should be the last statement in the method |
| 2932 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
244 |
Avoid reassigning parameters such as 'object' |
| 2933 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
244 |
Avoid reassigning parameters such as 'object' |
| 2934 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
245 |
Avoid reassigning parameters such as 'index' |
| 2935 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
246 |
A method should have only one exit point, and that should be the last statement in the method |
| 2936 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
264 |
Avoid instantiating new objects inside loops |
| 2937 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
275 |
Avoid variables with short names like t |
| 2938 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
275 |
The method 'createCells' has a Cyclomatic Complexity of 11. |
| 2939 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
280 |
Do not use the short type |
| 2940 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
281 |
Found 'DD'-anomaly for variable 'cellNum' (lines '281'-'309'). |
| 2941 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
284 |
Avoid if (x != y) ..; else ..; |
| 2942 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
286 |
Avoid instantiating new objects inside loops |
| 2943 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
287 |
Found 'DD'-anomaly for variable 'listC' (lines '287'-'287'). |
| 2944 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
287 |
Found 'DU'-anomaly for variable 'listC' (lines '287'-'322'). |
| 2945 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
291 |
Found 'DD'-anomaly for variable 'listC' (lines '291'-'287'). |
| 2946 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
291 |
Found 'DU'-anomaly for variable 'listC' (lines '291'-'322'). |
| 2947 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
299 |
Avoid if (x != y) ..; else ..; |
| 2948 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
309 |
Found 'DU'-anomaly for variable 'cellNum' (lines '309'-'322'). |
| 2949 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
312 |
Avoid if (x != y) ..; else ..; |
| 2950 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
315 |
Avoid instantiating new objects inside loops |
| 2951 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
317 |
Found 'DU'-anomaly for variable 'cellNum' (lines '317'-'322'). |
| 2952 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
334 |
Avoid if (x != y) ..; else ..; |
| 2953 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
340 |
Found 'DD'-anomaly for variable 'temp' (lines '340'-'344'). |
| 2954 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
340 |
Found 'DD'-anomaly for variable 'temp' (lines '340'-'346'). |
| 2955 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
342 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 2956 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
349 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 2957 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
363 |
Avoid reassigning parameters such as 'cellNum' |
| 2958 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
363 |
Avoid reassigning parameters such as 'cellNum' |
| 2959 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
369 |
Do not use the short type |
| 2960 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
371 |
Found 'DU'-anomaly for variable 'row' (lines '371'-'384'). |
| 2961 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
376 |
Avoid if (x != y) ..; else ..; |
| 2962 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
401 |
Avoid instantiating new objects inside loops |
| 2963 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
418 |
Found 'DU'-anomaly for variable 'cell' (lines '418'-'430'). |
| 2964 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
419 |
A switch with less than 3 branches is inefficient, use a if statement instead. |
| 2965 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
419 |
Switch statements should have a default label |
| 2966 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
449 |
Do not use the short type |
| 2967 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
451 |
Found 'DU'-anomaly for variable 'anchor' (lines '451'-'488'). |
| 2968 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
452 |
Do not use the short type |
| 2969 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
453 |
Do not use the short type |
| 2970 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
460 |
Found 'DD'-anomaly for variable 'path' (lines '460'-'462'). |
| 2971 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
460 |
In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. |
| 2972 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
467 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2973 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
476 |
Avoid printStackTrace(); use a logger call instead. |
| 2974 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
515 |
Avoid instantiating new objects inside loops |
| 2975 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
560 |
String.indexOf(char) is faster than String.indexOf(String). |
| 2976 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
561 |
A method should have only one exit point, and that should be the last statement in the method |
| 2977 |
src/org/jeecgframework/poi/excel/ExcelExportOfTemplateUtil.java |
672 |
Avoid excessively long variable names like getConvertMethodName |
| 2978 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 2979 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
58 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 2980 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
58 |
The class 'ExcelExportUtil' has a Cyclomatic Complexity of 4 (Highest = 13). |
| 2981 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
58 |
This class has too many methods, consider refactoring it. |
| 2982 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
67 |
Parameter 'list' is not assigned and could be declared final |
| 2983 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
68 |
Local variable 'workbook' could be declared final |
| 2984 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
89 |
Parameter 'entity' is not assigned and could be declared final |
| 2985 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
90 |
Parameter 'dataSet' is not assigned and could be declared final |
| 2986 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
90 |
Parameter 'pojoClass' is not assigned and could be declared final |
| 2987 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
91 |
Local variable 'workbook' could be declared final |
| 2988 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
106 |
Parameter 'params' is not assigned and could be declared final |
| 2989 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
129 |
Local variable 'sheet' could be declared final |
| 2990 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
131 |
Found 'DU'-anomaly for variable 'styles' (lines '131'-'164'). |
| 2991 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
131 |
Local variable 'styles' could be declared final |
| 2992 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
132 |
Found 'DU'-anomaly for variable 'patriarch' (lines '132'-'164'). |
| 2993 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
132 |
Local variable 'patriarch' could be declared final |
| 2994 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
137 |
Found 'DD'-anomaly for variable 'targetId' (lines '137'-'139'). |
| 2995 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
144 |
Found 'DU'-anomaly for variable 'feildWidth' (lines '144'-'164'). |
| 2996 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
145 |
Avoid if (x != y) ..; else ..; |
| 2997 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
146 |
Avoid variables with short names like i |
| 2998 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
157 |
Avoid variables with short names like t |
| 2999 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
162 |
Avoid printStackTrace(); use a logger call instead. |
| 3000 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
172 |
Avoid instantiating new objects inside loops |
| 3001 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
182 |
Avoid variables with short names like t |
| 3002 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
182 |
The method 'createCells' has a Cyclomatic Complexity of 13. |
| 3003 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
184 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3004 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
184 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3005 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
187 |
Do not use the short type |
| 3006 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
188 |
Found 'DD'-anomaly for variable 'cellNum' (lines '188'-'218'). |
| 3007 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
191 |
Avoid if (x != y) ..; else ..; |
| 3008 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
193 |
Avoid instantiating new objects inside loops |
| 3009 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
194 |
Found 'DD'-anomaly for variable 'listC' (lines '194'-'194'). |
| 3010 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
194 |
Found 'DU'-anomaly for variable 'listC' (lines '194'-'231'). |
| 3011 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
198 |
Found 'DD'-anomaly for variable 'listC' (lines '198'-'194'). |
| 3012 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
198 |
Found 'DU'-anomaly for variable 'listC' (lines '198'-'231'). |
| 3013 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
218 |
Found 'DU'-anomaly for variable 'cellNum' (lines '218'-'231'). |
| 3014 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
221 |
Avoid if (x != y) ..; else ..; |
| 3015 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
224 |
Avoid instantiating new objects inside loops |
| 3016 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
226 |
Found 'DU'-anomaly for variable 'cellNum' (lines '226'-'231'). |
| 3017 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
239 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3018 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
239 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3019 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
239 |
The method 'getCellValue' has a Cyclomatic Complexity of 10. |
| 3020 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
240 |
Avoid if (x != y) ..; else ..; |
| 3021 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
245 |
Found 'DD'-anomaly for variable 'temp' (lines '245'-'248'). |
| 3022 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
245 |
Found 'DD'-anomaly for variable 'temp' (lines '245'-'250'). |
| 3023 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
247 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 3024 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
253 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 3025 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
258 |
A method should have only one exit point, and that should be the last statement in the method |
| 3026 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
267 |
Avoid reassigning parameters such as 'cellNum' |
| 3027 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
267 |
Avoid reassigning parameters such as 'cellNum' |
| 3028 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
267 |
Avoid unused method parameters such as 'workbook'. |
| 3029 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
269 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3030 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
269 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3031 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
274 |
Do not use the short type |
| 3032 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
276 |
Found 'DU'-anomaly for variable 'row' (lines '276'-'291'). |
| 3033 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
301 |
Avoid reassigning parameters such as 't' |
| 3034 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
301 |
Avoid reassigning parameters such as 't' |
| 3035 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
301 |
Avoid variables with short names like t |
| 3036 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
302 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3037 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
302 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3038 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
308 |
Avoid instantiating new objects inside loops |
| 3039 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
315 |
Found 'DU'-anomaly for variable 'index' (lines '315'-'328'). |
| 3040 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
317 |
Avoid if (x != y) ..; else ..; |
| 3041 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
321 |
Found 'DU'-anomaly for variable 'index' (lines '321'-'328'). |
| 3042 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
325 |
Found 'DU'-anomaly for variable 'index' (lines '325'-'328'). |
| 3043 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
339 |
Found 'DU'-anomaly for variable 'row1' (lines '339'-'362'). |
| 3044 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
340 |
Do not use the short type |
| 3045 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
341 |
Found 'DU'-anomaly for variable 'cellIndex' (lines '341'-'362'). |
| 3046 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
342 |
Found 'DU'-anomaly for variable 'titleStyle' (lines '342'-'362'). |
| 3047 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
343 |
Avoid excessively long variable names like exportFieldTitleSize |
| 3048 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
348 |
Avoid instantiating new objects inside loops |
| 3049 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
353 |
Found 'DU'-anomaly for variable 'cellIndex' (lines '353'-'362'). |
| 3050 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
358 |
Found 'DU'-anomaly for variable 'cellIndex' (lines '358'-'362'). |
| 3051 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
373 |
Avoid unused method parameters such as 'entity'. |
| 3052 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
393 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3053 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
393 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3054 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
393 |
Avoid variables with short names like i |
| 3055 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
394 |
Do not use the short type |
| 3056 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
396 |
Found 'DU'-anomaly for variable 'anchor' (lines '396'-'426'). |
| 3057 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
397 |
Do not use the short type |
| 3058 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
404 |
Found 'DD'-anomaly for variable 'path' (lines '404'-'405'). |
| 3059 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
409 |
String.indexOf(char) is faster than String.indexOf(String). |
| 3060 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
414 |
Avoid printStackTrace(); use a logger call instead. |
| 3061 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
437 |
A method should have only one exit point, and that should be the last statement in the method |
| 3062 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
439 |
A method should have only one exit point, and that should be the last statement in the method |
| 3063 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
464 |
A method should have only one exit point, and that should be the last statement in the method |
| 3064 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
551 |
String.indexOf(char) is faster than String.indexOf(String). |
| 3065 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
552 |
A method should have only one exit point, and that should be the last statement in the method |
| 3066 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
656 |
Avoid excessively long variable names like getConvertMethodName |
| 3067 |
src/org/jeecgframework/poi/excel/ExcelExportUtil.java |
748 |
Avoid unnecessary comparisons in boolean expressions |
| 3068 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 3069 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
53 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 3070 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
53 |
The class 'ExcelImportUtil' has a Cyclomatic Complexity of 5 (Highest = 15). |
| 3071 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
63 |
Parameter 'file' is not assigned and could be declared final |
| 3072 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
63 |
Parameter 'pojoClass' is not assigned and could be declared final |
| 3073 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
64 |
Parameter 'params' is not assigned and could be declared final |
| 3074 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
65 |
Avoid variables with short names like in |
| 3075 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
65 |
Found 'DD'-anomaly for variable 'in' (lines '65'-'68'). |
| 3076 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
66 |
Found 'DD'-anomaly for variable 'result' (lines '66'-'69'). |
| 3077 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
71 |
Avoid printStackTrace(); use a logger call instead. |
| 3078 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
76 |
Avoid printStackTrace(); use a logger call instead. |
| 3079 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
89 |
Avoid reassigning parameters such as 'inputstream' |
| 3080 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
90 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3081 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
90 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3082 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
90 |
Parameter 'params' is not assigned and could be declared final |
| 3083 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
90 |
Parameter 'pojoClass' is not assigned and could be declared final |
| 3084 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
91 |
Local variable 'result' could be declared final |
| 3085 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
92 |
Found 'DD'-anomaly for variable 'book' (lines '92'-'101'). |
| 3086 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
92 |
Found 'DD'-anomaly for variable 'book' (lines '92'-'98'). |
| 3087 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
92 |
Found 'DU'-anomaly for variable 'book' (lines '92'-'119'). |
| 3088 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
93 |
Found 'DD'-anomaly for variable 'isXSSFWorkbook' (lines '93'-'99'). |
| 3089 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
93 |
Found 'DU'-anomaly for variable 'isXSSFWorkbook' (lines '93'-'119'). |
| 3090 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
98 |
Found 'DU'-anomaly for variable 'book' (lines '98'-'119'). |
| 3091 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
99 |
Found 'DU'-anomaly for variable 'isXSSFWorkbook' (lines '99'-'119'). |
| 3092 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
101 |
Found 'DU'-anomaly for variable 'book' (lines '101'-'119'). |
| 3093 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
122 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3094 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
122 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3095 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
123 |
Found 'DD'-anomaly for variable 'path' (lines '123'-'124'). |
| 3096 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
126 |
Local variable 'savefile' could be declared final |
| 3097 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
130 |
Local variable 'format' could be declared final |
| 3098 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
130 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 3099 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
131 |
Local variable 'fos' could be declared final |
| 3100 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
132 |
Avoid unnecessary comparisons in boolean expressions |
| 3101 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
146 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3102 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
146 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3103 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
147 |
Found 'DD'-anomaly for variable 'url' (lines '147'-'149'). |
| 3104 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
147 |
Found 'DU'-anomaly for variable 'url' (lines '147'-'153'). |
| 3105 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
149 |
The String literal "\\." appears 4 times in this file; the first occurrence is on line 149 |
| 3106 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
150 |
A method should have only one exit point, and that should be the last statement in the method |
| 3107 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
156 |
Avoid unused method parameters such as 'result'. |
| 3108 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
156 |
The method 'importExcel' has a Cyclomatic Complexity of 15. |
| 3109 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
156 |
The method importExcel() has an NPath complexity of 208 |
| 3110 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
157 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3111 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
157 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3112 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
158 |
Local variable 'collection' could be declared final |
| 3113 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
163 |
Found 'DD'-anomaly for variable 'targetId' (lines '163'-'165'). |
| 3114 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
173 |
Found 'DD'-anomaly for variable 'row' (lines '173'-'177'). |
| 3115 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
179 |
Avoid variables with short names like i |
| 3116 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
179 |
Found 'DD'-anomaly for variable 'i' (lines '179'-'186'). |
| 3117 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
189 |
Found 'DU'-anomaly for variable 'object' (lines '189'-'223'). |
| 3118 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
203 |
Found 'DD'-anomaly for variable 'cell' (lines '203'-'203'). |
| 3119 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
203 |
Found 'DU'-anomaly for variable 'cell' (lines '203'-'223'). |
| 3120 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
232 |
Found 'DD'-anomaly for variable 'obj' (lines '232'-'234'). |
| 3121 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
232 |
Found 'DD'-anomaly for variable 'obj' (lines '232'-'235'). |
| 3122 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
232 |
Found 'DD'-anomaly for variable 'obj' (lines '232'-'236'). |
| 3123 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
233 |
Switch statements should have a default label |
| 3124 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
251 |
Avoid unused method parameters such as 'params'. |
| 3125 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
253 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3126 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
253 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3127 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
260 |
Prefer StringBuffer over += for concatenating strings |
| 3128 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
262 |
Found 'DD'-anomaly for variable 'path' (lines '262'-'264'). |
| 3129 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
285 |
Avoid reassigning parameters such as 'object' |
| 3130 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
286 |
Found 'DD'-anomaly for variable 'url' (lines '286'-'292'). |
| 3131 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
286 |
Found 'DU'-anomaly for variable 'url' (lines '286'-'296'). |
| 3132 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
293 |
A method should have only one exit point, and that should be the last statement in the method |
| 3133 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
315 |
Found 'DU'-anomaly for variable 'collection' (lines '315'-'337'). |
| 3134 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
317 |
Found 'DU'-anomaly for variable 'entity' (lines '317'-'337'). |
| 3135 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
319 |
Found 'DD'-anomaly for variable 'isUsed' (lines '319'-'331'). |
| 3136 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
321 |
Found 'DD'-anomaly for variable 'cell' (lines '321'-'321'). |
| 3137 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
321 |
Found 'DU'-anomaly for variable 'cell' (lines '321'-'337'). |
| 3138 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
331 |
Found 'DD'-anomaly for variable 'isUsed' (lines '331'-'331'). |
| 3139 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
347 |
The method 'judgeTypeAndSetValue' has a Cyclomatic Complexity of 15. |
| 3140 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
354 |
Avoid variables with short names like ts |
| 3141 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
356 |
Position literals first in String comparisons |
| 3142 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
359 |
Position literals first in String comparisons |
| 3143 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
360 |
Found 'DD'-anomaly for variable 'cellDate' (lines '360'-'363'). |
| 3144 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
360 |
Found 'DD'-anomaly for variable 'cellDate' (lines '360'-'367'). |
| 3145 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
370 |
Position literals first in String comparisons |
| 3146 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
379 |
Position literals first in String comparisons |
| 3147 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
382 |
This statement may have some unnecessary parentheses |
| 3148 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
384 |
Avoid instantiating Integer objects. Call Integer.valueOf() instead. |
| 3149 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
387 |
Position literals first in String comparisons |
| 3150 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
390 |
This statement may have some unnecessary parentheses |
| 3151 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
392 |
Avoid instantiating Long objects.Call Long.valueOf() instead |
| 3152 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
425 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 3153 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
427 |
A method should have only one exit point, and that should be the last statement in the method |
| 3154 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
428 |
Avoid empty catch blocks |
| 3155 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
441 |
Avoid if (x != y) ..; else ..; |
| 3156 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
456 |
Avoid variables with short names like t |
| 3157 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
460 |
Avoid reassigning parameters such as 't' |
| 3158 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
460 |
Avoid variables with short names like t |
| 3159 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
465 |
Avoid instantiating new objects inside loops |
| 3160 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
483 |
Found 'DU'-anomaly for variable 'excelEntity' (lines '483'-'517'). |
| 3161 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
491 |
Avoid instantiating new objects inside loops |
| 3162 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
493 |
Avoid instantiating new objects inside loops |
| 3163 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
505 |
Avoid instantiating new objects inside loops |
| 3164 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
522 |
Found 'DU'-anomaly for variable 'excelEntity' (lines '522'-'542'). |
| 3165 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
531 |
Avoid instantiating new objects inside loops |
| 3166 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
555 |
Avoid reassigning parameters such as 'excelEntity' |
| 3167 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
579 |
Avoid excessively long variable names like getConvertMethodName |
| 3168 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
605 |
String.indexOf(char) is faster than String.indexOf(String). |
| 3169 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
606 |
A method should have only one exit point, and that should be the last statement in the method |
| 3170 |
src/org/jeecgframework/poi/excel/ExcelImportUtil.java |
611 |
A method should have only one exit point, and that should be the last statement in the method |
| 3171 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
32 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 3172 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
32 |
The class 'ExcelPublicUtil' has a Cyclomatic Complexity of 5 (Highest = 17). |
| 3173 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
35 |
The field name indicates a constant but its modifiers do not |
| 3174 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
35 |
Variables should start with a lowercase character |
| 3175 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
36 |
The field name indicates a constant but its modifiers do not |
| 3176 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
36 |
Variables should start with a lowercase character |
| 3177 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
43 |
Avoid reassigning parameters such as 'clazz' |
| 3178 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
44 |
Local variable 'list' could be declared final |
| 3179 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
49 |
Use asList instead of tight loops |
| 3180 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
61 |
Parameter 'clazz' is not assigned and could be declared final |
| 3181 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
87 |
Parameter 'field' is not assigned and could be declared final |
| 3182 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
87 |
Parameter 'targetId' is not assigned and could be declared final |
| 3183 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
87 |
The method 'isNotUserExcelUserThis' has a Cyclomatic Complexity of 11. |
| 3184 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
88 |
Found 'DD'-anomaly for variable 'boo' (lines '88'-'90'). |
| 3185 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
89 |
Avoid if (x != y) ..; else ..; |
| 3186 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
110 |
Parameter 'exportName' is not assigned and could be declared final |
| 3187 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
110 |
Parameter 'targetId' is not assigned and could be declared final |
| 3188 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
112 |
String.indexOf(char) is faster than String.indexOf(String). |
| 3189 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
121 |
Local variable 'fieldType' could be declared final |
| 3190 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
122 |
Found 'DD'-anomaly for variable 'isBaseClass' (lines '122'-'124'). |
| 3191 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
122 |
Found 'DD'-anomaly for variable 'isBaseClass' (lines '122'-'129'). |
| 3192 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
141 |
Found 'DD'-anomaly for variable 'obj' (lines '141'-'145'). |
| 3193 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
146 |
Local variable 'fields' could be declared final |
| 3194 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
150 |
Local variable 'collection' could be declared final |
| 3195 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
154 |
In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. |
| 3196 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
163 |
Avoid printStackTrace(); use a logger call instead. |
| 3197 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
176 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3198 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
176 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3199 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
177 |
Local variable 'getMethodName' could be declared final |
| 3200 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
191 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3201 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
191 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3202 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
203 |
The method 'getFileExtendName' has a Cyclomatic Complexity of 17. |
| 3203 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
204 |
Found 'DD'-anomaly for variable 'strFileExtendName' (lines '204'-'209'). |
| 3204 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
204 |
Found 'DD'-anomaly for variable 'strFileExtendName' (lines '204'-'212'). |
| 3205 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
204 |
Found 'DD'-anomaly for variable 'strFileExtendName' (lines '204'-'214'). |
| 3206 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
204 |
Found 'DD'-anomaly for variable 'strFileExtendName' (lines '204'-'217'). |
| 3207 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
233 |
Avoid if (x != y) ..; else ..; |
| 3208 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
233 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 3209 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
235 |
Found 'DD'-anomaly for variable 'anchor' (lines '235'-'235'). |
| 3210 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
235 |
Found 'DU'-anomaly for variable 'anchor' (lines '235'-'249'). |
| 3211 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
240 |
No need to call String.valueOf to append to a string. |
| 3212 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
241 |
No need to call String.valueOf to append to a string. |
| 3213 |
src/org/jeecgframework/poi/excel/ExcelPublicUtil.java |
245 |
A method should have only one exit point, and that should be the last statement in the method |
| 3214 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
33 |
The class 'ExcelUtil' has a Cyclomatic Complexity of 4 (Highest = 22). |
| 3215 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
33 |
This class has too many methods, consider refactoring it. |
| 3216 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
44 |
Avoid unused private fields such as 'HEAD_LIST'. |
| 3217 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
44 |
The field name indicates a constant but its modifiers do not |
| 3218 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
44 |
Variables should start with a lowercase character |
| 3219 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
44 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 3220 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
46 |
Avoid unused private fields such as 'VALUE_LIST'. |
| 3221 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
46 |
The field name indicates a constant but its modifiers do not |
| 3222 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
46 |
Variables should start with a lowercase character |
| 3223 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
46 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 3224 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
52 |
Avoid unused private fields such as 'FIELD_LIST'. |
| 3225 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
52 |
The field name indicates a constant but its modifiers do not |
| 3226 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
52 |
Variables should start with a lowercase character |
| 3227 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
58 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3228 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
58 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3229 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
58 |
Parameter 'args' is not assigned and could be declared final |
| 3230 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
90 |
JUnit 4 tests that execute tests should use the @Test annotation |
| 3231 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
92 |
Local variable 'dataList' could be declared final |
| 3232 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
93 |
Local variable 'headList' could be declared final |
| 3233 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
94 |
Local variable 'fieldList' could be declared final |
| 3234 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
100 |
Avoid printStackTrace(); use a logger call instead. |
| 3235 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
110 |
JUnit 4 tests that execute tests should use the @Test annotation |
| 3236 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
111 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3237 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
112 |
Local variable 'excelUrl' could be declared final |
| 3238 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
113 |
Local variable 'list' could be declared final |
| 3239 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
189 |
Parameter 'excel_name' is not assigned and could be declared final |
| 3240 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
189 |
Parameter 'headList' is not assigned and could be declared final |
| 3241 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
190 |
Parameter 'dataList' is not assigned and could be declared final |
| 3242 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
190 |
Parameter 'fieldList' is not assigned and could be declared final |
| 3243 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
191 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3244 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
191 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3245 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
200 |
Found 'DU'-anomaly for variable 'row' (lines '200'-'238'). |
| 3246 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
215 |
Found 'DD'-anomaly for variable 'row_value' (lines '215'-'215'). |
| 3247 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
215 |
Found 'DU'-anomaly for variable 'row_value' (lines '215'-'238'). |
| 3248 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
216 |
Found 'DD'-anomaly for variable 'dataMap' (lines '216'-'216'). |
| 3249 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
216 |
Found 'DU'-anomaly for variable 'dataMap' (lines '216'-'238'). |
| 3250 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
253 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3251 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
253 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3252 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
262 |
Found 'DU'-anomaly for variable 'row' (lines '262'-'300'). |
| 3253 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
277 |
Found 'DD'-anomaly for variable 'row_value' (lines '277'-'277'). |
| 3254 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
277 |
Found 'DU'-anomaly for variable 'row_value' (lines '277'-'300'). |
| 3255 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
278 |
Found 'DD'-anomaly for variable 'dataMap' (lines '278'-'278'). |
| 3256 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
278 |
Found 'DU'-anomaly for variable 'dataMap' (lines '278'-'300'). |
| 3257 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
315 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3258 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
315 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3259 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
324 |
Found 'DU'-anomaly for variable 'row' (lines '324'-'354'). |
| 3260 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
339 |
Found 'DD'-anomaly for variable 'row_value' (lines '339'-'339'). |
| 3261 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
339 |
Found 'DU'-anomaly for variable 'row_value' (lines '339'-'354'). |
| 3262 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
340 |
Found 'DD'-anomaly for variable 'dataMap' (lines '340'-'340'). |
| 3263 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
340 |
Found 'DU'-anomaly for variable 'dataMap' (lines '340'-'354'). |
| 3264 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
358 |
A method should have only one exit point, and that should be the last statement in the method |
| 3265 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
361 |
A method should have only one exit point, and that should be the last statement in the method |
| 3266 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
363 |
A method should have only one exit point, and that should be the last statement in the method |
| 3267 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
382 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3268 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
391 |
Found 'DU'-anomaly for variable 'row' (lines '391'-'429'). |
| 3269 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
406 |
Found 'DD'-anomaly for variable 'row_value' (lines '406'-'406'). |
| 3270 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
406 |
Found 'DU'-anomaly for variable 'row_value' (lines '406'-'429'). |
| 3271 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
454 |
Avoid instantiating new objects inside loops |
| 3272 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
454 |
Found 'DD'-anomaly for variable 'arrayString' (lines '454'-'458'). |
| 3273 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
454 |
Found 'DD'-anomaly for variable 'arrayString' (lines '454'-'466'). |
| 3274 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
454 |
Found 'DD'-anomaly for variable 'arrayString' (lines '454'-'468'). |
| 3275 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
454 |
Found 'DD'-anomaly for variable 'arrayString' (lines '454'-'472'). |
| 3276 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
458 |
Found 'DD'-anomaly for variable 'arrayString' (lines '458'-'458'). |
| 3277 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
458 |
Found 'DD'-anomaly for variable 'arrayString' (lines '458'-'466'). |
| 3278 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
458 |
Found 'DD'-anomaly for variable 'arrayString' (lines '458'-'468'). |
| 3279 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
458 |
Found 'DD'-anomaly for variable 'arrayString' (lines '458'-'472'). |
| 3280 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
463 |
Avoid variables with short names like d |
| 3281 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
465 |
Avoid instantiating new objects inside loops |
| 3282 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
465 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 3283 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
466 |
Found 'DD'-anomaly for variable 'arrayString' (lines '466'-'458'). |
| 3284 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
466 |
Found 'DD'-anomaly for variable 'arrayString' (lines '466'-'466'). |
| 3285 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
466 |
Found 'DD'-anomaly for variable 'arrayString' (lines '466'-'468'). |
| 3286 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
466 |
Found 'DD'-anomaly for variable 'arrayString' (lines '466'-'472'). |
| 3287 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
468 |
Avoid instantiating new objects inside loops |
| 3288 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
468 |
Do not add empty strings |
| 3289 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
468 |
Found 'DD'-anomaly for variable 'arrayString' (lines '468'-'458'). |
| 3290 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
468 |
Found 'DD'-anomaly for variable 'arrayString' (lines '468'-'466'). |
| 3291 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
468 |
Found 'DD'-anomaly for variable 'arrayString' (lines '468'-'468'). |
| 3292 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
468 |
Found 'DD'-anomaly for variable 'arrayString' (lines '468'-'472'). |
| 3293 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
472 |
Found 'DD'-anomaly for variable 'arrayString' (lines '472'-'458'). |
| 3294 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
472 |
Found 'DD'-anomaly for variable 'arrayString' (lines '472'-'466'). |
| 3295 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
472 |
Found 'DD'-anomaly for variable 'arrayString' (lines '472'-'468'). |
| 3296 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
472 |
Found 'DD'-anomaly for variable 'arrayString' (lines '472'-'472'). |
| 3297 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
505 |
Avoid instantiating new objects inside loops |
| 3298 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
511 |
Avoid instantiating new objects inside loops |
| 3299 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
512 |
Avoid unnecessary temporaries when converting primitives to Strings |
| 3300 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
555 |
Avoid unnecessary temporaries when converting primitives to Strings |
| 3301 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
577 |
Avoid variables with short names like in |
| 3302 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
578 |
A method should have only one exit point, and that should be the last statement in the method |
| 3303 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
580 |
Avoid printStackTrace(); use a logger call instead. |
| 3304 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
594 |
Avoid really long methods. |
| 3305 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
594 |
The method 'importExcelByIs' has a Cyclomatic Complexity of 22. |
| 3306 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
601 |
Avoid excessively long variable names like fieldSetConvertMap |
| 3307 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
604 |
Avoid variables with short names like f |
| 3308 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
621 |
Avoid excessively long variable names like setConvertMethodName |
| 3309 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
645 |
Avoid variables with short names like i |
| 3310 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
662 |
Avoid variables with short names like k |
| 3311 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
662 |
Found 'DU'-anomaly for variable 'k' (lines '662'-'754'). |
| 3312 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
665 |
Found 'DD'-anomaly for variable 'cell' (lines '665'-'665'). |
| 3313 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
665 |
Found 'DU'-anomaly for variable 'cell' (lines '665'-'754'). |
| 3314 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
674 |
Found 'DD'-anomaly for variable 'xclass' (lines '674'-'674'). |
| 3315 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
674 |
Found 'DU'-anomaly for variable 'xclass' (lines '674'-'754'). |
| 3316 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
681 |
Position literals first in String comparisons |
| 3317 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
685 |
Position literals first in String comparisons |
| 3318 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
687 |
Found 'DD'-anomaly for variable 'cellDate' (lines '687'-'690'). |
| 3319 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
687 |
Found 'DD'-anomaly for variable 'cellDate' (lines '687'-'692'). |
| 3320 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
702 |
Position literals first in String comparisons |
| 3321 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
711 |
Position literals first in String comparisons |
| 3322 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
714 |
This statement may have some unnecessary parentheses |
| 3323 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
716 |
Avoid instantiating Integer objects. Call Integer.valueOf() instead. |
| 3324 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
719 |
Position literals first in String comparisons |
| 3325 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
722 |
This statement may have some unnecessary parentheses |
| 3326 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
724 |
Avoid instantiating Long objects.Call Long.valueOf() instead |
| 3327 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
750 |
Avoid printStackTrace(); use a logger call instead. |
| 3328 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
751 |
A method should have only one exit point, and that should be the last statement in the method |
| 3329 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
764 |
Avoid reassigning parameters such as 'cellValue' |
| 3330 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
765 |
Avoid using if statements without curly braces |
| 3331 |
src/org/jeecgframework/poi/excel/ExcelUtil.java |
767 |
Found 'DU'-anomaly for variable 'calendar' (lines '767'-'795'). |
| 3332 |
src/org/jeecgframework/poi/excel/entity/ComparatorExcelField.java |
13 |
Parameter 'next' is not assigned and could be declared final |
| 3333 |
src/org/jeecgframework/poi/excel/entity/ComparatorExcelField.java |
13 |
Parameter 'prev' is not assigned and could be declared final |
| 3334 |
src/org/jeecgframework/poi/excel/entity/ExcelCollectionParams.java |
33 |
Parameter 'name' is not assigned and could be declared final |
| 3335 |
src/org/jeecgframework/poi/excel/entity/ExcelCollectionParams.java |
41 |
Parameter 'type' is not assigned and could be declared final |
| 3336 |
src/org/jeecgframework/poi/excel/entity/ExcelCollectionParams.java |
49 |
Parameter 'excelParams' is not assigned and could be declared final |
| 3337 |
src/org/jeecgframework/poi/excel/entity/ExcelExportEntity.java |
34 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3338 |
src/org/jeecgframework/poi/excel/entity/ExcelExportEntity.java |
34 |
It is somewhat confusing to have a field name with the same name as a method |
| 3339 |
src/org/jeecgframework/poi/excel/entity/ExcelExportEntity.java |
71 |
Parameter 'dictMap' is not assigned and could be declared final |
| 3340 |
src/org/jeecgframework/poi/excel/entity/ExcelExportEntity.java |
79 |
Parameter 'width' is not assigned and could be declared final |
| 3341 |
src/org/jeecgframework/poi/excel/entity/ExcelExportEntity.java |
87 |
Parameter 'name' is not assigned and could be declared final |
| 3342 |
src/org/jeecgframework/poi/excel/entity/ExcelExportEntity.java |
95 |
Parameter 'type' is not assigned and could be declared final |
| 3343 |
src/org/jeecgframework/poi/excel/entity/ExcelExportEntity.java |
103 |
Parameter 'getMethod' is not assigned and could be declared final |
| 3344 |
src/org/jeecgframework/poi/excel/entity/ExcelImportEntity.java |
52 |
Parameter 'name' is not assigned and could be declared final |
| 3345 |
src/org/jeecgframework/poi/excel/entity/ExcelImportEntity.java |
60 |
Parameter 'type' is not assigned and could be declared final |
| 3346 |
src/org/jeecgframework/poi/excel/entity/ExcelImportEntity.java |
68 |
Parameter 'list' is not assigned and could be declared final |
| 3347 |
src/org/jeecgframework/poi/excel/entity/ExcelImportEntity.java |
76 |
Parameter 'setMethod' is not assigned and could be declared final |
| 3348 |
src/org/jeecgframework/poi/excel/entity/ExcelImportEntity.java |
84 |
Parameter 'setMethods' is not assigned and could be declared final |
| 3349 |
src/org/jeecgframework/poi/excel/entity/ExcelTitle.java |
12 |
Document empty constructor |
| 3350 |
src/org/jeecgframework/poi/excel/entity/ExcelTitle.java |
16 |
Parameter 'secondTitle' is not assigned and could be declared final |
| 3351 |
src/org/jeecgframework/poi/excel/entity/ExcelTitle.java |
16 |
Parameter 'sheetName' is not assigned and could be declared final |
| 3352 |
src/org/jeecgframework/poi/excel/entity/ExcelTitle.java |
16 |
Parameter 'title' is not assigned and could be declared final |
| 3353 |
src/org/jeecgframework/poi/excel/entity/ExcelTitle.java |
37 |
Do not use the short type |
| 3354 |
src/org/jeecgframework/poi/excel/entity/ExcelTitle.java |
43 |
Do not use the short type |
| 3355 |
src/org/jeecgframework/poi/excel/entity/ExcelTitle.java |
49 |
Parameter 'title' is not assigned and could be declared final |
| 3356 |
src/org/jeecgframework/poi/excel/entity/ExcelTitle.java |
57 |
Parameter 'sheetName' is not assigned and could be declared final |
| 3357 |
src/org/jeecgframework/poi/excel/entity/ExcelTitle.java |
61 |
Do not use the short type |
| 3358 |
src/org/jeecgframework/poi/excel/entity/ExcelTitle.java |
65 |
Do not use the short type |
| 3359 |
src/org/jeecgframework/poi/excel/entity/ExcelTitle.java |
77 |
Do not use the short type |
| 3360 |
src/org/jeecgframework/poi/excel/entity/ImportParams.java |
48 |
Parameter 'titleRows' is not assigned and could be declared final |
| 3361 |
src/org/jeecgframework/poi/excel/entity/ImportParams.java |
56 |
Parameter 'secondTitleRows' is not assigned and could be declared final |
| 3362 |
src/org/jeecgframework/poi/excel/entity/ImportParams.java |
64 |
Parameter 'startRows' is not assigned and could be declared final |
| 3363 |
src/org/jeecgframework/poi/excel/entity/ImportParams.java |
72 |
Parameter 'sheetNum' is not assigned and could be declared final |
| 3364 |
src/org/jeecgframework/poi/excel/entity/ImportParams.java |
80 |
Parameter 'keyIndex' is not assigned and could be declared final |
| 3365 |
src/org/jeecgframework/poi/excel/entity/TemplateExportParams.java |
12 |
Document empty constructor |
| 3366 |
src/org/jeecgframework/poi/excel/entity/TemplateExportParams.java |
16 |
Parameter 'templateUrl' is not assigned and could be declared final |
| 3367 |
src/org/jeecgframework/poi/excel/entity/TemplateExportParams.java |
20 |
Parameter 'templateUrl' is not assigned and could be declared final |
| 3368 |
src/org/jeecgframework/poi/excel/entity/TemplateExportParams.java |
21 |
Parameter 'sheetNum' is not assigned and could be declared final |
| 3369 |
src/org/jeecgframework/poi/excel/entity/TemplateExportParams.java |
26 |
Parameter 'templateUrl' is not assigned and could be declared final |
| 3370 |
src/org/jeecgframework/poi/excel/entity/TemplateExportParams.java |
27 |
Parameter 'sheetName' is not assigned and could be declared final |
| 3371 |
src/org/jeecgframework/poi/excel/entity/vo/POIConstants.java |
7 |
An Interface should be used only to model a behaviour; consider converting this to a class. |
| 3372 |
src/org/jeecgframework/poi/excel/entity/vo/POIConstants.java |
11 |
Avoid modifiers which are implied by the context |
| 3373 |
src/org/jeecgframework/poi/excel/entity/vo/POIConstants.java |
15 |
Avoid modifiers which are implied by the context |
| 3374 |
src/org/jeecgframework/poi/excel/entity/vo/POIConstants.java |
19 |
Avoid modifiers which are implied by the context |
| 3375 |
src/org/jeecgframework/poi/excel/entity/vo/POIConstants.java |
23 |
Avoid modifiers which are implied by the context |
| 3376 |
src/org/jeecgframework/poi/excel/entity/vo/POIConstants.java |
27 |
Avoid modifiers which are implied by the context |
| 3377 |
src/org/jeecgframework/poi/excel/entity/vo/PoiBaseConstants.java |
7 |
An Interface should be used only to model a behaviour; consider converting this to a class. |
| 3378 |
src/org/jeecgframework/poi/excel/entity/vo/PoiBaseConstants.java |
9 |
Avoid modifiers which are implied by the context |
| 3379 |
src/org/jeecgframework/poi/excel/entity/vo/PoiBaseConstants.java |
11 |
Avoid modifiers which are implied by the context |
| 3380 |
src/org/jeecgframework/poi/excel/entity/vo/PoiBaseConstants.java |
13 |
Avoid modifiers which are implied by the context |
| 3381 |
src/org/jeecgframework/poi/excel/entity/vo/PoiBaseConstants.java |
15 |
Avoid modifiers which are implied by the context |
| 3382 |
src/org/jeecgframework/poi/excel/view/JeecgSingleExcelView.java |
22 |
Parameter 'model' is not assigned and could be declared final |
| 3383 |
src/org/jeecgframework/poi/excel/view/JeecgSingleExcelView.java |
23 |
Avoid excessively long variable names like httpServletRequest |
| 3384 |
src/org/jeecgframework/poi/excel/view/JeecgSingleExcelView.java |
23 |
Parameter 'hssfWorkbook' is not assigned and could be declared final |
| 3385 |
src/org/jeecgframework/poi/excel/view/JeecgSingleExcelView.java |
23 |
Parameter 'httpServletRequest' is not assigned and could be declared final |
| 3386 |
src/org/jeecgframework/poi/excel/view/JeecgSingleExcelView.java |
24 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3387 |
src/org/jeecgframework/poi/excel/view/JeecgSingleExcelView.java |
24 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 3388 |
src/org/jeecgframework/poi/excel/view/JeecgSingleExcelView.java |
24 |
Avoid excessively long variable names like httpServletResponse |
| 3389 |
src/org/jeecgframework/poi/excel/view/JeecgSingleExcelView.java |
24 |
Parameter 'httpServletResponse' is not assigned and could be declared final |
| 3390 |
src/org/jeecgframework/poi/excel/view/JeecgSingleExcelView.java |
25 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '25'-'27'). |
| 3391 |
src/org/jeecgframework/poi/excel/view/JeecgSingleExcelView.java |
33 |
Local variable 'list' could be declared final |
| 3392 |
src/org/jeecgframework/tag/core/easyui/AuthFilterTag.java |
28 |
Overriding method merely calls super |
| 3393 |
src/org/jeecgframework/tag/core/easyui/AuthFilterTag.java |
34 |
Local variable 'out' could be declared final |
| 3394 |
src/org/jeecgframework/tag/core/easyui/AuthFilterTag.java |
38 |
Avoid printStackTrace(); use a logger call instead. |
| 3395 |
src/org/jeecgframework/tag/core/easyui/AuthFilterTag.java |
44 |
Local variable 'out' could be declared final |
| 3396 |
src/org/jeecgframework/tag/core/easyui/AuthFilterTag.java |
53 |
Parameter 'out' is not assigned and could be declared final |
| 3397 |
src/org/jeecgframework/tag/core/easyui/AuthFilterTag.java |
56 |
Found 'DU'-anomaly for variable 'nolist' (lines '56'-'67'). |
| 3398 |
src/org/jeecgframework/tag/core/easyui/AuthFilterTag.java |
56 |
Local variable 'nolist' could be declared final |
| 3399 |
src/org/jeecgframework/tag/core/easyui/AuthFilterTag.java |
57 |
Avoid empty if statements |
| 3400 |
src/org/jeecgframework/tag/core/easyui/AuthFilterTag.java |
59 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 3401 |
src/org/jeecgframework/tag/core/easyui/AuthFilterTag.java |
71 |
Parameter 'name' is not assigned and could be declared final |
| 3402 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
20 |
Too many fields |
| 3403 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
22 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3404 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
23 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3405 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
24 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3406 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
25 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3407 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
26 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3408 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
29 |
Avoid unused private fields such as 'selectfun'. |
| 3409 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
29 |
Perhaps 'selectfun' could be replaced by a local variable. |
| 3410 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
31 |
Avoid unused private fields such as 'value'. |
| 3411 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
31 |
Perhaps 'value' could be replaced by a local variable. |
| 3412 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
35 |
Avoid unused private fields such as 'closefun'. |
| 3413 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
35 |
Perhaps 'closefun' could be replaced by a local variable. |
| 3414 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
41 |
Parameter 'closefun' is not assigned and could be declared final |
| 3415 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
44 |
Parameter 'datatype' is not assigned and could be declared final |
| 3416 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
47 |
Parameter 'nullmsg' is not assigned and could be declared final |
| 3417 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
50 |
Parameter 'errormsg' is not assigned and could be declared final |
| 3418 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
53 |
Parameter 'label' is not assigned and could be declared final |
| 3419 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
65 |
Local variable 'out' could be declared final |
| 3420 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
73 |
Local variable 'nsb' could be declared final |
| 3421 |
src/org/jeecgframework/tag/core/easyui/AutocompleteTag.java |
133 |
Avoid reassigning parameters such as 'maxRows' |
| 3422 |
src/org/jeecgframework/tag/core/easyui/BaseTag.java |
17 |
The class 'BaseTag' has a Cyclomatic Complexity of 6 (Highest = 15). |
| 3423 |
src/org/jeecgframework/tag/core/easyui/BaseTag.java |
22 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3424 |
src/org/jeecgframework/tag/core/easyui/BaseTag.java |
24 |
Parameter 'type' is not assigned and could be declared final |
| 3425 |
src/org/jeecgframework/tag/core/easyui/BaseTag.java |
34 |
Avoid really long methods. |
| 3426 |
src/org/jeecgframework/tag/core/easyui/BaseTag.java |
34 |
The method 'doEndTag' has a Cyclomatic Complexity of 15. |
| 3427 |
src/org/jeecgframework/tag/core/easyui/BaseTag.java |
34 |
The method doEndTag() has an NPath complexity of 6145 |
| 3428 |
src/org/jeecgframework/tag/core/easyui/BaseTag.java |
36 |
Local variable 'out' could be declared final |
| 3429 |
src/org/jeecgframework/tag/core/easyui/BaseTag.java |
37 |
Avoid variables with short names like sb |
| 3430 |
src/org/jeecgframework/tag/core/easyui/BaseTag.java |
37 |
Local variable 'sb' could be declared final |
| 3431 |
src/org/jeecgframework/tag/core/easyui/BaseTag.java |
39 |
Local variable 'types' could be declared final |
| 3432 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
4 |
Avoid unused imports such as 'java.util.UUID' |
| 3433 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
4 |
Avoid unused imports such as 'java.util.UUID' |
| 3434 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
22 |
The class 'ChooseTag' has a Cyclomatic Complexity of 2 (Highest = 13). |
| 3435 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
27 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3436 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
28 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3437 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
29 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3438 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
30 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3439 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
31 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3440 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
48 |
Local variable 'out' could be declared final |
| 3441 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
57 |
The method 'end' has a Cyclomatic Complexity of 13. |
| 3442 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
57 |
The method end() has an NPath complexity of 3072 |
| 3443 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
58 |
Local variable 'methodname' could be declared final |
| 3444 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
59 |
Avoid variables with short names like sb |
| 3445 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
59 |
Local variable 'sb' could be declared final |
| 3446 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
59 |
StringBuffer constructor is initialized with size 16, but has at least 854 characters appended. |
| 3447 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
64 |
StringBuffer.append is called 3 consecutive times with literal Strings. Use a single append with a single String. |
| 3448 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
66 |
StringBuffer.append is called 4 consecutive times with literal Strings. Use a single append with a single String. |
| 3449 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
69 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3450 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
69 |
The String literal "\'," appears 12 times in this file; the first occurrence is on line 69 |
| 3451 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
75 |
Avoid if (x != y) ..; else ..; |
| 3452 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
80 |
Avoid if (x != y) ..; else ..; |
| 3453 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
85 |
Avoid if (x != y) ..; else ..; |
| 3454 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
90 |
Avoid if (x != y) ..; else ..; |
| 3455 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
95 |
StringBuffer.append is called 4 consecutive times with literal Strings. Use a single append with a single String. |
| 3456 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
98 |
StringBuffer.append is called 11 consecutive times with literal Strings. Use a single append with a single String. |
| 3457 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
103 |
Avoid appending characters as strings in StringBuffer.append. |
| 3458 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
115 |
Avoid if (x != y) ..; else ..; |
| 3459 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
143 |
Avoid appending characters as strings in StringBuffer.append. |
| 3460 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
146 |
Avoid appending characters as strings in StringBuffer.append. |
| 3461 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
147 |
Avoid appending characters as strings in StringBuffer.append. |
| 3462 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
157 |
Avoid variables with short names like sb |
| 3463 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
157 |
Parameter 'methodname' is not assigned and could be declared final |
| 3464 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
157 |
Parameter 'sb' is not assigned and could be declared final |
| 3465 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
158 |
Found 'DD'-anomaly for variable 'textnames' (lines '158'-'160'). |
| 3466 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
159 |
Found 'DD'-anomaly for variable 'inputTextnames' (lines '159'-'162'). |
| 3467 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
159 |
Found 'DD'-anomaly for variable 'inputTextnames' (lines '159'-'164'). |
| 3468 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
160 |
Found 'DU'-anomaly for variable 'textnames' (lines '160'-'182'). |
| 3469 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
162 |
Found 'DD'-anomaly for variable 'inputTextnames' (lines '162'-'169'). |
| 3470 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
162 |
Found 'DU'-anomaly for variable 'inputTextnames' (lines '162'-'182'). |
| 3471 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
164 |
Found 'DD'-anomaly for variable 'inputTextnames' (lines '164'-'169'). |
| 3472 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
164 |
Found 'DU'-anomaly for variable 'inputTextnames' (lines '164'-'182'). |
| 3473 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
169 |
Prefer StringBuffer over += for concatenating strings |
| 3474 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
171 |
The String literal "$(\'#" appears 6 times in this file; the first occurrence is on line 171 |
| 3475 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
173 |
Avoid appending characters as strings in StringBuffer.append. |
| 3476 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
175 |
The String literal "$(\"input[name='" appears 4 times in this file; the first occurrence is on line 175 |
| 3477 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
187 |
Avoid variables with short names like sb |
| 3478 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
187 |
Parameter 'methodname' is not assigned and could be declared final |
| 3479 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
187 |
Parameter 'sb' is not assigned and could be declared final |
| 3480 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
190 |
Found 'DD'-anomaly for variable 'textnames' (lines '190'-'194'). |
| 3481 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
190 |
Found 'DU'-anomaly for variable 'textnames' (lines '190'-'224'). |
| 3482 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
191 |
Found 'DD'-anomaly for variable 'inputTextnames' (lines '191'-'196'). |
| 3483 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
191 |
Found 'DD'-anomaly for variable 'inputTextnames' (lines '191'-'198'). |
| 3484 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
191 |
Found 'DU'-anomaly for variable 'inputTextnames' (lines '191'-'224'). |
| 3485 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
196 |
Found 'DD'-anomaly for variable 'inputTextnames' (lines '196'-'201'). |
| 3486 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
196 |
Found 'DU'-anomaly for variable 'inputTextnames' (lines '196'-'224'). |
| 3487 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
198 |
Found 'DD'-anomaly for variable 'inputTextnames' (lines '198'-'201'). |
| 3488 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
198 |
Found 'DU'-anomaly for variable 'inputTextnames' (lines '198'-'224'). |
| 3489 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
201 |
Prefer StringBuffer over += for concatenating strings |
| 3490 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
221 |
Do not add empty strings |
| 3491 |
src/org/jeecgframework/tag/core/easyui/ChooseTag.java |
226 |
Parameter 'hiddenName' is not assigned and could be declared final |
| 3492 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
29 |
Parameter 'isfinder' is not assigned and could be declared final |
| 3493 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
37 |
Parameter 'name' is not assigned and could be declared final |
| 3494 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
45 |
Parameter 'value' is not assigned and could be declared final |
| 3495 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
53 |
Parameter 'type' is not assigned and could be declared final |
| 3496 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
63 |
Local variable 'out' could be declared final |
| 3497 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
67 |
Avoid printStackTrace(); use a logger call instead. |
| 3498 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
73 |
Avoid variables with short names like sb |
| 3499 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
73 |
Local variable 'sb' could be declared final |
| 3500 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
73 |
StringBuffer constructor is initialized with size 16, but has at least 217 characters appended. |
| 3501 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
75 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3502 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
80 |
Local variable 'util' could be declared final |
| 3503 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
81 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3504 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
83 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3505 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
85 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3506 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
87 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3507 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
92 |
Do not add empty strings |
| 3508 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
94 |
Avoid using if statements without curly braces |
| 3509 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
95 |
Avoid appending characters as strings in StringBuffer.append. |
| 3510 |
src/org/jeecgframework/tag/core/easyui/CkeditorTag.java |
96 |
Avoid using if statements without curly braces |
| 3511 |
src/org/jeecgframework/tag/core/easyui/CkfinderTag.java |
32 |
Parameter 'buttonValue' is not assigned and could be declared final |
| 3512 |
src/org/jeecgframework/tag/core/easyui/CkfinderTag.java |
40 |
Parameter 'name' is not assigned and could be declared final |
| 3513 |
src/org/jeecgframework/tag/core/easyui/CkfinderTag.java |
48 |
Parameter 'value' is not assigned and could be declared final |
| 3514 |
src/org/jeecgframework/tag/core/easyui/CkfinderTag.java |
56 |
Parameter 'width' is not assigned and could be declared final |
| 3515 |
src/org/jeecgframework/tag/core/easyui/CkfinderTag.java |
64 |
Parameter 'height' is not assigned and could be declared final |
| 3516 |
src/org/jeecgframework/tag/core/easyui/CkfinderTag.java |
90 |
Local variable 'out' could be declared final |
| 3517 |
src/org/jeecgframework/tag/core/easyui/CkfinderTag.java |
94 |
Avoid printStackTrace(); use a logger call instead. |
| 3518 |
src/org/jeecgframework/tag/core/easyui/CkfinderTag.java |
100 |
Avoid variables with short names like sb |
| 3519 |
src/org/jeecgframework/tag/core/easyui/CkfinderTag.java |
100 |
Local variable 'sb' could be declared final |
| 3520 |
src/org/jeecgframework/tag/core/easyui/CkfinderTag.java |
100 |
StringBuffer constructor is initialized with size 16, but has at least 208 characters appended. |
| 3521 |
src/org/jeecgframework/tag/core/easyui/CkfinderTag.java |
104 |
Avoid using if statements without curly braces |
| 3522 |
src/org/jeecgframework/tag/core/easyui/CkfinderTag.java |
108 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3523 |
src/org/jeecgframework/tag/core/easyui/CkfinderTag.java |
112 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3524 |
src/org/jeecgframework/tag/core/easyui/ColorChangeTag.java |
23 |
Local variable 'out' could be declared final |
| 3525 |
src/org/jeecgframework/tag/core/easyui/ColorChangeTag.java |
26 |
Avoid printStackTrace(); use a logger call instead. |
| 3526 |
src/org/jeecgframework/tag/core/easyui/ColorChangeTag.java |
31 |
Avoid variables with short names like sb |
| 3527 |
src/org/jeecgframework/tag/core/easyui/ColorChangeTag.java |
31 |
Local variable 'sb' could be declared final |
| 3528 |
src/org/jeecgframework/tag/core/easyui/ColorChangeTag.java |
32 |
Consider simply returning the value vs storing it in local variable 'sb' |
| 3529 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
21 |
Avoid variables with short names like id |
| 3530 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
21 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3531 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
22 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3532 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
23 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3533 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
24 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3534 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
25 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3535 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
34 |
Local variable 'out' could be declared final |
| 3536 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
38 |
Avoid printStackTrace(); use a logger call instead. |
| 3537 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
43 |
Avoid variables with short names like sb |
| 3538 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
43 |
Local variable 'sb' could be declared final |
| 3539 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
43 |
StringBuffer constructor is initialized with size 16, but has at least 430 characters appended. |
| 3540 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
44 |
Local variable 'comboBox' could be declared final |
| 3541 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
47 |
StringBuffer.append is called 3 consecutive times with literal Strings. Use a single append with a single String. |
| 3542 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
47 |
StringBuffer.append is called 6 consecutive times with literal Strings. Use a single append with a single String. |
| 3543 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
50 |
The String literal "\'," appears 4 times in this file; the first occurrence is on line 50 |
| 3544 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
69 |
Avoid variables with short names like id |
| 3545 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
69 |
Parameter 'id' is not assigned and could be declared final |
| 3546 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
72 |
Parameter 'text' is not assigned and could be declared final |
| 3547 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
75 |
Parameter 'url' is not assigned and could be declared final |
| 3548 |
src/org/jeecgframework/tag/core/easyui/ComboBoxTag.java |
78 |
Parameter 'name' is not assigned and could be declared final |
| 3549 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
18 |
Avoid variables with short names like id |
| 3550 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
18 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3551 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
19 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3552 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
20 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3553 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
21 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3554 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
22 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3555 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
30 |
Local variable 'out' could be declared final |
| 3556 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
34 |
Avoid printStackTrace(); use a logger call instead. |
| 3557 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
40 |
Avoid variables with short names like sb |
| 3558 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
40 |
Local variable 'sb' could be declared final |
| 3559 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
40 |
StringBuffer constructor is initialized with size 16, but has at least 153 characters appended. |
| 3560 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
42 |
StringBuffer.append is called 3 consecutive times with literal Strings. Use a single append with a single String. |
| 3561 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
42 |
StringBuffer.append is called 5 consecutive times with literal Strings. Use a single append with a single String. |
| 3562 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
46 |
Do not add empty strings |
| 3563 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
53 |
Do not add empty strings |
| 3564 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
55 |
Avoid appending characters as strings in StringBuffer.append. |
| 3565 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
59 |
Avoid variables with short names like id |
| 3566 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
59 |
Parameter 'id' is not assigned and could be declared final |
| 3567 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
63 |
Parameter 'url' is not assigned and could be declared final |
| 3568 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
67 |
Parameter 'name' is not assigned and could be declared final |
| 3569 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
71 |
Parameter 'width' is not assigned and could be declared final |
| 3570 |
src/org/jeecgframework/tag/core/easyui/ComboTreeTag.java |
75 |
Parameter 'value' is not assigned and could be declared final |
| 3571 |
src/org/jeecgframework/tag/core/easyui/DataGridColumnTag.java |
15 |
Too many fields |
| 3572 |
src/org/jeecgframework/tag/core/easyui/DataGridColumnTag.java |
17 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3573 |
src/org/jeecgframework/tag/core/easyui/DataGridColumnTag.java |
18 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3574 |
src/org/jeecgframework/tag/core/easyui/DataGridColumnTag.java |
19 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3575 |
src/org/jeecgframework/tag/core/easyui/DataGridColumnTag.java |
20 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3576 |
src/org/jeecgframework/tag/core/easyui/DataGridColumnTag.java |
21 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3577 |
src/org/jeecgframework/tag/core/easyui/DataGridColumnTag.java |
48 |
Avoid variables with short names like t |
| 3578 |
src/org/jeecgframework/tag/core/easyui/DataGridColumnTag.java |
48 |
Local variable 't' could be declared final |
| 3579 |
src/org/jeecgframework/tag/core/easyui/DataGridColumnTag.java |
49 |
Local variable 'parent' could be declared final |
| 3580 |
src/org/jeecgframework/tag/core/easyui/DataGridColumnTag.java |
54 |
Parameter 'downloadName' is not assigned and could be declared final |
| 3581 |
src/org/jeecgframework/tag/core/easyui/DataGridColumnTag.java |
58 |
Parameter 'imageSize' is not assigned and could be declared final |
| 3582 |
src/org/jeecgframework/tag/core/easyui/DataGridColumnTag.java |
62 |
Parameter 'arg' is not assigned and could be declared final |
| 3583 |
src/org/jeecgframework/tag/core/easyui/DataGridColumnTag.java |
66 |
Parameter 'url' is not assigned and could be declared final |
| 3584 |
src/org/jeecgframework/tag/core/easyui/DataGridColumnTag.java |
70 |
Parameter 'funname' is not assigned and could be declared final |
| 3585 |
src/org/jeecgframework/tag/core/easyui/DataGridConfOptTag.java |
16 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3586 |
src/org/jeecgframework/tag/core/easyui/DataGridConfOptTag.java |
17 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3587 |
src/org/jeecgframework/tag/core/easyui/DataGridConfOptTag.java |
18 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3588 |
src/org/jeecgframework/tag/core/easyui/DataGridConfOptTag.java |
19 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3589 |
src/org/jeecgframework/tag/core/easyui/DataGridConfOptTag.java |
20 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3590 |
src/org/jeecgframework/tag/core/easyui/DataGridConfOptTag.java |
25 |
Avoid variables with short names like t |
| 3591 |
src/org/jeecgframework/tag/core/easyui/DataGridConfOptTag.java |
25 |
Local variable 't' could be declared final |
| 3592 |
src/org/jeecgframework/tag/core/easyui/DataGridConfOptTag.java |
26 |
Local variable 'parent' could be declared final |
| 3593 |
src/org/jeecgframework/tag/core/easyui/DataGridConfOptTag.java |
30 |
Parameter 'exp' is not assigned and could be declared final |
| 3594 |
src/org/jeecgframework/tag/core/easyui/DataGridConfOptTag.java |
33 |
Parameter 'url' is not assigned and could be declared final |
| 3595 |
src/org/jeecgframework/tag/core/easyui/DataGridConfOptTag.java |
36 |
Parameter 'title' is not assigned and could be declared final |
| 3596 |
src/org/jeecgframework/tag/core/easyui/DataGridConfOptTag.java |
39 |
Parameter 'message' is not assigned and could be declared final |
| 3597 |
src/org/jeecgframework/tag/core/easyui/DataGridConfOptTag.java |
42 |
Parameter 'operationCode' is not assigned and could be declared final |
| 3598 |
src/org/jeecgframework/tag/core/easyui/DataGridDefOptTag.java |
16 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3599 |
src/org/jeecgframework/tag/core/easyui/DataGridDefOptTag.java |
17 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3600 |
src/org/jeecgframework/tag/core/easyui/DataGridDefOptTag.java |
18 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3601 |
src/org/jeecgframework/tag/core/easyui/DataGridDefOptTag.java |
19 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3602 |
src/org/jeecgframework/tag/core/easyui/DataGridDefOptTag.java |
24 |
Avoid variables with short names like t |
| 3603 |
src/org/jeecgframework/tag/core/easyui/DataGridDefOptTag.java |
24 |
Local variable 't' could be declared final |
| 3604 |
src/org/jeecgframework/tag/core/easyui/DataGridDefOptTag.java |
25 |
Local variable 'parent' could be declared final |
| 3605 |
src/org/jeecgframework/tag/core/easyui/DataGridDefOptTag.java |
30 |
Parameter 'exp' is not assigned and could be declared final |
| 3606 |
src/org/jeecgframework/tag/core/easyui/DataGridDefOptTag.java |
33 |
Parameter 'url' is not assigned and could be declared final |
| 3607 |
src/org/jeecgframework/tag/core/easyui/DataGridDefOptTag.java |
36 |
Parameter 'title' is not assigned and could be declared final |
| 3608 |
src/org/jeecgframework/tag/core/easyui/DataGridDefOptTag.java |
39 |
Parameter 'operationCode' is not assigned and could be declared final |
| 3609 |
src/org/jeecgframework/tag/core/easyui/DataGridDelOptTag.java |
16 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3610 |
src/org/jeecgframework/tag/core/easyui/DataGridDelOptTag.java |
17 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3611 |
src/org/jeecgframework/tag/core/easyui/DataGridDelOptTag.java |
18 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3612 |
src/org/jeecgframework/tag/core/easyui/DataGridDelOptTag.java |
19 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3613 |
src/org/jeecgframework/tag/core/easyui/DataGridDelOptTag.java |
20 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3614 |
src/org/jeecgframework/tag/core/easyui/DataGridDelOptTag.java |
28 |
Avoid variables with short names like t |
| 3615 |
src/org/jeecgframework/tag/core/easyui/DataGridDelOptTag.java |
28 |
Local variable 't' could be declared final |
| 3616 |
src/org/jeecgframework/tag/core/easyui/DataGridDelOptTag.java |
29 |
Local variable 'parent' could be declared final |
| 3617 |
src/org/jeecgframework/tag/core/easyui/DataGridDelOptTag.java |
33 |
Parameter 'funname' is not assigned and could be declared final |
| 3618 |
src/org/jeecgframework/tag/core/easyui/DataGridDelOptTag.java |
36 |
Parameter 'exp' is not assigned and could be declared final |
| 3619 |
src/org/jeecgframework/tag/core/easyui/DataGridDelOptTag.java |
39 |
Parameter 'url' is not assigned and could be declared final |
| 3620 |
src/org/jeecgframework/tag/core/easyui/DataGridDelOptTag.java |
42 |
Parameter 'title' is not assigned and could be declared final |
| 3621 |
src/org/jeecgframework/tag/core/easyui/DataGridDelOptTag.java |
45 |
Parameter 'message' is not assigned and could be declared final |
| 3622 |
src/org/jeecgframework/tag/core/easyui/DataGridFunOptTag.java |
16 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3623 |
src/org/jeecgframework/tag/core/easyui/DataGridFunOptTag.java |
17 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3624 |
src/org/jeecgframework/tag/core/easyui/DataGridFunOptTag.java |
18 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3625 |
src/org/jeecgframework/tag/core/easyui/DataGridFunOptTag.java |
19 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3626 |
src/org/jeecgframework/tag/core/easyui/DataGridFunOptTag.java |
24 |
Avoid variables with short names like t |
| 3627 |
src/org/jeecgframework/tag/core/easyui/DataGridFunOptTag.java |
24 |
Local variable 't' could be declared final |
| 3628 |
src/org/jeecgframework/tag/core/easyui/DataGridFunOptTag.java |
25 |
Local variable 'parent' could be declared final |
| 3629 |
src/org/jeecgframework/tag/core/easyui/DataGridFunOptTag.java |
29 |
Parameter 'funname' is not assigned and could be declared final |
| 3630 |
src/org/jeecgframework/tag/core/easyui/DataGridFunOptTag.java |
32 |
Parameter 'exp' is not assigned and could be declared final |
| 3631 |
src/org/jeecgframework/tag/core/easyui/DataGridFunOptTag.java |
35 |
Parameter 'title' is not assigned and could be declared final |
| 3632 |
src/org/jeecgframework/tag/core/easyui/DataGridFunOptTag.java |
38 |
Parameter 'operationCode' is not assigned and could be declared final |
| 3633 |
src/org/jeecgframework/tag/core/easyui/DataGridOpenOptTag.java |
16 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3634 |
src/org/jeecgframework/tag/core/easyui/DataGridOpenOptTag.java |
17 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3635 |
src/org/jeecgframework/tag/core/easyui/DataGridOpenOptTag.java |
18 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3636 |
src/org/jeecgframework/tag/core/easyui/DataGridOpenOptTag.java |
19 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3637 |
src/org/jeecgframework/tag/core/easyui/DataGridOpenOptTag.java |
20 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3638 |
src/org/jeecgframework/tag/core/easyui/DataGridOpenOptTag.java |
28 |
Avoid variables with short names like t |
| 3639 |
src/org/jeecgframework/tag/core/easyui/DataGridOpenOptTag.java |
28 |
Local variable 't' could be declared final |
| 3640 |
src/org/jeecgframework/tag/core/easyui/DataGridOpenOptTag.java |
29 |
Local variable 'parent' could be declared final |
| 3641 |
src/org/jeecgframework/tag/core/easyui/DataGridOpenOptTag.java |
33 |
Parameter 'width' is not assigned and could be declared final |
| 3642 |
src/org/jeecgframework/tag/core/easyui/DataGridOpenOptTag.java |
36 |
Parameter 'height' is not assigned and could be declared final |
| 3643 |
src/org/jeecgframework/tag/core/easyui/DataGridOpenOptTag.java |
39 |
Parameter 'exp' is not assigned and could be declared final |
| 3644 |
src/org/jeecgframework/tag/core/easyui/DataGridOpenOptTag.java |
43 |
Parameter 'url' is not assigned and could be declared final |
| 3645 |
src/org/jeecgframework/tag/core/easyui/DataGridOpenOptTag.java |
46 |
Parameter 'title' is not assigned and could be declared final |
| 3646 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1 |
This class has a bunch of public methods and attributes |
| 3647 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
26 |
Avoid unused imports such as 'org.jeecgframework.core.util.DataUtils' |
| 3648 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
26 |
Avoid unused imports such as 'org.jeecgframework.core.util.DataUtils' |
| 3649 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
46 |
Avoid really long classes. |
| 3650 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
46 |
The class 'DataGridTag' has a Cyclomatic Complexity of 4 (Highest = 46). |
| 3651 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
46 |
This class has too many methods, consider refactoring it. |
| 3652 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
46 |
Too many fields |
| 3653 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
94 |
Parameter 'onLoadSuccess' is not assigned and could be declared final |
| 3654 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
98 |
Parameter 'onClick' is not assigned and could be declared final |
| 3655 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
102 |
Parameter 'onDblClick' is not assigned and could be declared final |
| 3656 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
106 |
Parameter 'showText' is not assigned and could be declared final |
| 3657 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
110 |
Parameter 'pagination' is not assigned and could be declared final |
| 3658 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
165 |
Local variable 'dataGridUrl' could be declared final |
| 3659 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
178 |
Local variable 'dataGridUrl' could be declared final |
| 3660 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
191 |
Local variable 'dataGridUrl' could be declared final |
| 3661 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
205 |
Local variable 'dataGridUrl' could be declared final |
| 3662 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
223 |
Local variable 'dataGridUrl' could be declared final |
| 3663 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
255 |
Avoid really long methods. |
| 3664 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
255 |
Avoid really long parameter lists. |
| 3665 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
255 |
The method 'setColumn' has a Cyclomatic Complexity of 18. |
| 3666 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
255 |
The method setColumn() has an NPath complexity of 648 |
| 3667 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
291 |
The String literal "opt" appears 6 times in this file; the first occurrence is on line 291 |
| 3668 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
291 |
Use equals() to compare strings instead of '==' or '!=' |
| 3669 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
293 |
The String literal "group" appears 4 times in this file; the first occurrence is on line 293 |
| 3670 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
305 |
Prefer StringBuffer over += for concatenating strings |
| 3671 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
306 |
Prefer StringBuffer over += for concatenating strings |
| 3672 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
315 |
Found 'DD'-anomaly for variable 'text' (lines '315'-'343'). |
| 3673 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
315 |
Found 'DU'-anomaly for variable 'text' (lines '315'-'357'). |
| 3674 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
316 |
Found 'DD'-anomaly for variable 'value' (lines '316'-'344'). |
| 3675 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
316 |
Found 'DU'-anomaly for variable 'value' (lines '316'-'357'). |
| 3676 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
323 |
Prefer StringBuffer over += for concatenating strings |
| 3677 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
324 |
Prefer StringBuffer over += for concatenating strings |
| 3678 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
326 |
Avoid using if statements without curly braces |
| 3679 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
326 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 3680 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
329 |
Found 'DD'-anomaly for variable 'text' (lines '329'-'343'). |
| 3681 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
329 |
Found 'DU'-anomaly for variable 'text' (lines '329'-'357'). |
| 3682 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
330 |
Found 'DD'-anomaly for variable 'value' (lines '330'-'344'). |
| 3683 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
330 |
Found 'DU'-anomaly for variable 'value' (lines '330'-'357'). |
| 3684 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
331 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 3685 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
334 |
Prefer StringBuffer over += for concatenating strings |
| 3686 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
343 |
Found 'DD'-anomaly for variable 'text' (lines '343'-'346'). |
| 3687 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
345 |
String.indexOf(char) is faster than String.indexOf(String). |
| 3688 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
405 |
Position literals first in String comparisons |
| 3689 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
412 |
Avoid printStackTrace(); use a logger call instead. |
| 3690 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
423 |
Avoid variables with short names like sb |
| 3691 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
423 |
StringBuffer constructor is initialized with size 16, but has at least 1007 characters appended. |
| 3692 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
443 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3693 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
445 |
Avoid variables with short names like i |
| 3694 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
445 |
Found 'DD'-anomaly for variable 'i' (lines '445'-'447'). |
| 3695 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
445 |
Found 'DU'-anomaly for variable 'i' (lines '445'-'477'). |
| 3696 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
448 |
Avoid appending characters as strings in StringBuffer.append. |
| 3697 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
448 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3698 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
451 |
StringBuffer.append is called 5 consecutive times with literal Strings. Use a single append with a single String. |
| 3699 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
457 |
Avoid appending characters as strings in StringBuffer.append. |
| 3700 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
460 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3701 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
461 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3702 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
464 |
Do not add empty strings |
| 3703 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
465 |
Do not add empty strings |
| 3704 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
466 |
Do not add empty strings |
| 3705 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
468 |
Avoid appending characters as strings in StringBuffer.append. |
| 3706 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
469 |
Avoid using if statements without curly braces |
| 3707 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
470 |
Avoid appending characters as strings in StringBuffer.append. |
| 3708 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
473 |
The String literal "});" appears 7 times in this file; the first occurrence is on line 473 |
| 3709 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
488 |
Avoid really long methods. |
| 3710 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
488 |
The method 'end' has a Cyclomatic Complexity of 46. |
| 3711 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
488 |
The method end() has an NCSS line count of 202 |
| 3712 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
488 |
The method end() has an NPath complexity of 1475469312 |
| 3713 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
489 |
Found 'DD'-anomaly for variable 'grid' (lines '489'-'497'). |
| 3714 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
490 |
Avoid variables with short names like sb |
| 3715 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
490 |
StringBuffer constructor is initialized with size 16, but has at least 1405 characters appended. |
| 3716 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
498 |
The String literal "$(\'#" appears 9 times in this file; the first occurrence is on line 498 |
| 3717 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
507 |
The String literal "\'," appears 4 times in this file; the first occurrence is on line 507 |
| 3718 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
511 |
Avoid using if...else statements without curly braces |
| 3719 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
513 |
Avoid using if...else statements without curly braces |
| 3720 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
555 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 3721 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
572 |
Do not add empty strings |
| 3722 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
574 |
Do not add empty strings |
| 3723 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
577 |
Avoid appending characters as strings in StringBuffer.append. |
| 3724 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
594 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 3725 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
613 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 3726 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
634 |
Avoid if (x != y) ..; else ..; |
| 3727 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
638 |
Found 'DD'-anomaly for variable 'text' (lines '638'-'641'). |
| 3728 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
638 |
Found 'DU'-anomaly for variable 'text' (lines '638'-'737'). |
| 3729 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
639 |
Found 'DD'-anomaly for variable 'value' (lines '639'-'642'). |
| 3730 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
639 |
Found 'DU'-anomaly for variable 'value' (lines '639'-'737'). |
| 3731 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
646 |
Avoid if (x != y) ..; else ..; |
| 3732 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
690 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 3733 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
696 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 3734 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
744 |
Avoid reassigning parameters such as 'field' |
| 3735 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
746 |
A method should have only one exit point, and that should be the last statement in the method |
| 3736 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
749 |
Avoid variables with short names like re |
| 3737 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
749 |
Found 'DU'-anomaly for variable 're' (lines '749'-'780'). |
| 3738 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
752 |
Avoid variables with short names like it |
| 3739 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
776 |
Avoid printStackTrace(); use a logger call instead. |
| 3740 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
777 |
A method should have only one exit point, and that should be the last statement in the method |
| 3741 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
788 |
Found 'DD'-anomaly for variable 'change' (lines '788'-'794'). |
| 3742 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
788 |
Found 'DD'-anomaly for variable 'change' (lines '788'-'796'). |
| 3743 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
792 |
Found 'DD'-anomaly for variable 'value' (lines '792'-'792'). |
| 3744 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
792 |
Found 'DU'-anomaly for variable 'value' (lines '792'-'800'). |
| 3745 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
794 |
Found 'DD'-anomaly for variable 'change' (lines '794'-'794'). |
| 3746 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
794 |
Found 'DD'-anomaly for variable 'change' (lines '794'-'796'). |
| 3747 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
796 |
Found 'DD'-anomaly for variable 'change' (lines '796'-'794'). |
| 3748 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
796 |
Found 'DD'-anomaly for variable 'change' (lines '796'-'796'). |
| 3749 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
806 |
Found 'DD'-anomaly for variable 'hasQuery' (lines '806'-'809'). |
| 3750 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
809 |
Found 'DD'-anomaly for variable 'hasQuery' (lines '809'-'809'). |
| 3751 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
819 |
The method 'getOptUrl' has a Cyclomatic Complexity of 24. |
| 3752 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
819 |
The method getOptUrl() has an NPath complexity of 190081 |
| 3753 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
825 |
Found 'DD'-anomaly for variable 'url' (lines '825'-'833'). |
| 3754 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
826 |
Avoid instantiating new objects inside loops |
| 3755 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
829 |
Avoid instantiating new objects inside loops |
| 3756 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
861 |
Position literals first in String comparisons |
| 3757 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
864 |
Position literals first in String comparisons |
| 3758 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
909 |
Found 'DD'-anomaly for variable 'url' (lines '909'-'910'). |
| 3759 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
921 |
Avoid reassigning parameters such as 'url' |
| 3760 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
922 |
Found 'DU'-anomaly for variable 'formatter' (lines '922'-'944'). |
| 3761 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
923 |
Found 'DU'-anomaly for variable 'parurlvalue' (lines '923'-'944'). |
| 3762 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
924 |
String.indexOf(char) is faster than String.indexOf(String). |
| 3763 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
925 |
String.indexOf(char) is faster than String.indexOf(String). |
| 3764 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
926 |
String.indexOf(char) is faster than String.indexOf(String). |
| 3765 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
929 |
Found 'DU'-anomaly for variable 'j' (lines '929'-'944'). |
| 3766 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
931 |
String.indexOf(char) is faster than String.indexOf(String). |
| 3767 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
935 |
Found 'DU'-anomaly for variable 'j' (lines '935'-'944'). |
| 3768 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
960 |
Avoid really long methods. |
| 3769 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
960 |
The method 'getField' has a Cyclomatic Complexity of 39. |
| 3770 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
960 |
The method getField() has an NPath complexity of 4915215 |
| 3771 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
965 |
Found 'DD'-anomaly for variable 'i' (lines '965'-'967'). |
| 3772 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
977 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 3773 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
992 |
These nested if statements could be combined |
| 3774 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
992 |
Use equals() to compare strings instead of '==' or '!=' |
| 3775 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1008 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 3776 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1008 |
Found 'DD'-anomaly for variable 'tld' (lines '1,008'-'1,003'). |
| 3777 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1008 |
Found 'DU'-anomaly for variable 'tld' (lines '1,008'-'1,095'). |
| 3778 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1034 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 3779 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1039 |
Found 'DD'-anomaly for variable 'text' (lines '1,039'-'1,039'). |
| 3780 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1039 |
Found 'DD'-anomaly for variable 'text' (lines '1,039'-'1,069'). |
| 3781 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1039 |
Found 'DU'-anomaly for variable 'text' (lines '1,039'-'1,095'). |
| 3782 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1065 |
Found 'DD'-anomaly for variable 'testString' (lines '1,065'-'1,073'). |
| 3783 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1065 |
Found 'DD'-anomaly for variable 'testString' (lines '1,065'-'1,075'). |
| 3784 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1065 |
Found 'DU'-anomaly for variable 'testString' (lines '1,065'-'1,095'). |
| 3785 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1109 |
Avoid unnecessary comparisons in boolean expressions |
| 3786 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1136 |
Found 'DU'-anomaly for variable 'nolist' (lines '1,136'-'1,148'). |
| 3787 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1137 |
StringBuffer constructor is initialized with size 16, but has at least 29 characters appended. |
| 3788 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1138 |
Avoid empty if statements |
| 3789 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1161 |
Avoid if (x != y) ..; else ..; |
| 3790 |
src/org/jeecgframework/tag/core/easyui/DataGridTag.java |
1183 |
StringBuffer constructor is initialized with size 16, but has at least 670 characters appended. |
| 3791 |
src/org/jeecgframework/tag/core/easyui/DataGridToolBarTag.java |
12 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3792 |
src/org/jeecgframework/tag/core/easyui/DataGridToolBarTag.java |
13 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3793 |
src/org/jeecgframework/tag/core/easyui/DataGridToolBarTag.java |
14 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3794 |
src/org/jeecgframework/tag/core/easyui/DataGridToolBarTag.java |
15 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3795 |
src/org/jeecgframework/tag/core/easyui/DataGridToolBarTag.java |
16 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3796 |
src/org/jeecgframework/tag/core/easyui/DataGridToolBarTag.java |
25 |
Avoid variables with short names like t |
| 3797 |
src/org/jeecgframework/tag/core/easyui/DataGridToolBarTag.java |
25 |
Local variable 't' could be declared final |
| 3798 |
src/org/jeecgframework/tag/core/easyui/DataGridToolBarTag.java |
26 |
Local variable 'parent' could be declared final |
| 3799 |
src/org/jeecgframework/tag/core/easyui/DataGridToolBarTag.java |
30 |
Parameter 'funname' is not assigned and could be declared final |
| 3800 |
src/org/jeecgframework/tag/core/easyui/DataGridToolBarTag.java |
33 |
Parameter 'exp' is not assigned and could be declared final |
| 3801 |
src/org/jeecgframework/tag/core/easyui/DataGridToolBarTag.java |
36 |
Parameter 'url' is not assigned and could be declared final |
| 3802 |
src/org/jeecgframework/tag/core/easyui/DataGridToolBarTag.java |
39 |
Parameter 'title' is not assigned and could be declared final |
| 3803 |
src/org/jeecgframework/tag/core/easyui/DataGridToolBarTag.java |
42 |
Parameter 'icon' is not assigned and could be declared final |
| 3804 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
29 |
The class 'DictSelectTag' has a Cyclomatic Complexity of 2 (Highest = 29). |
| 3805 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
35 |
Avoid variables with short names like id |
| 3806 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
57 |
Local variable 'out' could be declared final |
| 3807 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
60 |
Avoid printStackTrace(); use a logger call instead. |
| 3808 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
65 |
Avoid really long methods. |
| 3809 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
65 |
The method 'end' has a Cyclomatic Complexity of 29. |
| 3810 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
65 |
The method end() has an NPath complexity of 944 |
| 3811 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
66 |
Avoid variables with short names like sb |
| 3812 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
66 |
Local variable 'sb' could be declared final |
| 3813 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
73 |
Avoid if (x != y) ..; else ..; |
| 3814 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
74 |
Local variable 'list' could be declared final |
| 3815 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
77 |
The String literal "field" appears 4 times in this file; the first occurrence is on line 77 |
| 3816 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
77 |
The String literal "text" appears 6 times in this file; the first occurrence is on line 77 |
| 3817 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
94 |
Local variable 'gson' could be declared final |
| 3818 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
95 |
Avoid variables with short names like mp |
| 3819 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
95 |
Local variable 'mp' could be declared final |
| 3820 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
101 |
The String literal " id=\"" appears 6 times in this file; the first occurrence is on line 101 |
| 3821 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
103 |
Avoid appending characters as strings in StringBuffer.append. |
| 3822 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
115 |
Found 'DU'-anomaly for variable 'types' (lines '115'-'170'). |
| 3823 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
118 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3824 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
126 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 3825 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
126 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3826 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
146 |
Avoid variables with short names like mp |
| 3827 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
154 |
Avoid appending characters as strings in StringBuffer.append. |
| 3828 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
177 |
Avoid variables with short names like sb |
| 3829 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
177 |
Parameter 'code' is not assigned and could be declared final |
| 3830 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
177 |
Parameter 'name' is not assigned and could be declared final |
| 3831 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
177 |
Parameter 'sb' is not assigned and could be declared final |
| 3832 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
180 |
Avoid empty if statements |
| 3833 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
194 |
Parameter 'code' is not assigned and could be declared final |
| 3834 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
194 |
Parameter 'name' is not assigned and could be declared final |
| 3835 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
201 |
The String literal " />" appears 4 times in this file; the first occurrence is on line 201 |
| 3836 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
224 |
Found 'DD'-anomaly for variable 'checked' (lines '224'-'228'). |
| 3837 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
224 |
Found 'DD'-anomaly for variable 'checked' (lines '224'-'231'). |
| 3838 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
231 |
Found 'DD'-anomaly for variable 'checked' (lines '231'-'228'). |
| 3839 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
231 |
Found 'DD'-anomaly for variable 'checked' (lines '231'-'231'). |
| 3840 |
src/org/jeecgframework/tag/core/easyui/DictSelectTag.java |
281 |
Consider simply returning the value vs storing it in local variable 'list' |
| 3841 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
16 |
The class 'FormValidationTag' has a Cyclomatic Complexity of 3 (Highest = 25). |
| 3842 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
17 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3843 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
18 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3844 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
19 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3845 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
20 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3846 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
21 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3847 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
23 |
The String literal "div" appears 4 times in this file; the first occurrence is on line 23 |
| 3848 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
30 |
Parameter 'tabtitle' is not assigned and could be declared final |
| 3849 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
34 |
Parameter 'dialog' is not assigned and could be declared final |
| 3850 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
38 |
Parameter 'btnsub' is not assigned and could be declared final |
| 3851 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
42 |
Parameter 'refresh' is not assigned and could be declared final |
| 3852 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
46 |
Parameter 'btnreset' is not assigned and could be declared final |
| 3853 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
61 |
Local variable 'out' could be declared final |
| 3854 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
62 |
Avoid variables with short names like sb |
| 3855 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
62 |
Local variable 'sb' could be declared final |
| 3856 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
62 |
StringBuffer constructor is initialized with size 16, but has at least 113 characters appended. |
| 3857 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
64 |
StringBuffer.append is called 3 consecutive times with literal Strings. Use a single append with a single String. |
| 3858 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
69 |
Avoid using if statements without curly braces |
| 3859 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
74 |
Avoid printStackTrace(); use a logger call instead. |
| 3860 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
80 |
Avoid really long methods. |
| 3861 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
80 |
The method 'doEndTag' has a Cyclomatic Complexity of 25. |
| 3862 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
80 |
The method doEndTag() has an NPath complexity of 94501 |
| 3863 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
82 |
Local variable 'out' could be declared final |
| 3864 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
83 |
Avoid variables with short names like sb |
| 3865 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
83 |
Local variable 'sb' could be declared final |
| 3866 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
83 |
StringBuffer constructor is initialized with size 16, but has at least 831 characters appended. |
| 3867 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
84 |
Position literals first in String comparisons |
| 3868 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
86 |
Avoid using if statements without curly braces |
| 3869 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
89 |
StringBuffer.append is called 5 consecutive times with literal Strings. Use a single append with a single String. |
| 3870 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
96 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3871 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
99 |
The String literal "password" appears 4 times in this file; the first occurrence is on line 99 |
| 3872 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
103 |
StringBuffer.append is called 3 consecutive times with literal Strings. Use a single append with a single String. |
| 3873 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
106 |
Avoid if (x != y) ..; else ..; |
| 3874 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
133 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3875 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
138 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 3876 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
139 |
String.indexOf(char) is faster than String.indexOf(String). |
| 3877 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
145 |
Found 'DU'-anomaly for variable 'passsb' (lines '145'-'228'). |
| 3878 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
145 |
Local variable 'passsb' could be declared final |
| 3879 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
151 |
Avoid appending characters as strings in StringBuffer.append. |
| 3880 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
153 |
Avoid appending characters as strings in StringBuffer.append. |
| 3881 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
156 |
Avoid appending characters as strings in StringBuffer.append. |
| 3882 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
158 |
Avoid appending characters as strings in StringBuffer.append. |
| 3883 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
161 |
Avoid appending characters as strings in StringBuffer.append. |
| 3884 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
165 |
Found 'DU'-anomaly for variable 'jqsb' (lines '165'-'228'). |
| 3885 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
165 |
StringBuffer constructor is initialized with size 16, but has at least 34 characters appended. |
| 3886 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
184 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 3887 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
201 |
Do not add empty strings |
| 3888 |
src/org/jeecgframework/tag/core/easyui/FormValidationTag.java |
225 |
Avoid printStackTrace(); use a logger call instead. |
| 3889 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
26 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3890 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
27 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3891 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
28 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3892 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
29 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3893 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
32 |
Parameter 'parentFun' is not assigned and could be declared final |
| 3894 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
36 |
Parameter 'childFun' is not assigned and could be declared final |
| 3895 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
46 |
Local variable 'out' could be declared final |
| 3896 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
50 |
Avoid printStackTrace(); use a logger call instead. |
| 3897 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
56 |
Avoid variables with short names like sb |
| 3898 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
56 |
Local variable 'sb' could be declared final |
| 3899 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
56 |
StringBuffer constructor is initialized with size 16, but has at least 20 characters appended. |
| 3900 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
57 |
Position literals first in String comparisons |
| 3901 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
62 |
Position literals first in String comparisons |
| 3902 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
69 |
Position literals first in String comparisons |
| 3903 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
73 |
Position literals first in String comparisons |
| 3904 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
75 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3905 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
76 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 3906 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
79 |
Position literals first in String comparisons |
| 3907 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
85 |
Parameter 'style' is not assigned and could be declared final |
| 3908 |
src/org/jeecgframework/tag/core/easyui/MenuTag.java |
89 |
Parameter 'menuFun' is not assigned and could be declared final |
| 3909 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
11 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3910 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
11 |
Private field 'curPageNO' could be made final; it is only initialized in the declaration or constructor. |
| 3911 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
12 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3912 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
12 |
Private field 'rowsCount' could be made final; it is only initialized in the declaration or constructor. |
| 3913 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
13 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3914 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
13 |
Private field 'pageCount' could be made final; it is only initialized in the declaration or constructor. |
| 3915 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
14 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3916 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
14 |
Private field 'actionUrl' could be made final; it is only initialized in the declaration or constructor. |
| 3917 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
15 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3918 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
15 |
Private field 'map' could be made final; it is only initialized in the declaration or constructor. |
| 3919 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
16 |
Parameter 'actionUrl' is not assigned and could be declared final |
| 3920 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
16 |
Parameter 'allCount' is not assigned and could be declared final |
| 3921 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
16 |
Parameter 'curPageNo' is not assigned and could be declared final |
| 3922 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
16 |
Parameter 'map' is not assigned and could be declared final |
| 3923 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
16 |
Parameter 'pageSize' is not assigned and could be declared final |
| 3924 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
52 |
Avoid variables with short names like sb |
| 3925 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
53 |
Local variable 'join' could be declared final |
| 3926 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
54 |
Local variable 'conditions' could be declared final |
| 3927 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
62 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3928 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
67 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3929 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
70 |
Avoid using if...else statements without curly braces |
| 3930 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
72 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3931 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
72 |
The String literal "<a href='" appears 4 times in this file; the first occurrence is on line 72 |
| 3932 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
73 |
The String literal "curPageNO=" appears 6 times in this file; the first occurrence is on line 73 |
| 3933 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
76 |
Avoid using if...else statements without curly braces |
| 3934 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
78 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3935 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
83 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3936 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
92 |
Avoid variables with short names like sb |
| 3937 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
92 |
The method getStr() has an NPath complexity of 450 |
| 3938 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
93 |
Local variable 'join' could be declared final |
| 3939 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
94 |
Found 'DU'-anomaly for variable 'conditions' (lines '94'-'124'). |
| 3940 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
94 |
Local variable 'conditions' could be declared final |
| 3941 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
97 |
Prefer StringBuffer over += for concatenating strings |
| 3942 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
99 |
Avoid using if...else statements without curly braces |
| 3943 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
105 |
Avoid using if...else statements without curly braces |
| 3944 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
112 |
Prefer StringBuffer over += for concatenating strings |
| 3945 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
113 |
Local variable 'begin' could be declared final |
| 3946 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
117 |
Avoid using if...else statements without curly braces |
| 3947 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
117 |
Prefer StringBuffer over += for concatenating strings |
| 3948 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
119 |
Prefer StringBuffer over += for concatenating strings |
| 3949 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
121 |
Prefer StringBuffer over += for concatenating strings |
| 3950 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
148 |
Found 'DD'-anomaly for variable 'join' (lines '148'-'150'). |
| 3951 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
148 |
Found 'DD'-anomaly for variable 'join' (lines '148'-'152'). |
| 3952 |
src/org/jeecgframework/tag/core/easyui/PagerUtil.java |
149 |
String.indexOf(char) is faster than String.indexOf(String). |
| 3953 |
src/org/jeecgframework/tag/core/easyui/TabTag.java |
16 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3954 |
src/org/jeecgframework/tag/core/easyui/TabTag.java |
17 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3955 |
src/org/jeecgframework/tag/core/easyui/TabTag.java |
18 |
Avoid variables with short names like id |
| 3956 |
src/org/jeecgframework/tag/core/easyui/TabTag.java |
18 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3957 |
src/org/jeecgframework/tag/core/easyui/TabTag.java |
19 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3958 |
src/org/jeecgframework/tag/core/easyui/TabTag.java |
20 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3959 |
src/org/jeecgframework/tag/core/easyui/TabTag.java |
31 |
Avoid variables with short names like t |
| 3960 |
src/org/jeecgframework/tag/core/easyui/TabTag.java |
31 |
Local variable 't' could be declared final |
| 3961 |
src/org/jeecgframework/tag/core/easyui/TabTag.java |
32 |
Local variable 'parent' could be declared final |
| 3962 |
src/org/jeecgframework/tag/core/easyui/TabTag.java |
36 |
Parameter 'href' is not assigned and could be declared final |
| 3963 |
src/org/jeecgframework/tag/core/easyui/TabTag.java |
39 |
Avoid variables with short names like id |
| 3964 |
src/org/jeecgframework/tag/core/easyui/TabTag.java |
39 |
Parameter 'id' is not assigned and could be declared final |
| 3965 |
src/org/jeecgframework/tag/core/easyui/TabTag.java |
42 |
Parameter 'title' is not assigned and could be declared final |
| 3966 |
src/org/jeecgframework/tag/core/easyui/TabTag.java |
45 |
Parameter 'icon' is not assigned and could be declared final |
| 3967 |
src/org/jeecgframework/tag/core/easyui/TabTag.java |
48 |
Parameter 'width' is not assigned and could be declared final |
| 3968 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
23 |
The class 'TabsTag' has a Cyclomatic Complexity of 2 (Highest = 11). |
| 3969 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
24 |
Avoid variables with short names like id |
| 3970 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
24 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3971 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
25 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3972 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
26 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3973 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
27 |
Avoid unused private fields such as 'plain'. |
| 3974 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
27 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3975 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
27 |
Perhaps 'plain' could be replaced by a local variable. |
| 3976 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
28 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 3977 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
29 |
Avoid unused private fields such as 'border'. |
| 3978 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
29 |
Perhaps 'border' could be replaced by a local variable. |
| 3979 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
30 |
Avoid unused private fields such as 'scrollIncrement'. |
| 3980 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
30 |
Perhaps 'scrollIncrement' could be replaced by a local variable. |
| 3981 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
31 |
Avoid unused private fields such as 'scrollDuration'. |
| 3982 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
31 |
Perhaps 'scrollDuration' could be replaced by a local variable. |
| 3983 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
32 |
Avoid unused private fields such as 'tools'. |
| 3984 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
32 |
Perhaps 'tools' could be replaced by a local variable. |
| 3985 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
37 |
Parameter 'iframe' is not assigned and could be declared final |
| 3986 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
41 |
Parameter 'tabs' is not assigned and could be declared final |
| 3987 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
45 |
Avoid variables with short names like id |
| 3988 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
45 |
Parameter 'id' is not assigned and could be declared final |
| 3989 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
49 |
Parameter 'width' is not assigned and could be declared final |
| 3990 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
53 |
Parameter 'heigth' is not assigned and could be declared final |
| 3991 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
98 |
Local variable 'out' could be declared final |
| 3992 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
102 |
Avoid printStackTrace(); use a logger call instead. |
| 3993 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
107 |
The method 'end' has a Cyclomatic Complexity of 11. |
| 3994 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
108 |
Avoid variables with short names like sb |
| 3995 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
108 |
Local variable 'sb' could be declared final |
| 3996 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
110 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 3997 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
112 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 3998 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
114 |
The String literal "\',\'" appears 4 times in this file; the first occurrence is on line 114 |
| 3999 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
117 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 4000 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
118 |
StringBuffer.append is called 3 consecutive times with literal Strings. Use a single append with a single String. |
| 4001 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
126 |
StringBuffer.append is called 5 consecutive times with literal Strings. Use a single append with a single String. |
| 4002 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
129 |
Avoid appending characters as strings in StringBuffer.append. |
| 4003 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
130 |
StringBuffer.append is called 4 consecutive times with literal Strings. Use a single append with a single String. |
| 4004 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
131 |
Avoid appending characters as strings in StringBuffer.append. |
| 4005 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
134 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 4006 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
141 |
Avoid appending characters as strings in StringBuffer.append. |
| 4007 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
145 |
Avoid appending characters as strings in StringBuffer.append. |
| 4008 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
148 |
Avoid appending characters as strings in StringBuffer.append. |
| 4009 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
157 |
Avoid if (x != y) ..; else ..; |
| 4010 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
173 |
Avoid really long parameter lists. |
| 4011 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
173 |
Avoid variables with short names like id |
| 4012 |
src/org/jeecgframework/tag/core/easyui/TabsTag.java |
174 |
Local variable 'tab' could be declared final |
| 4013 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
37 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 4014 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
37 |
The class 'TagUtil' has a Cyclomatic Complexity of 5 (Highest = 13). |
| 4015 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
45 |
Parameter 'objClass' is not assigned and could be declared final |
| 4016 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
46 |
Found 'DD'-anomaly for variable 'field' (lines '46'-'49'). |
| 4017 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
47 |
Avoid if (x != y) ..; else ..; |
| 4018 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
48 |
Local variable 'class1' could be declared final |
| 4019 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
50 |
A method should have only one exit point, and that should be the last statement in the method |
| 4020 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
61 |
Avoid variables with short names like o |
| 4021 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
61 |
Parameter 'FiledName' is not assigned and could be declared final |
| 4022 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
61 |
Parameter 'o' is not assigned and could be declared final |
| 4023 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
61 |
The method 'fieldNametoValues' has a Cyclomatic Complexity of 10. |
| 4024 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
61 |
The method fieldNametoValues() has an NPath complexity of 225 |
| 4025 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
62 |
Found 'DD'-anomaly for variable 'value' (lines '62'-'77'). |
| 4026 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
63 |
Found 'DD'-anomaly for variable 'fieldName' (lines '63'-'68'). |
| 4027 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
63 |
Found 'DD'-anomaly for variable 'fieldName' (lines '63'-'70'). |
| 4028 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
63 |
Found 'DD'-anomaly for variable 'fieldName' (lines '63'-'74'). |
| 4029 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
64 |
Found 'DD'-anomaly for variable 'childFieldName' (lines '64'-'71'). |
| 4030 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
64 |
Found 'DD'-anomaly for variable 'childFieldName' (lines '64'-'75'). |
| 4031 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
64 |
Found 'DU'-anomaly for variable 'childFieldName' (lines '64'-'85'). |
| 4032 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
65 |
Local variable 'reflectHelper' could be declared final |
| 4033 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
66 |
String.indexOf(char) is faster than String.indexOf(String). |
| 4034 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
67 |
String.indexOf(char) is faster than String.indexOf(String). |
| 4035 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
70 |
String.indexOf(char) is faster than String.indexOf(String). |
| 4036 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
71 |
Found 'DU'-anomaly for variable 'childFieldName' (lines '71'-'85'). |
| 4037 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
71 |
String.indexOf(char) is faster than String.indexOf(String). |
| 4038 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
74 |
String.indexOf(char) is faster than String.indexOf(String). |
| 4039 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
75 |
Found 'DU'-anomaly for variable 'childFieldName' (lines '75'-'85'). |
| 4040 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
78 |
Use equals() to compare strings instead of '==' or '!=' |
| 4041 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
81 |
Use equals() to compare strings instead of '==' or '!=' |
| 4042 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
95 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4043 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
95 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4044 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
95 |
Avoid variables with short names like o |
| 4045 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
95 |
Parameter 'fields' is not assigned and could be declared final |
| 4046 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
95 |
Parameter 'o' is not assigned and could be declared final |
| 4047 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
96 |
Found 'DD'-anomaly for variable 'values' (lines '96'-'99'). |
| 4048 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
98 |
Avoid calling toString() on String objects; this is unnecessary. |
| 4049 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
98 |
Local variable 'fieldName' could be declared final |
| 4050 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
99 |
Found 'DD'-anomaly for variable 'values' (lines '99'-'99'). |
| 4051 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
109 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4052 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
109 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4053 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
109 |
The method 'listtojson' has a Cyclomatic Complexity of 10. |
| 4054 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
110 |
Found 'DD'-anomaly for variable 'values' (lines '110'-'120'). |
| 4055 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
111 |
StringBuffer constructor is initialized with size 16, but has at least 68 characters appended. |
| 4056 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
113 |
Avoid variables with short names like i |
| 4057 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
118 |
Avoid calling toString() on String objects; this is unnecessary. |
| 4058 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
120 |
Avoid using if...else statements without curly braces |
| 4059 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
126 |
Avoid appending characters as strings in StringBuffer.append. |
| 4060 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
129 |
Avoid if (x != y) ..; else ..; |
| 4061 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
130 |
Avoid using if...else statements without curly braces |
| 4062 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
132 |
Avoid appending characters as strings in StringBuffer.append. |
| 4063 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
135 |
Avoid appending characters as strings in StringBuffer.append. |
| 4064 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
137 |
Avoid appending characters as strings in StringBuffer.append. |
| 4065 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
137 |
StringBuffer.append is called 4 consecutive times with literal Strings. Use a single append with a single String. |
| 4066 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
139 |
Avoid appending characters as strings in StringBuffer.append. |
| 4067 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
142 |
Local variable 'footerFiled' could be declared final |
| 4068 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
143 |
Found 'DD'-anomaly for variable 'value' (lines '143'-'145'). |
| 4069 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
143 |
Found 'DD'-anomaly for variable 'value' (lines '143'-'147'). |
| 4070 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
145 |
Avoid using if...else statements without curly braces |
| 4071 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
154 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 4072 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
167 |
Found 'DU'-anomaly for variable 'sum' (lines '167'-'183'). |
| 4073 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
170 |
Avoid variables with short names like v |
| 4074 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
170 |
Found 'DD'-anomaly for variable 'v' (lines '170'-'173'). |
| 4075 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
171 |
Local variable 'vstr' could be declared final |
| 4076 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
172 |
Avoid if (x != y) ..; else ..; |
| 4077 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
174 |
Avoid empty if statements |
| 4078 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
180 |
A method should have only one exit point, and that should be the last statement in the method |
| 4079 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
191 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4080 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
191 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4081 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
194 |
Found 'DD'-anomaly for variable 'values' (lines '194'-'202'). |
| 4082 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
194 |
Found 'DU'-anomaly for variable 'values' (lines '194'-'219'). |
| 4083 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
195 |
StringBuffer constructor is initialized with size 16, but has at least 63 characters appended. |
| 4084 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
197 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 4085 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
201 |
Avoid calling toString() on String objects; this is unnecessary. |
| 4086 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
203 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 4087 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
208 |
Avoid if (x != y) ..; else ..; |
| 4088 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
226 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4089 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
226 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4090 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
228 |
Found 'DD'-anomaly for variable 'values' (lines '228'-'235'). |
| 4091 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
228 |
Found 'DU'-anomaly for variable 'values' (lines '228'-'249'). |
| 4092 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
229 |
StringBuffer constructor is initialized with size 16, but has at least 72 characters appended. |
| 4093 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
234 |
Avoid calling toString() on String objects; this is unnecessary. |
| 4094 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
241 |
Avoid if (x != y) ..; else ..; |
| 4095 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
257 |
Avoid variables with short names like dg |
| 4096 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
258 |
Found 'DD'-anomaly for variable 'jObject' (lines '258'-'261'). |
| 4097 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
258 |
Found 'DD'-anomaly for variable 'jObject' (lines '258'-'263'). |
| 4098 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
266 |
Avoid printStackTrace(); use a logger call instead. |
| 4099 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
278 |
Found 'DD'-anomaly for variable 'jObject' (lines '278'-'280'). |
| 4100 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
282 |
Avoid printStackTrace(); use a logger call instead. |
| 4101 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
296 |
The method 'getColumnType' has a Cyclomatic Complexity of 13. |
| 4102 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
297 |
Found 'DD'-anomaly for variable 'type' (lines '297'-'305'). |
| 4103 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
297 |
Found 'DD'-anomaly for variable 'type' (lines '297'-'308'). |
| 4104 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
297 |
Found 'DD'-anomaly for variable 'type' (lines '297'-'311'). |
| 4105 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
297 |
Found 'DD'-anomaly for variable 'type' (lines '297'-'314'). |
| 4106 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
297 |
Found 'DD'-anomaly for variable 'type' (lines '297'-'317'). |
| 4107 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
297 |
Found 'DD'-anomaly for variable 'type' (lines '297'-'320'). |
| 4108 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
297 |
Found 'DD'-anomaly for variable 'type' (lines '297'-'323'). |
| 4109 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
297 |
Found 'DD'-anomaly for variable 'type' (lines '297'-'326'). |
| 4110 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
301 |
Found 'DU'-anomaly for variable 'filedType' (lines '301'-'336'). |
| 4111 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
303 |
Position literals first in String comparisons |
| 4112 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
305 |
Found 'DD'-anomaly for variable 'type' (lines '305'-'305'). |
| 4113 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
305 |
Found 'DD'-anomaly for variable 'type' (lines '305'-'308'). |
| 4114 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
305 |
Found 'DD'-anomaly for variable 'type' (lines '305'-'311'). |
| 4115 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
305 |
Found 'DD'-anomaly for variable 'type' (lines '305'-'314'). |
| 4116 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
305 |
Found 'DD'-anomaly for variable 'type' (lines '305'-'317'). |
| 4117 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
305 |
Found 'DD'-anomaly for variable 'type' (lines '305'-'320'). |
| 4118 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
305 |
Found 'DD'-anomaly for variable 'type' (lines '305'-'323'). |
| 4119 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
305 |
Found 'DD'-anomaly for variable 'type' (lines '305'-'326'). |
| 4120 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
305 |
Found 'DD'-anomaly for variable 'type' (lines '305'-'329'). |
| 4121 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
306 |
Position literals first in String comparisons |
| 4122 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
308 |
Found 'DD'-anomaly for variable 'type' (lines '308'-'305'). |
| 4123 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
308 |
Found 'DD'-anomaly for variable 'type' (lines '308'-'308'). |
| 4124 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
308 |
Found 'DD'-anomaly for variable 'type' (lines '308'-'311'). |
| 4125 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
308 |
Found 'DD'-anomaly for variable 'type' (lines '308'-'314'). |
| 4126 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
308 |
Found 'DD'-anomaly for variable 'type' (lines '308'-'317'). |
| 4127 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
308 |
Found 'DD'-anomaly for variable 'type' (lines '308'-'320'). |
| 4128 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
308 |
Found 'DD'-anomaly for variable 'type' (lines '308'-'323'). |
| 4129 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
308 |
Found 'DD'-anomaly for variable 'type' (lines '308'-'326'). |
| 4130 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
308 |
Found 'DD'-anomaly for variable 'type' (lines '308'-'329'). |
| 4131 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
309 |
Position literals first in String comparisons |
| 4132 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
311 |
Found 'DD'-anomaly for variable 'type' (lines '311'-'305'). |
| 4133 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
311 |
Found 'DD'-anomaly for variable 'type' (lines '311'-'308'). |
| 4134 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
311 |
Found 'DD'-anomaly for variable 'type' (lines '311'-'311'). |
| 4135 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
311 |
Found 'DD'-anomaly for variable 'type' (lines '311'-'314'). |
| 4136 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
311 |
Found 'DD'-anomaly for variable 'type' (lines '311'-'317'). |
| 4137 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
311 |
Found 'DD'-anomaly for variable 'type' (lines '311'-'320'). |
| 4138 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
311 |
Found 'DD'-anomaly for variable 'type' (lines '311'-'323'). |
| 4139 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
311 |
Found 'DD'-anomaly for variable 'type' (lines '311'-'326'). |
| 4140 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
311 |
Found 'DD'-anomaly for variable 'type' (lines '311'-'329'). |
| 4141 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
312 |
Position literals first in String comparisons |
| 4142 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
314 |
Found 'DD'-anomaly for variable 'type' (lines '314'-'305'). |
| 4143 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
314 |
Found 'DD'-anomaly for variable 'type' (lines '314'-'308'). |
| 4144 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
314 |
Found 'DD'-anomaly for variable 'type' (lines '314'-'311'). |
| 4145 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
314 |
Found 'DD'-anomaly for variable 'type' (lines '314'-'314'). |
| 4146 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
314 |
Found 'DD'-anomaly for variable 'type' (lines '314'-'317'). |
| 4147 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
314 |
Found 'DD'-anomaly for variable 'type' (lines '314'-'320'). |
| 4148 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
314 |
Found 'DD'-anomaly for variable 'type' (lines '314'-'323'). |
| 4149 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
314 |
Found 'DD'-anomaly for variable 'type' (lines '314'-'326'). |
| 4150 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
314 |
Found 'DD'-anomaly for variable 'type' (lines '314'-'329'). |
| 4151 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
315 |
Position literals first in String comparisons |
| 4152 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
317 |
Found 'DD'-anomaly for variable 'type' (lines '317'-'305'). |
| 4153 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
317 |
Found 'DD'-anomaly for variable 'type' (lines '317'-'308'). |
| 4154 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
317 |
Found 'DD'-anomaly for variable 'type' (lines '317'-'311'). |
| 4155 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
317 |
Found 'DD'-anomaly for variable 'type' (lines '317'-'314'). |
| 4156 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
317 |
Found 'DD'-anomaly for variable 'type' (lines '317'-'317'). |
| 4157 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
317 |
Found 'DD'-anomaly for variable 'type' (lines '317'-'320'). |
| 4158 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
317 |
Found 'DD'-anomaly for variable 'type' (lines '317'-'323'). |
| 4159 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
317 |
Found 'DD'-anomaly for variable 'type' (lines '317'-'326'). |
| 4160 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
317 |
Found 'DD'-anomaly for variable 'type' (lines '317'-'329'). |
| 4161 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
320 |
Found 'DD'-anomaly for variable 'type' (lines '320'-'305'). |
| 4162 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
320 |
Found 'DD'-anomaly for variable 'type' (lines '320'-'308'). |
| 4163 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
320 |
Found 'DD'-anomaly for variable 'type' (lines '320'-'311'). |
| 4164 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
320 |
Found 'DD'-anomaly for variable 'type' (lines '320'-'314'). |
| 4165 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
320 |
Found 'DD'-anomaly for variable 'type' (lines '320'-'317'). |
| 4166 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
320 |
Found 'DD'-anomaly for variable 'type' (lines '320'-'320'). |
| 4167 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
320 |
Found 'DD'-anomaly for variable 'type' (lines '320'-'323'). |
| 4168 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
320 |
Found 'DD'-anomaly for variable 'type' (lines '320'-'326'). |
| 4169 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
320 |
Found 'DD'-anomaly for variable 'type' (lines '320'-'329'). |
| 4170 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
323 |
Found 'DD'-anomaly for variable 'type' (lines '323'-'305'). |
| 4171 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
323 |
Found 'DD'-anomaly for variable 'type' (lines '323'-'308'). |
| 4172 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
323 |
Found 'DD'-anomaly for variable 'type' (lines '323'-'311'). |
| 4173 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
323 |
Found 'DD'-anomaly for variable 'type' (lines '323'-'314'). |
| 4174 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
323 |
Found 'DD'-anomaly for variable 'type' (lines '323'-'317'). |
| 4175 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
323 |
Found 'DD'-anomaly for variable 'type' (lines '323'-'320'). |
| 4176 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
323 |
Found 'DD'-anomaly for variable 'type' (lines '323'-'323'). |
| 4177 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
323 |
Found 'DD'-anomaly for variable 'type' (lines '323'-'326'). |
| 4178 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
323 |
Found 'DD'-anomaly for variable 'type' (lines '323'-'329'). |
| 4179 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
326 |
Found 'DD'-anomaly for variable 'type' (lines '326'-'305'). |
| 4180 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
326 |
Found 'DD'-anomaly for variable 'type' (lines '326'-'308'). |
| 4181 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
326 |
Found 'DD'-anomaly for variable 'type' (lines '326'-'311'). |
| 4182 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
326 |
Found 'DD'-anomaly for variable 'type' (lines '326'-'314'). |
| 4183 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
361 |
Method names should not start with capital letters |
| 4184 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
372 |
Avoid printStackTrace(); use a logger call instead. |
| 4185 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
374 |
Avoid printStackTrace(); use a logger call instead. |
| 4186 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
376 |
Avoid printStackTrace(); use a logger call instead. |
| 4187 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
419 |
StringBuffer constructor is initialized with size 16, but has at least 26 characters appended. |
| 4188 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
422 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 4189 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
457 |
Avoid instantiating new objects inside loops |
| 4190 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
458 |
Avoid instantiating new objects inside loops |
| 4191 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
460 |
Avoid calling toString() on String objects; this is unnecessary. |
| 4192 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
467 |
Avoid instantiating new objects inside loops |
| 4193 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
491 |
A method should have only one exit point, and that should be the last statement in the method |
| 4194 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
512 |
Prefer StringBuffer over += for concatenating strings |
| 4195 |
src/org/jeecgframework/tag/core/easyui/TagUtil.java |
518 |
Prefer StringBuffer over += for concatenating strings |
| 4196 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
17 |
The class 'UploadTag' has a Cyclomatic Complexity of 2 (Highest = 13). |
| 4197 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
19 |
Avoid variables with short names like id |
| 4198 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
19 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4199 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
21 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4200 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
22 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4201 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
23 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4202 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
24 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4203 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
32 |
Parameter 'view' is not assigned and could be declared final |
| 4204 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
35 |
Parameter 'onUploadSuccess' is not assigned and could be declared final |
| 4205 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
38 |
Parameter 'auto' is not assigned and could be declared final |
| 4206 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
41 |
Parameter 'callback' is not assigned and could be declared final |
| 4207 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
44 |
Parameter 'dialog' is not assigned and could be declared final |
| 4208 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
67 |
Local variable 'out' could be declared final |
| 4209 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
71 |
Avoid printStackTrace(); use a logger call instead. |
| 4210 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
75 |
Avoid really long methods. |
| 4211 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
75 |
The method 'end' has a Cyclomatic Complexity of 13. |
| 4212 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
75 |
The method end() has an NPath complexity of 1344 |
| 4213 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
76 |
Avoid variables with short names like sb |
| 4214 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
76 |
Local variable 'sb' could be declared final |
| 4215 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
76 |
StringBuffer constructor is initialized with size 16, but has at least 1768 characters appended. |
| 4216 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
81 |
Position literals first in String comparisons |
| 4217 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
85 |
StringBuffer.append is called 11 consecutive times with literal Strings. Use a single append with a single String. |
| 4218 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
110 |
Local variable 'paramnames' could be declared final |
| 4219 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
112 |
Local variable 'paramname' could be declared final |
| 4220 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
117 |
Local variable 'paramname' could be declared final |
| 4221 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
119 |
Do not add empty strings |
| 4222 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
125 |
An empty statement (semicolon) not part of a loop |
| 4223 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
137 |
Avoid using if statements without curly braces |
| 4224 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
138 |
Do not add empty strings |
| 4225 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
142 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 4226 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
145 |
StringBuffer.append is called 3 consecutive times with literal Strings. Use a single append with a single String. |
| 4227 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
151 |
StringBuffer.append is called 3 consecutive times with literal Strings. Use a single append with a single String. |
| 4228 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
157 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 4229 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
159 |
StringBuffer.append is called 10 consecutive times with literal Strings. Use a single append with a single String. |
| 4230 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
163 |
Avoid appending characters as strings in StringBuffer.append. |
| 4231 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
170 |
The String literal "break;" appears 4 times in this file; the first occurrence is on line 170 |
| 4232 |
src/org/jeecgframework/tag/core/easyui/UploadTag.java |
213 |
Avoid variables with short names like id |
| 4233 |
src/org/jeecgframework/tag/vo/datatable/ColumnInfo.java |
31 |
Parameter 'search' is not assigned and could be declared final |
| 4234 |
src/org/jeecgframework/tag/vo/datatable/ColumnInfo.java |
51 |
Parameter 'name' is not assigned and could be declared final |
| 4235 |
src/org/jeecgframework/tag/vo/datatable/ColumnInfo.java |
66 |
Parameter 'regex' is not assigned and could be declared final |
| 4236 |
src/org/jeecgframework/tag/vo/datatable/ColumnInfo.java |
81 |
Parameter 'searchable' is not assigned and could be declared final |
| 4237 |
src/org/jeecgframework/tag/vo/datatable/ColumnInfo.java |
96 |
Parameter 'sortable' is not assigned and could be declared final |
| 4238 |
src/org/jeecgframework/tag/vo/datatable/DataTableReturn.java |
15 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4239 |
src/org/jeecgframework/tag/vo/datatable/DataTableReturn.java |
19 |
Avoid excessively long variable names like iTotalDisplayRecords |
| 4240 |
src/org/jeecgframework/tag/vo/datatable/DataTableReturn.java |
19 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4241 |
src/org/jeecgframework/tag/vo/datatable/DataTableReturn.java |
23 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4242 |
src/org/jeecgframework/tag/vo/datatable/DataTableReturn.java |
41 |
Parameter 'iTotalRecords' is not assigned and could be declared final |
| 4243 |
src/org/jeecgframework/tag/vo/datatable/DataTableReturn.java |
56 |
Avoid excessively long variable names like iTotalDisplayRecords |
| 4244 |
src/org/jeecgframework/tag/vo/datatable/DataTableReturn.java |
56 |
Parameter 'iTotalDisplayRecords' is not assigned and could be declared final |
| 4245 |
src/org/jeecgframework/tag/vo/datatable/DataTableReturn.java |
71 |
Parameter 'sEcho' is not assigned and could be declared final |
| 4246 |
src/org/jeecgframework/tag/vo/datatable/DataTableReturn.java |
86 |
Parameter 'aaData' is not assigned and could be declared final |
| 4247 |
src/org/jeecgframework/tag/vo/datatable/DataTableReturn.java |
89 |
Avoid excessively long variable names like iTotalDisplayRecords |
| 4248 |
src/org/jeecgframework/tag/vo/datatable/DataTableReturn.java |
89 |
Parameter 'iTotalDisplayRecords' is not assigned and could be declared final |
| 4249 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
7 |
Too many fields |
| 4250 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
8 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4251 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
9 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4252 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
9 |
Private field 'sEchoParameter' could be made final; it is only initialized in the declaration or constructor. |
| 4253 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
12 |
Avoid excessively long variable names like iDisplayStartParameter |
| 4254 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
12 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4255 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
12 |
Private field 'iDisplayStartParameter' could be made final; it is only initialized in the declaration or constructor. |
| 4256 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
13 |
Avoid excessively long variable names like iDisplayLengthParameter |
| 4257 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
13 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4258 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
13 |
Private field 'iDisplayLengthParameter' could be made final; it is only initialized in the declaration or constructor. |
| 4259 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
16 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4260 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
16 |
Private field 'iColumnsParameter' could be made final; it is only initialized in the declaration or constructor. |
| 4261 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
17 |
Private field 'sColumnsParameter' could be made final; it is only initialized in the declaration or constructor. |
| 4262 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
21 |
Avoid excessively long variable names like iSortingColsParameter |
| 4263 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
22 |
Avoid excessively long variable names like iSortColPrefixParameter |
| 4264 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
22 |
Avoid unused private fields such as 'iSortColPrefixParameter'. |
| 4265 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
23 |
Avoid excessively long variable names like sSortDirPrefixParameter |
| 4266 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
23 |
Avoid unused private fields such as 'sSortDirPrefixParameter'. |
| 4267 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
27 |
Avoid unused private fields such as 'bSortablePrefixParameter'. |
| 4268 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
34 |
Avoid unused private fields such as 'bSearchablePrefixParameter'. |
| 4269 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
35 |
Avoid unused private fields such as 'sSearchPrefixParameter'. |
| 4270 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
39 |
Returning 'sortColumns' may expose an internal array. |
| 4271 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
42 |
Parameter 'sortColumns' is not assigned and could be declared final |
| 4272 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
42 |
The user-supplied array 'sortColumns' is stored directly. |
| 4273 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
50 |
Parameter 'columnCount' is not assigned and could be declared final |
| 4274 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
55 |
Returning 'columns' may expose an internal array. |
| 4275 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
58 |
Parameter 'columns' is not assigned and could be declared final |
| 4276 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
58 |
The user-supplied array 'columns' is stored directly. |
| 4277 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
66 |
Parameter 'search' is not assigned and could be declared final |
| 4278 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
74 |
Parameter 'regex' is not assigned and could be declared final |
| 4279 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
107 |
Variables should start with a lowercase character |
| 4280 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
115 |
Method names should not start with capital letters |
| 4281 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
129 |
Use equals() to compare strings instead of '==' or '!=' |
| 4282 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
134 |
Local variable 'formatter' could be declared final |
| 4283 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
136 |
Avoid instantiating new objects inside loops |
| 4284 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
136 |
Local variable 'sortInfo' could be declared final |
| 4285 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
138 |
Avoid unused local variables such as 'aString'. |
| 4286 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
138 |
Local variable 'aString' could be declared final |
| 4287 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
152 |
Local variable 'names' could be declared final |
| 4288 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
156 |
Avoid instantiating new objects inside loops |
| 4289 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
156 |
Local variable 'col' could be declared final |
| 4290 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
161 |
Use equals() to compare strings instead of '==' or '!=' |
| 4291 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
174 |
Method names should not start with capital letters |
| 4292 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
176 |
Found 'DD'-anomaly for variable 'result' (lines '176'-'179'). |
| 4293 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
184 |
Method names should not start with capital letters |
| 4294 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
189 |
Method names should not start with capital letters |
| 4295 |
src/org/jeecgframework/tag/vo/datatable/DataTables.java |
191 |
Found 'DD'-anomaly for variable 'result' (lines '191'-'194'). |
| 4296 |
src/org/jeecgframework/tag/vo/datatable/FilterInfo.java |
31 |
Parameter 'name' is not assigned and could be declared final |
| 4297 |
src/org/jeecgframework/tag/vo/datatable/FilterInfo.java |
46 |
Parameter 'search' is not assigned and could be declared final |
| 4298 |
src/org/jeecgframework/tag/vo/datatable/SortInfo.java |
30 |
Parameter 'columnId' is not assigned and could be declared final |
| 4299 |
src/org/jeecgframework/tag/vo/datatable/SortInfo.java |
45 |
Parameter 'sortOrder' is not assigned and could be declared final |
| 4300 |
src/org/jeecgframework/tag/vo/easyui/Autocomplete.java |
18 |
Parameter 'searchField' is not assigned and could be declared final |
| 4301 |
src/org/jeecgframework/tag/vo/easyui/Autocomplete.java |
24 |
Parameter 'entityName' is not assigned and could be declared final |
| 4302 |
src/org/jeecgframework/tag/vo/easyui/Autocomplete.java |
30 |
Parameter 'trem' is not assigned and could be declared final |
| 4303 |
src/org/jeecgframework/tag/vo/easyui/Autocomplete.java |
36 |
Parameter 'labelField' is not assigned and could be declared final |
| 4304 |
src/org/jeecgframework/tag/vo/easyui/Autocomplete.java |
42 |
Parameter 'valueField' is not assigned and could be declared final |
| 4305 |
src/org/jeecgframework/tag/vo/easyui/Carousel.java |
16 |
Parameter 'path' is not assigned and could be declared final |
| 4306 |
src/org/jeecgframework/tag/vo/easyui/Carousel.java |
22 |
Parameter 'message' is not assigned and could be declared final |
| 4307 |
src/org/jeecgframework/tag/vo/easyui/Carousel.java |
28 |
Parameter 'active' is not assigned and could be declared final |
| 4308 |
src/org/jeecgframework/tag/vo/easyui/ColumnValue.java |
16 |
Parameter 'name' is not assigned and could be declared final |
| 4309 |
src/org/jeecgframework/tag/vo/easyui/ColumnValue.java |
24 |
Parameter 'text' is not assigned and could be declared final |
| 4310 |
src/org/jeecgframework/tag/vo/easyui/ColumnValue.java |
32 |
Parameter 'value' is not assigned and could be declared final |
| 4311 |
src/org/jeecgframework/tag/vo/easyui/ComboTreeModel.java |
11 |
Classes implementing Serializable should set a serialVersionUID |
| 4312 |
src/org/jeecgframework/tag/vo/easyui/ComboTreeModel.java |
18 |
Parameter 'childField' is not assigned and could be declared final |
| 4313 |
src/org/jeecgframework/tag/vo/easyui/ComboTreeModel.java |
18 |
Parameter 'idField' is not assigned and could be declared final |
| 4314 |
src/org/jeecgframework/tag/vo/easyui/ComboTreeModel.java |
18 |
Parameter 'textField' is not assigned and could be declared final |
| 4315 |
src/org/jeecgframework/tag/vo/easyui/ComboTreeModel.java |
23 |
Parameter 'childField' is not assigned and could be declared final |
| 4316 |
src/org/jeecgframework/tag/vo/easyui/ComboTreeModel.java |
23 |
Parameter 'idField' is not assigned and could be declared final |
| 4317 |
src/org/jeecgframework/tag/vo/easyui/DataGridColumn.java |
1 |
This class has a bunch of public methods and attributes |
| 4318 |
src/org/jeecgframework/tag/vo/easyui/DataGridColumn.java |
10 |
Too many fields |
| 4319 |
src/org/jeecgframework/tag/vo/easyui/DataGridColumn.java |
43 |
Parameter 'downloadName' is not assigned and could be declared final |
| 4320 |
src/org/jeecgframework/tag/vo/easyui/DataGridColumn.java |
51 |
Parameter 'imageSize' is not assigned and could be declared final |
| 4321 |
src/org/jeecgframework/tag/vo/easyui/DataGridColumn.java |
63 |
Parameter 'arg' is not assigned and could be declared final |
| 4322 |
src/org/jeecgframework/tag/vo/easyui/DataGridColumn.java |
67 |
Parameter 'query' is not assigned and could be declared final |
| 4323 |
src/org/jeecgframework/tag/vo/easyui/DataGridColumn.java |
75 |
Parameter 'image' is not assigned and could be declared final |
| 4324 |
src/org/jeecgframework/tag/vo/easyui/DataGridUrl.java |
20 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4325 |
src/org/jeecgframework/tag/vo/easyui/DataGridUrl.java |
20 |
It is somewhat confusing to have a field name with the same name as a method |
| 4326 |
src/org/jeecgframework/tag/vo/easyui/DataGridUrl.java |
26 |
Parameter 'onclick' is not assigned and could be declared final |
| 4327 |
src/org/jeecgframework/tag/vo/easyui/DataGridUrl.java |
30 |
Parameter 'isRadio' is not assigned and could be declared final |
| 4328 |
src/org/jeecgframework/tag/vo/easyui/DataGridUrl.java |
37 |
Parameter 'funname' is not assigned and could be declared final |
| 4329 |
src/org/jeecgframework/tag/vo/easyui/DataGridUrl.java |
48 |
Parameter 'exp' is not assigned and could be declared final |
| 4330 |
src/org/jeecgframework/tag/vo/easyui/DataGridUrl.java |
52 |
Parameter 'message' is not assigned and could be declared final |
| 4331 |
src/org/jeecgframework/tag/vo/easyui/DropDownMenu.java |
19 |
Parameter 'name' is not assigned and could be declared final |
| 4332 |
src/org/jeecgframework/tag/vo/easyui/DropDownMenu.java |
25 |
Parameter 'classLi' is not assigned and could be declared final |
| 4333 |
src/org/jeecgframework/tag/vo/easyui/DropDownMenu.java |
31 |
Parameter 'href' is not assigned and could be declared final |
| 4334 |
src/org/jeecgframework/tag/vo/easyui/DropDownMenu.java |
37 |
Parameter 'icon' is not assigned and could be declared final |
| 4335 |
src/org/jeecgframework/tag/vo/easyui/DropDownMenu.java |
43 |
Parameter 'color' is not assigned and could be declared final |
| 4336 |
src/org/jeecgframework/tag/vo/easyui/SortColumn.java |
34 |
Parameter 'value' is not assigned and could be declared final |
| 4337 |
src/org/jeecgframework/tag/vo/easyui/SortColumn.java |
42 |
Parameter 'index' is not assigned and could be declared final |
| 4338 |
src/org/jeecgframework/tag/vo/easyui/SortColumn.java |
50 |
Parameter 'order' is not assigned and could be declared final |
| 4339 |
src/org/jeecgframework/tag/vo/easyui/SortColumn.java |
58 |
Parameter 'type' is not assigned and could be declared final |
| 4340 |
src/org/jeecgframework/tag/vo/easyui/SortColumn.java |
66 |
Parameter 'name' is not assigned and could be declared final |
| 4341 |
src/org/jeecgframework/tag/vo/easyui/Tab.java |
12 |
Avoid variables with short names like id |
| 4342 |
src/org/jeecgframework/tag/vo/easyui/Tab.java |
31 |
Parameter 'closable' is not assigned and could be declared final |
| 4343 |
src/org/jeecgframework/tag/vo/easyui/Tab.java |
39 |
Parameter 'href' is not assigned and could be declared final |
| 4344 |
src/org/jeecgframework/tag/vo/easyui/Tab.java |
47 |
Parameter 'title' is not assigned and could be declared final |
| 4345 |
src/org/jeecgframework/tag/vo/easyui/Tab.java |
55 |
Parameter 'icon' is not assigned and could be declared final |
| 4346 |
src/org/jeecgframework/tag/vo/easyui/Tab.java |
63 |
Parameter 'width' is not assigned and could be declared final |
| 4347 |
src/org/jeecgframework/tag/vo/easyui/Tab.java |
95 |
Avoid variables with short names like id |
| 4348 |
src/org/jeecgframework/tag/vo/easyui/TabMenu.java |
19 |
Parameter 'tab' is not assigned and could be declared final |
| 4349 |
src/org/jeecgframework/tag/vo/easyui/TabMenu.java |
25 |
Parameter 'classLi' is not assigned and could be declared final |
| 4350 |
src/org/jeecgframework/tag/vo/easyui/TabMenu.java |
31 |
Parameter 'url' is not assigned and could be declared final |
| 4351 |
src/org/jeecgframework/tag/vo/easyui/TabMenu.java |
37 |
Parameter 'title' is not assigned and could be declared final |
| 4352 |
src/org/jeecgframework/tag/vo/easyui/TabMenu.java |
43 |
Parameter 'icon' is not assigned and could be declared final |
| 4353 |
src/org/jeecgframework/tag/vo/easyui/TreeGridModel.java |
11 |
Classes implementing Serializable should set a serialVersionUID |
| 4354 |
src/org/jeecgframework/tag/vo/easyui/TreeGridModel.java |
26 |
Parameter 'order' is not assigned and could be declared final |
| 4355 |
src/org/jeecgframework/tag/vo/easyui/TreeGridModel.java |
32 |
Parameter 'icon' is not assigned and could be declared final |
| 4356 |
src/org/jeecgframework/tag/vo/easyui/TreeGridModel.java |
38 |
Parameter 'roleid' is not assigned and could be declared final |
| 4357 |
src/org/jeecgframework/tag/vo/easyui/TreeGridModel.java |
44 |
Parameter 'parentText' is not assigned and could be declared final |
| 4358 |
src/org/jeecgframework/tag/vo/easyui/TreeGridModel.java |
50 |
Parameter 'code' is not assigned and could be declared final |
| 4359 |
src/org/jeecgframework/tag/vo/easyui/TreeSelect.java |
41 |
Parameter 'body' is not assigned and could be declared final |
| 4360 |
src/org/jeecgframework/tag/vo/easyui/TreeSelect.java |
41 |
Parameter 'writer' is not assigned and could be declared final |
| 4361 |
src/org/jeecgframework/tag/vo/easyui/TreeSelect.java |
42 |
Avoid variables with short names like sb |
| 4362 |
src/org/jeecgframework/tag/vo/easyui/TreeSelect.java |
42 |
Local variable 'sb' could be declared final |
| 4363 |
src/org/jeecgframework/web/cgform/common/CgAutoListConstant.java |
11 |
Each class should declare at least one constructor |
| 4364 |
src/org/jeecgframework/web/cgform/common/CgAutoListConstant.java |
19 |
Avoid excessively long variable names like CONFIG_ISPAGINATION |
| 4365 |
src/org/jeecgframework/web/cgform/common/CgAutoListConstant.java |
100 |
Variables that are final and static should be in all caps. |
| 4366 |
src/org/jeecgframework/web/cgform/common/CgAutoListConstant.java |
110 |
Avoid excessively long variable names like JFORM_TYPE_SINGLE_TABLE |
| 4367 |
src/org/jeecgframework/web/cgform/common/CgAutoListConstant.java |
111 |
Avoid excessively long variable names like JFORM_TYPE_MAIN_TALBE |
| 4368 |
src/org/jeecgframework/web/cgform/common/CgAutoListConstant.java |
112 |
Avoid excessively long variable names like JFORM_TYPE_SUB_TABLE |
| 4369 |
src/org/jeecgframework/web/cgform/common/CgAutoListConstant.java |
130 |
Avoid excessively long variable names like CREATOR_DEPARTMENTID |
| 4370 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
16 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 4371 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
16 |
The class 'CommUtils' has a Cyclomatic Complexity of 6 (Highest = 14). |
| 4372 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
26 |
Parameter 'filterName' is not assigned and could be declared final |
| 4373 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
26 |
Parameter 'map' is not assigned and could be declared final |
| 4374 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
30 |
Avoid using if statements without curly braces |
| 4375 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
36 |
Parameter 'map' is not assigned and could be declared final |
| 4376 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
37 |
Local variable 'dataMap' could be declared final |
| 4377 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
39 |
Avoid variables with short names like it |
| 4378 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
39 |
Local variable 'it' could be declared final |
| 4379 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
41 |
Local variable 'entry' could be declared final |
| 4380 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
42 |
Avoid variables with short names like ok |
| 4381 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
42 |
Local variable 'ok' could be declared final |
| 4382 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
43 |
Avoid variables with short names like ov |
| 4383 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
43 |
Local variable 'ov' could be declared final |
| 4384 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
46 |
Avoid instantiating new objects inside loops |
| 4385 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
46 |
Found 'DD'-anomaly for variable 'value' (lines '46'-'48'). |
| 4386 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
46 |
Found 'DD'-anomaly for variable 'value' (lines '46'-'50'). |
| 4387 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
52 |
Prefer StringBuffer over += for concatenating strings |
| 4388 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
54 |
Prefer StringBuffer over += for concatenating strings |
| 4389 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
63 |
Parameter 'map' is not assigned and could be declared final |
| 4390 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
63 |
Parameter 'tableName' is not assigned and could be declared final |
| 4391 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
63 |
The method 'mapConvertMore' has a Cyclomatic Complexity of 14. |
| 4392 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
63 |
The method mapConvertMore() has an NPath complexity of 612 |
| 4393 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
66 |
Found 'DD'-anomaly for variable 'mapField' (lines '66'-'86'). |
| 4394 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
68 |
Avoid variables with short names like it |
| 4395 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
71 |
Avoid variables with short names like ok |
| 4396 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
75 |
Avoid instantiating new objects inside loops |
| 4397 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
75 |
Found 'DD'-anomaly for variable 'value' (lines '75'-'77'). |
| 4398 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
75 |
Found 'DD'-anomaly for variable 'value' (lines '75'-'79'). |
| 4399 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
81 |
Prefer StringBuffer over += for concatenating strings |
| 4400 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
83 |
Prefer StringBuffer over += for concatenating strings |
| 4401 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
86 |
Avoid instantiating new objects inside loops |
| 4402 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
86 |
Found 'DD'-anomaly for variable 'mapField' (lines '86'-'89'). |
| 4403 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
86 |
Found 'DD'-anomaly for variable 'mapField' (lines '86'-'95'). |
| 4404 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
86 |
Found 'DU'-anomaly for variable 'mapField' (lines '86'-'122'). |
| 4405 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
102 |
Found 'DD'-anomaly for variable 'listField' (lines '102'-'109'). |
| 4406 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
102 |
Found 'DU'-anomaly for variable 'listField' (lines '102'-'122'). |
| 4407 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
103 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 4408 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
109 |
Avoid instantiating new objects inside loops |
| 4409 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
109 |
Found 'DD'-anomaly for variable 'listField' (lines '109'-'114'). |
| 4410 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
110 |
String.indexOf(char) is faster than String.indexOf(String). |
| 4411 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
111 |
String.indexOf(char) is faster than String.indexOf(String). |
| 4412 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
128 |
Avoid if (x != y) ..; else ..; |
| 4413 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
141 |
Do not add empty strings |
| 4414 |
src/org/jeecgframework/web/cgform/common/CommUtils.java |
142 |
String.indexOf(char) is faster than String.indexOf(String). |
| 4415 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
11 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 4416 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
11 |
The class 'FormHtmlUtil' has a Cyclomatic Complexity of 6 (Highest = 11). |
| 4417 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
17 |
Parameter 'cgFormFieldEntity' is not assigned and could be declared final |
| 4418 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
17 |
The method 'getFormHTML' has a Cyclomatic Complexity of 11. |
| 4419 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
18 |
Found 'DD'-anomaly for variable 'html' (lines '18'-'20'). |
| 4420 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
18 |
Found 'DD'-anomaly for variable 'html' (lines '18'-'22'). |
| 4421 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
18 |
Found 'DD'-anomaly for variable 'html' (lines '18'-'24'). |
| 4422 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
18 |
Found 'DD'-anomaly for variable 'html' (lines '18'-'26'). |
| 4423 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
18 |
Found 'DD'-anomaly for variable 'html' (lines '18'-'28'). |
| 4424 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
18 |
Found 'DD'-anomaly for variable 'html' (lines '18'-'30'). |
| 4425 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
18 |
Found 'DD'-anomaly for variable 'html' (lines '18'-'32'). |
| 4426 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
18 |
Found 'DD'-anomaly for variable 'html' (lines '18'-'34'). |
| 4427 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
18 |
Found 'DD'-anomaly for variable 'html' (lines '18'-'36'). |
| 4428 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
18 |
Found 'DD'-anomaly for variable 'html' (lines '18'-'38'). |
| 4429 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
18 |
Found 'DD'-anomaly for variable 'html' (lines '18'-'41'). |
| 4430 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
51 |
Parameter 'cgFormFieldEntity' is not assigned and could be declared final |
| 4431 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
52 |
Local variable 'html' could be declared final |
| 4432 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
54 |
The String literal "\" " appears 22 times in this file; the first occurrence is on line 54 |
| 4433 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
54 |
The String literal "id=\"" appears 7 times in this file; the first occurrence is on line 54 |
| 4434 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
55 |
The String literal "name=\"" appears 7 times in this file; the first occurrence is on line 55 |
| 4435 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
57 |
The String literal "ignore=\"ignore\" " appears 6 times in this file; the first occurrence is on line 57 |
| 4436 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
60 |
The String literal "datatype=\"" appears 6 times in this file; the first occurrence is on line 60 |
| 4437 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
72 |
Parameter 'cgFormFieldEntity' is not assigned and could be declared final |
| 4438 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
74 |
Local variable 'html' could be declared final |
| 4439 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
103 |
Parameter 'cgFormFieldEntity' is not assigned and could be declared final |
| 4440 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
105 |
Local variable 'html' could be declared final |
| 4441 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
129 |
Parameter 'cgFormFieldEntity' is not assigned and could be declared final |
| 4442 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
133 |
A method should have only one exit point, and that should be the last statement in the method |
| 4443 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
135 |
Local variable 'html' could be declared final |
| 4444 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
161 |
A method should have only one exit point, and that should be the last statement in the method |
| 4445 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
163 |
Local variable 'html' could be declared final |
| 4446 |
src/org/jeecgframework/web/cgform/common/FormHtmlUtil.java |
193 |
A method should have only one exit point, and that should be the last statement in the method |
| 4447 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
31 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4448 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
31 |
The field name indicates a constant but its modifiers do not |
| 4449 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
31 |
Use explicit scoping instead of the default package private level |
| 4450 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
31 |
Variables should start with a lowercase character |
| 4451 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
31 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 4452 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
32 |
The field name indicates a constant but its modifiers do not |
| 4453 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
32 |
Use explicit scoping instead of the default package private level |
| 4454 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
32 |
Variables should start with a lowercase character |
| 4455 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
32 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 4456 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
33 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4457 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
33 |
The field name indicates a constant but its modifiers do not |
| 4458 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
33 |
Use explicit scoping instead of the default package private level |
| 4459 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
33 |
Variables should start with a lowercase character |
| 4460 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
47 |
Avoid unused private fields such as 'regEx_attr7'. |
| 4461 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
52 |
Avoid unused private fields such as 'regEx_attr6'. |
| 4462 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
65 |
Parameter 'docfile' is not assigned and could be declared final |
| 4463 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
65 |
Parameter 'htmlfile' is not assigned and could be declared final |
| 4464 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
66 |
Local variable 'app' could be declared final |
| 4465 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
69 |
Local variable 'docs' could be declared final |
| 4466 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
70 |
Local variable 'doc' could be declared final |
| 4467 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
72 |
Avoid variables with short names like f |
| 4468 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
72 |
Local variable 'f' could be declared final |
| 4469 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
75 |
Avoid printStackTrace(); use a logger call instead. |
| 4470 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
92 |
Method names should not start with capital letters |
| 4471 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
92 |
Parameter 'docfile' is not assigned and could be declared final |
| 4472 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
92 |
Parameter 'htmlfile' is not assigned and could be declared final |
| 4473 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
94 |
Local variable 'input' could be declared final |
| 4474 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
96 |
Avoid excessively long variable names like wordToHtmlConverter |
| 4475 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
103 |
Avoid variables with short names like tf |
| 4476 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
114 |
Avoid printStackTrace(); use a logger call instead. |
| 4477 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
126 |
Parameter 'htmlfile' is not assigned and could be declared final |
| 4478 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
133 |
Avoid variables with short names like f |
| 4479 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
137 |
Avoid printStackTrace(); use a logger call instead. |
| 4480 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
150 |
Found 'DD'-anomaly for variable 'sbFile' (lines '150'-'158'). |
| 4481 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
154 |
Avoid variables with short names like in |
| 4482 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
154 |
Found 'DD'-anomaly for variable 'in' (lines '154'-'159'). |
| 4483 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
160 |
Avoid assignments in operands |
| 4484 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
160 |
Found 'DU'-anomaly for variable 'len' (lines '160'-'169'). |
| 4485 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
161 |
Avoid instantiating new objects inside loops |
| 4486 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
161 |
Avoid variables with short names like s |
| 4487 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
183 |
Found 'DD'-anomaly for variable 'out' (lines '183'-'184'). |
| 4488 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
205 |
Found 'DD'-anomaly for variable 'ls_returnStr' (lines '205'-'210'). |
| 4489 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
226 |
Avoid really long methods. |
| 4490 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
226 |
Avoid reassigning parameters such as 'htmlStr' |
| 4491 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
226 |
Avoid reassigning parameters such as 'htmlStr' |
| 4492 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
226 |
Avoid reassigning parameters such as 'htmlStr' |
| 4493 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
226 |
Avoid reassigning parameters such as 'htmlStr' |
| 4494 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
226 |
Avoid reassigning parameters such as 'htmlStr' |
| 4495 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
354 |
Avoid really long methods. |
| 4496 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
477 |
Found 'DD'-anomaly for variable 'htmlStr' (lines '477'-'478'). |
| 4497 |
src/org/jeecgframework/web/cgform/common/OfficeHtmlUtil.java |
480 |
Avoid empty catch blocks |
| 4498 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
19 |
The class 'SysVar' has a Cyclomatic Complexity of 5(Highest = 11). |
| 4499 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
33 |
The method 'getSysValue' has a Cyclomatic Complexity of 11. |
| 4500 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
34 |
Found 'DD'-anomaly for variable 'sysValue' (lines '34'-'44'). |
| 4501 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
34 |
Found 'DD'-anomaly for variable 'sysValue' (lines '34'-'47'). |
| 4502 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
34 |
Found 'DD'-anomaly for variable 'sysValue' (lines '34'-'50'). |
| 4503 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
34 |
Found 'DD'-anomaly for variable 'sysValue' (lines '34'-'53'). |
| 4504 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
34 |
Found 'DD'-anomaly for variable 'sysValue' (lines '34'-'56'). |
| 4505 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
34 |
Found 'DD'-anomaly for variable 'sysValue' (lines '34'-'59'). |
| 4506 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
34 |
Found 'DD'-anomaly for variable 'sysValue' (lines '34'-'62'). |
| 4507 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
34 |
Found 'DD'-anomaly for variable 'sysValue' (lines '34'-'65'). |
| 4508 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
34 |
Found 'DD'-anomaly for variable 'sysValue' (lines '34'-'68'). |
| 4509 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
35 |
Found 'DD'-anomaly for variable 'currentUser' (lines '35'-'37'). |
| 4510 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
37 |
Found 'DD'-anomaly for variable 'currentUser' (lines '37'-'39'). |
| 4511 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
39 |
Found 'DU'-anomaly for variable 'currentUser' (lines '39'-'75'). |
| 4512 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
40 |
Avoid printStackTrace(); use a logger call instead. |
| 4513 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
62 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 4514 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
65 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 4515 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
81 |
Avoid reassigning parameters such as 'sysVarName' |
| 4516 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
81 |
Avoid reassigning parameters such as 'sysVarName' |
| 4517 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
81 |
Avoid reassigning parameters such as 'sysVarName' |
| 4518 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
85 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 4519 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
92 |
Parameter 'sysVarName' is not assigned and could be declared final |
| 4520 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
94 |
A method should have only one exit point, and that should be the last statement in the method |
| 4521 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
96 |
Avoid unnecessary if..then..else statements when returning a boolean |
| 4522 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
97 |
A method should have only one exit point, and that should be the last statement in the method |
| 4523 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
107 |
Parameter 'sysVarName' is not assigned and could be declared final |
| 4524 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
108 |
Avoid if (x != y) ..; else ..; |
| 4525 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
109 |
A method should have only one exit point, and that should be the last statement in the method |
| 4526 |
src/org/jeecgframework/web/cgform/common/SysVar.java |
111 |
Local variable 'sysvar' could be declared final |
| 4527 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 4528 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
46 |
The class 'CgAutoListController' has a Cyclomatic Complexity of 5 (Highest = 13). |
| 4529 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
46 |
This class has too many methods, consider refactoring it. |
| 4530 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
48 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4531 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
50 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4532 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
52 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4533 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
54 |
Avoid excessively long variable names like cgFormFieldService |
| 4534 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
54 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4535 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
55 |
The Logger variable declaration does not contain the static and final modifiers |
| 4536 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
63 |
Avoid variables with short names like id |
| 4537 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
63 |
Parameter 'id' is not assigned and could be declared final |
| 4538 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
63 |
Parameter 'request' is not assigned and could be declared final |
| 4539 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
64 |
Parameter 'response' is not assigned and could be declared final |
| 4540 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
65 |
Local variable 'start' could be declared final |
| 4541 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
67 |
Local variable 'jversion' could be declared final |
| 4542 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
68 |
Local variable 'configs' could be declared final |
| 4543 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
70 |
Local variable 'viewEngine' could be declared final |
| 4544 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
71 |
Local variable 'paras' could be declared final |
| 4545 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
83 |
Avoid printStackTrace(); use a logger call instead. |
| 4546 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
98 |
The String literal "unchecked" appears 6 times in this file; the first occurrence is on line 98 |
| 4547 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
100 |
Parameter 'configId' is not assigned and could be declared final |
| 4548 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
100 |
Parameter 'field' is not assigned and could be declared final |
| 4549 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
100 |
The method 'datagrid' has a Cyclomatic Complexity of 13. |
| 4550 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
100 |
The method datagrid() has an NPath complexity of 1300 |
| 4551 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
115 |
Avoid variables with short names like p |
| 4552 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
116 |
Avoid variables with short names like r |
| 4553 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
118 |
Avoid calling toString() on String objects; this is unnecessary. |
| 4554 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
124 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 4555 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
126 |
Avoid instantiating new objects inside loops |
| 4556 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
126 |
Avoid variables with short names like sb |
| 4557 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
126 |
Found 'DU'-anomaly for variable 'sb' (lines '126'-'160'). |
| 4558 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
133 |
Deeply nested if..then statements are hard to read |
| 4559 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
135 |
Avoid appending characters as strings in StringBuffer.append. |
| 4560 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
156 |
Avoid printStackTrace(); use a logger call instead. |
| 4561 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
172 |
Found 'DD'-anomaly for variable 'dicText' (lines '172'-'172'). |
| 4562 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
172 |
Found 'DU'-anomaly for variable 'dicText' (lines '172'-'197'). |
| 4563 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
178 |
Found 'DD'-anomaly for variable 'dicDataList' (lines '178'-'178'). |
| 4564 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
178 |
Found 'DU'-anomaly for variable 'dicDataList' (lines '178'-'197'). |
| 4565 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
180 |
Found 'DD'-anomaly for variable 'value' (lines '180'-'180'). |
| 4566 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
180 |
Found 'DU'-anomaly for variable 'value' (lines '180'-'197'). |
| 4567 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
208 |
Avoid variables with short names like id |
| 4568 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
234 |
Found 'DD'-anomaly for variable 'message' (lines '234'-'239'). |
| 4569 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
262 |
Avoid instantiating new objects inside loops |
| 4570 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
282 |
Avoid instantiating new objects inside loops |
| 4571 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
316 |
Avoid if (x != y) ..; else ..; |
| 4572 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
331 |
Avoid empty if statements |
| 4573 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
340 |
The method loadAuth() has an NPath complexity of 225 |
| 4574 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
341 |
Found 'DD'-anomaly for variable 'nolist' (lines '341'-'343'). |
| 4575 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
343 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 4576 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
348 |
Prefer StringBuffer over += for concatenating strings |
| 4577 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
349 |
Prefer StringBuffer over += for concatenating strings |
| 4578 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
366 |
Found 'DD'-anomaly for variable 'paramV' (lines '366'-'369'). |
| 4579 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
367 |
Found 'DD'-anomaly for variable 'paramVbegin' (lines '367'-'370'). |
| 4580 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
368 |
Found 'DD'-anomaly for variable 'paramVend' (lines '368'-'371'). |
| 4581 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
392 |
Found 'DU'-anomaly for variable 'paramV' (lines '392'-'418'). |
| 4582 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
393 |
Found 'DU'-anomaly for variable 'paramVbegin' (lines '393'-'418'). |
| 4583 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
394 |
Found 'DU'-anomaly for variable 'paramVend' (lines '394'-'418'). |
| 4584 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
396 |
A method should have only one exit point, and that should be the last statement in the method |
| 4585 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
436 |
Found 'DD'-anomaly for variable 'paramVbegin' (lines '436'-'438'). |
| 4586 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
437 |
Found 'DD'-anomaly for variable 'paramVend' (lines '437'-'439'). |
| 4587 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
454 |
Found 'DU'-anomaly for variable 'dicText' (lines '454'-'466'). |
| 4588 |
src/org/jeecgframework/web/cgform/controller/autolist/CgAutoListController.java |
460 |
Avoid if (x != y) ..; else ..; |
| 4589 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 4590 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
28 |
Avoid unused imports such as 'org.jeecgframework.core.util.DBTypeUtil' |
| 4591 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
28 |
Avoid unused imports such as 'org.jeecgframework.core.util.DBTypeUtil' |
| 4592 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
29 |
Avoid unused imports such as 'org.jeecgframework.core.util.StringUtil' |
| 4593 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
29 |
Avoid unused imports such as 'org.jeecgframework.core.util.StringUtil' |
| 4594 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
30 |
Avoid unused imports such as 'org.jeecgframework.core.util.UUIDGenerator' |
| 4595 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
30 |
Avoid unused imports such as 'org.jeecgframework.core.util.UUIDGenerator' |
| 4596 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
49 |
Variables that are final and static should be in all caps. |
| 4597 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
53 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4598 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
55 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4599 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
58 |
Avoid excessively long variable names like cgFormFieldService |
| 4600 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
58 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4601 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
64 |
Parameter 'message' is not assigned and could be declared final |
| 4602 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
71 |
The String literal "unchecked" appears 4 times in this file; the first occurrence is on line 71 |
| 4603 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
73 |
Parameter 'request' is not assigned and could be declared final |
| 4604 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
73 |
Parameter 'response' is not assigned and could be declared final |
| 4605 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
75 |
Local variable 'start' could be declared final |
| 4606 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
76 |
Local variable 'tableName' could be declared final |
| 4607 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
76 |
The String literal "tableName" appears 6 times in this file; the first occurrence is on line 76 |
| 4608 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
77 |
Local variable 'template' could be declared final |
| 4609 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
78 |
Local variable 'stringWriter' could be declared final |
| 4610 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
79 |
Local variable 'writer' could be declared final |
| 4611 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
80 |
Found 'DD'-anomaly for variable 'data' (lines '80'-'86'). |
| 4612 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
81 |
Avoid variables with short names like id |
| 4613 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
88 |
Found 'DU'-anomaly for variable 'head' (lines '88'-'134'). |
| 4614 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
89 |
Found 'DD'-anomaly for variable 'dataForm' (lines '89'-'91'). |
| 4615 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
93 |
Avoid variables with short names like it |
| 4616 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
96 |
Avoid variables with short names like ok |
| 4617 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
97 |
Avoid variables with short names like ov |
| 4618 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
105 |
These nested if statements could be combined |
| 4619 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
107 |
Deeply nested if..then statements are hard to read |
| 4620 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
109 |
Found 'DD'-anomaly for variable 'subTableData' (lines '109'-'111'). |
| 4621 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
109 |
Found 'DU'-anomaly for variable 'subTableData' (lines '109'-'134'). |
| 4622 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
129 |
Avoid printStackTrace(); use a logger call instead. |
| 4623 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
131 |
Avoid printStackTrace(); use a logger call instead. |
| 4624 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
141 |
Avoid variables with short names like id |
| 4625 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
141 |
Parameter 'data' is not assigned and could be declared final |
| 4626 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
141 |
Parameter 'id' is not assigned and could be declared final |
| 4627 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
149 |
Avoid instantiating new objects inside loops |
| 4628 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
170 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4629 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
170 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4630 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
191 |
Found 'DD'-anomaly for variable 'pkValue' (lines '191'-'192'). |
| 4631 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
203 |
Avoid printStackTrace(); use a logger call instead. |
| 4632 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
223 |
Avoid printStackTrace(); use a logger call instead. |
| 4633 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
247 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4634 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
247 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4635 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
271 |
Avoid printStackTrace(); use a logger call instead. |
| 4636 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
304 |
Found 'DU'-anomaly for variable 'formId' (lines '304'-'329'). |
| 4637 |
src/org/jeecgframework/web/cgform/controller/build/CgFormBuildController.java |
305 |
Found 'DU'-anomaly for variable 'buttonCode' (lines '305'-'329'). |
| 4638 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 4639 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
10 |
Avoid unused imports such as 'java.sql.SQLException' |
| 4640 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
10 |
Avoid unused imports such as 'java.sql.SQLException' |
| 4641 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
38 |
Avoid unused imports such as 'org.springframework.jdbc.core.namedparam.MapSqlParameterSource' |
| 4642 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
38 |
Avoid unused imports such as 'org.springframework.jdbc.core.namedparam.MapSqlParameterSource' |
| 4643 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
63 |
The class 'CgformSqlController' has a Cyclomatic Complexity of 5 (Highest = 12). |
| 4644 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
68 |
Variables that are final and static should be in all caps. |
| 4645 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
71 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4646 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
75 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4647 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
78 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4648 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
86 |
Parameter 'message' is not assigned and could be declared final |
| 4649 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
97 |
Parameter 'request' is not assigned and could be declared final |
| 4650 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
97 |
Parameter 'response' is not assigned and could be declared final |
| 4651 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
98 |
Local variable 'ids' could be declared final |
| 4652 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
103 |
Local variable 'dbTables' could be declared final |
| 4653 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
106 |
Found 'DD'-anomaly for variable 'ls_id' (lines '106'-'108'). |
| 4654 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
106 |
Found 'DD'-anomaly for variable 'ls_id' (lines '106'-'111'). |
| 4655 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
107 |
String.indexOf(char) is faster than String.indexOf(String). |
| 4656 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
108 |
String.indexOf(char) is faster than String.indexOf(String). |
| 4657 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
113 |
Local variable 'cgFormHeadEntity' could be declared final |
| 4658 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
117 |
Local variable 'destFileDir' could be declared final |
| 4659 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
121 |
Local variable 'file' could be declared final |
| 4660 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
130 |
Do not add empty strings |
| 4661 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
135 |
Found 'DD'-anomaly for variable 'bytesRead' (lines '135'-'137'). |
| 4662 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
137 |
Avoid assignments in operands |
| 4663 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
137 |
Found 'DU'-anomaly for variable 'bytesRead' (lines '137'-'147'). |
| 4664 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
145 |
Avoid printStackTrace(); use a logger call instead. |
| 4665 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
157 |
Parameter 'req' is not assigned and could be declared final |
| 4666 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
170 |
Parameter 'request' is not assigned and could be declared final |
| 4667 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
170 |
The method 'doMigrateIn' has a Cyclomatic Complexity of 10. |
| 4668 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
172 |
Avoid variables with short names like j |
| 4669 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
185 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 4670 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
195 |
Found 'DD'-anomaly for variable 'fileName' (lines '195'-'198'). |
| 4671 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
195 |
Found 'DU'-anomaly for variable 'fileName' (lines '195'-'242'). |
| 4672 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
197 |
Avoid variables with short names like mf |
| 4673 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
200 |
Avoid instantiating new objects inside loops |
| 4674 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
207 |
String.indexOf(char) is faster than String.indexOf(String). |
| 4675 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
208 |
Avoid instantiating new objects inside loops |
| 4676 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
211 |
Prefer StringBuffer over += for concatenating strings |
| 4677 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
221 |
Avoid instantiating new objects inside loops |
| 4678 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
224 |
Avoid instantiating new objects inside loops |
| 4679 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
232 |
Avoid printStackTrace(); use a logger call instead. |
| 4680 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
237 |
Avoid using if...else statements without curly braces |
| 4681 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
239 |
Avoid using if...else statements without curly braces |
| 4682 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
244 |
The method 'mergeMigrateInComponent' has a Cyclomatic Complexity of 12. |
| 4683 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
248 |
Avoid using if statements without curly braces |
| 4684 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
249 |
Found 'DU'-anomaly for variable 'idMap' (lines '249'-'287'). |
| 4685 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
250 |
Avoid variables with short names like id |
| 4686 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
250 |
Found 'DD'-anomaly for variable 'id' (lines '250'-'267'). |
| 4687 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
251 |
Found 'DD'-anomaly for variable 'countSql' (lines '251'-'268'). |
| 4688 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
252 |
Avoid excessively long variable names like sqlParameterSource |
| 4689 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
253 |
Found 'DD'-anomaly for variable 'idList' (lines '253'-'273'). |
| 4690 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
255 |
Avoid instantiating new objects inside loops |
| 4691 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
267 |
Found 'DD'-anomaly for variable 'id' (lines '267'-'271'). |
| 4692 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
268 |
Found 'DD'-anomaly for variable 'countSql' (lines '268'-'270'). |
| 4693 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
275 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 4694 |
src/org/jeecgframework/web/cgform/controller/build/CgformSqlController.java |
280 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 4695 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
43 |
Variables that are final and static should be in all caps. |
| 4696 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
46 |
Avoid excessively long variable names like cgformButtonService |
| 4697 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
46 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4698 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
48 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4699 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
55 |
Parameter 'message' is not assigned and could be declared final |
| 4700 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
66 |
Parameter 'request' is not assigned and could be declared final |
| 4701 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
67 |
Local variable 'formId' could be declared final |
| 4702 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
68 |
Local variable 'tableName' could be declared final |
| 4703 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
85 |
Parameter 'cgformButton' is not assigned and could be declared final |
| 4704 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
85 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 4705 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
85 |
Parameter 'request' is not assigned and could be declared final |
| 4706 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
86 |
Avoid variables with short names like cq |
| 4707 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
86 |
Local variable 'cq' could be declared final |
| 4708 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
100 |
Avoid reassigning parameters such as 'cgformButton' |
| 4709 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
101 |
Avoid variables with short names like j |
| 4710 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
101 |
Local variable 'j' could be declared final |
| 4711 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
121 |
Avoid variables with short names like j |
| 4712 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
121 |
Local variable 'j' could be declared final |
| 4713 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
127 |
A method should have only one exit point, and that should be the last statement in the method |
| 4714 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
130 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 4715 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
133 |
A method should have only one exit point, and that should be the last statement in the method |
| 4716 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
137 |
Avoid variables with short names like t |
| 4717 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
143 |
Avoid printStackTrace(); use a logger call instead. |
| 4718 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonController.java |
160 |
Avoid reassigning parameters such as 'cgformButton' |
| 4719 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
46 |
Variables that are final and static should be in all caps. |
| 4720 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
49 |
Avoid excessively long variable names like cgformButtonSqlService |
| 4721 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
49 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4722 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
51 |
Avoid excessively long variable names like cgformButtonService |
| 4723 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
51 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4724 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
53 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4725 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
60 |
Parameter 'message' is not assigned and could be declared final |
| 4726 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
71 |
Parameter 'request' is not assigned and could be declared final |
| 4727 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
72 |
Local variable 'formId' could be declared final |
| 4728 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
73 |
Local variable 'tableName' could be declared final |
| 4729 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
90 |
Parameter 'cgformButtonSql' is not assigned and could be declared final |
| 4730 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
90 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 4731 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
90 |
Parameter 'request' is not assigned and could be declared final |
| 4732 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
91 |
Avoid variables with short names like cq |
| 4733 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
91 |
Local variable 'cq' could be declared final |
| 4734 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
105 |
Avoid reassigning parameters such as 'cgformButtonSql' |
| 4735 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
106 |
Avoid variables with short names like j |
| 4736 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
106 |
Local variable 'j' could be declared final |
| 4737 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
124 |
Avoid variables with short names like j |
| 4738 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
124 |
Local variable 'j' could be declared final |
| 4739 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
126 |
Avoid if (x != y) ..; else ..; |
| 4740 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
145 |
Avoid variables with short names like j |
| 4741 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
147 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 4742 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
150 |
A method should have only one exit point, and that should be the last statement in the method |
| 4743 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
154 |
Avoid variables with short names like t |
| 4744 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
160 |
Avoid printStackTrace(); use a logger call instead. |
| 4745 |
src/org/jeecgframework/web/cgform/controller/button/CgformButtonSqlController.java |
177 |
Avoid reassigning parameters such as 'cgformButtonSql' |
| 4746 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 4747 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
53 |
The class 'CgformFtlController' has a Cyclomatic Complexity of 3 (Highest = 12). |
| 4748 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
53 |
This class has too many methods, consider refactoring it. |
| 4749 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
57 |
Variables that are final and static should be in all caps. |
| 4750 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
61 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4751 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
63 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4752 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
65 |
Avoid excessively long variable names like cgFormFieldService |
| 4753 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
65 |
Avoid unused private fields such as 'cgFormFieldService'. |
| 4754 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
73 |
Parameter 'message' is not assigned and could be declared final |
| 4755 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
84 |
Avoid variables with short names like id |
| 4756 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
84 |
Parameter 'id' is not assigned and could be declared final |
| 4757 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
84 |
Parameter 'request' is not assigned and could be declared final |
| 4758 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
85 |
Avoid variables with short names like t |
| 4759 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
85 |
Local variable 't' could be declared final |
| 4760 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
103 |
Parameter 'request' is not assigned and could be declared final |
| 4761 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
104 |
Parameter 'cgformFtlEntity' is not assigned and could be declared final |
| 4762 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
105 |
Avoid variables with short names like j |
| 4763 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
105 |
Local variable 'j' could be declared final |
| 4764 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
107 |
Avoid variables with short names like t |
| 4765 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
107 |
Local variable 't' could be declared final |
| 4766 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
116 |
Avoid printStackTrace(); use a logger call instead. |
| 4767 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
131 |
Local variable 'formid' could be declared final |
| 4768 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
131 |
The String literal "formid" appears 4 times in this file; the first occurrence is on line 131 |
| 4769 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
149 |
Avoid variables with short names like cq |
| 4770 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
149 |
Local variable 'cq' could be declared final |
| 4771 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
164 |
Avoid reassigning parameters such as 'cgformFtl' |
| 4772 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
184 |
Avoid reassigning parameters such as 'cgformFtl' |
| 4773 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
190 |
Avoid if (x != y) ..; else ..; |
| 4774 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
219 |
Avoid reassigning parameters such as 'cgformFtl' |
| 4775 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
261 |
Avoid printStackTrace(); use a logger call instead. |
| 4776 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
279 |
Avoid reassigning parameters such as 'cgformFtl' |
| 4777 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
298 |
Avoid really long methods. |
| 4778 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
298 |
The method 'saveWordFiles' has a Cyclomatic Complexity of 12. |
| 4779 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
298 |
The method saveWordFiles() has an NPath complexity of 392 |
| 4780 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
299 |
Avoid reassigning parameters such as 'cgformFtl' |
| 4781 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
328 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 4782 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
349 |
Avoid if (x != y) ..; else ..; |
| 4783 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
350 |
Prefer StringBuffer over += for concatenating strings |
| 4784 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
351 |
Prefer StringBuffer over += for concatenating strings |
| 4785 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
357 |
Prefer StringBuffer over += for concatenating strings |
| 4786 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
358 |
Prefer StringBuffer over += for concatenating strings |
| 4787 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
365 |
Found 'DD'-anomaly for variable 'fileName' (lines '365'-'368'). |
| 4788 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
365 |
Found 'DU'-anomaly for variable 'fileName' (lines '365'-'430'). |
| 4789 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
369 |
Found 'DD'-anomaly for variable 'extend' (lines '369'-'369'). |
| 4790 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
369 |
Found 'DU'-anomaly for variable 'extend' (lines '369'-'430'). |
| 4791 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
370 |
Found 'DD'-anomaly for variable 'myfilename' (lines '370'-'378'). |
| 4792 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
370 |
Found 'DD'-anomaly for variable 'myfilename' (lines '370'-'380'). |
| 4793 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
371 |
Found 'DD'-anomaly for variable 'myhtmlfilename' (lines '371'-'388'). |
| 4794 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
372 |
Found 'DD'-anomaly for variable 'noextfilename' (lines '372'-'375'). |
| 4795 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
385 |
Avoid instantiating new objects inside loops |
| 4796 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
392 |
Avoid instantiating new objects inside loops |
| 4797 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
396 |
Found 'DD'-anomaly for variable 'htmlStr' (lines '396'-'397'). |
| 4798 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
406 |
Avoid instantiating new objects inside loops |
| 4799 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
424 |
Avoid using if...else statements without curly braces |
| 4800 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
426 |
Avoid using if...else statements without curly braces |
| 4801 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
446 |
StringBuffer constructor is initialized with size 16, but has at least 2801 characters appended. |
| 4802 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
447 |
StringBuffer.append is called 32 consecutive times with literal Strings. Use a single append with a single String. |
| 4803 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
496 |
Found 'DU'-anomaly for variable 'ftlVersion' (lines '496'-'555'). |
| 4804 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
498 |
Found 'DU'-anomaly for variable 'ftlWordUrl' (lines '498'-'555'). |
| 4805 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
500 |
Found 'DU'-anomaly for variable 'createBy' (lines '500'-'555'). |
| 4806 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
502 |
Found 'DU'-anomaly for variable 'createName' (lines '502'-'555'). |
| 4807 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
504 |
Found 'DU'-anomaly for variable 'createDate' (lines '504'-'555'). |
| 4808 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
506 |
Avoid using if statements without curly braces |
| 4809 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
514 |
Avoid using if statements without curly braces |
| 4810 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
516 |
Avoid using if statements without curly braces |
| 4811 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
518 |
Avoid using if statements without curly braces |
| 4812 |
src/org/jeecgframework/web/cgform/controller/cgformftl/CgformFtlController.java |
520 |
Avoid using if statements without curly braces |
| 4813 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 4814 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
7 |
Avoid unused imports such as 'javax.activation.FileDataSource' |
| 4815 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
7 |
Avoid unused imports such as 'javax.activation.FileDataSource' |
| 4816 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
11 |
Avoid unused imports such as 'org.jeecgframework.web.cgform.common.CgAutoListConstant' |
| 4817 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
11 |
Avoid unused imports such as 'org.jeecgframework.web.cgform.common.CgAutoListConstant' |
| 4818 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
20 |
Avoid unused imports such as 'org.jeecgframework.codegenerate.database.JeecgReadTable' |
| 4819 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
20 |
Avoid unused imports such as 'org.jeecgframework.codegenerate.database.JeecgReadTable' |
| 4820 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
49 |
The class 'CgFormHeadController' has a Cyclomatic Complexity of 2 (Highest = 10). |
| 4821 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
49 |
This class has too many methods, consider refactoring it. |
| 4822 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
53 |
Avoid unused private fields such as 'logger'. |
| 4823 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
53 |
Variables that are final and static should be in all caps. |
| 4824 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
56 |
Avoid excessively long variable names like cgFormFieldService |
| 4825 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
56 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4826 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
58 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4827 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
65 |
Parameter 'message' is not assigned and could be declared final |
| 4828 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
75 |
Parameter 'request' is not assigned and could be declared final |
| 4829 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
79 |
Parameter 'request' is not assigned and could be declared final |
| 4830 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
84 |
Parameter 'modelMap' is not assigned and could be declared final |
| 4831 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
85 |
Parameter 'url' is not assigned and could be declared final |
| 4832 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
104 |
Avoid variables with short names like cq |
| 4833 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
104 |
Local variable 'cq' could be declared final |
| 4834 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
120 |
Avoid reassigning parameters such as 'cgFormHead' |
| 4835 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
122 |
Avoid variables with short names like j |
| 4836 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
122 |
Local variable 'j' could be declared final |
| 4837 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
142 |
Avoid reassigning parameters such as 'cgFormHead' |
| 4838 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
144 |
Avoid variables with short names like j |
| 4839 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
144 |
Local variable 'j' could be declared final |
| 4840 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
164 |
Avoid reassigning parameters such as 'cgFormField' |
| 4841 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
166 |
Avoid variables with short names like j |
| 4842 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
166 |
Local variable 'j' could be declared final |
| 4843 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
187 |
Avoid reassigning parameters such as 'cgFormHead' |
| 4844 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
189 |
Avoid variables with short names like j |
| 4845 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
189 |
Local variable 'j' could be declared final |
| 4846 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
203 |
A method should have only one exit point, and that should be the last statement in the method |
| 4847 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
207 |
A method should have only one exit point, and that should be the last statement in the method |
| 4848 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
222 |
The method 'save' has a Cyclomatic Complexity of 10. |
| 4849 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
300 |
Avoid if (x != y) ..; else ..; |
| 4850 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
302 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 4851 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
311 |
Avoid printStackTrace(); use a logger call instead. |
| 4852 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
316 |
Avoid if (x != y) ..; else ..; |
| 4853 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
327 |
Avoid reassigning parameters such as 'cgFormHead' |
| 4854 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
348 |
Found 'DD'-anomaly for variable 'columnList' (lines '348'-'353'). |
| 4855 |
src/org/jeecgframework/web/cgform/controller/config/CgFormHeadController.java |
348 |
Found 'DD'-anomaly for variable 'columnList' (lines '348'-'371'). |
| 4856 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
41 |
Variables that are final and static should be in all caps. |
| 4857 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
44 |
Avoid excessively long variable names like cgformenhanceJsService |
| 4858 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
44 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4859 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
46 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4860 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
53 |
Parameter 'message' is not assigned and could be declared final |
| 4861 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
64 |
Parameter 'request' is not assigned and could be declared final |
| 4862 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
79 |
Parameter 'cgformenhanceJs' is not assigned and could be declared final |
| 4863 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
79 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 4864 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
79 |
Parameter 'request' is not assigned and could be declared final |
| 4865 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
80 |
Avoid variables with short names like cq |
| 4866 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
80 |
Local variable 'cq' could be declared final |
| 4867 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
94 |
Avoid reassigning parameters such as 'cgformenhanceJs' |
| 4868 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
95 |
Avoid variables with short names like j |
| 4869 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
95 |
Local variable 'j' could be declared final |
| 4870 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
113 |
Avoid variables with short names like j |
| 4871 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
113 |
Local variable 'j' could be declared final |
| 4872 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
114 |
Local variable 'cgformenJs' could be declared final |
| 4873 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
115 |
Avoid if (x != y) ..; else ..; |
| 4874 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
133 |
Avoid variables with short names like j |
| 4875 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
133 |
Local variable 'j' could be declared final |
| 4876 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
136 |
Avoid variables with short names like t |
| 4877 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
142 |
Avoid printStackTrace(); use a logger call instead. |
| 4878 |
src/org/jeecgframework/web/cgform/controller/enhance/CgformEnhanceJsController.java |
159 |
Avoid reassigning parameters such as 'cgformenhanceJs' |
| 4879 |
src/org/jeecgframework/web/cgform/controller/excel/ExcelTempletController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 4880 |
src/org/jeecgframework/web/cgform/controller/excel/ExcelTempletController.java |
49 |
Variables that are final and static should be in all caps. |
| 4881 |
src/org/jeecgframework/web/cgform/controller/excel/ExcelTempletController.java |
53 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4882 |
src/org/jeecgframework/web/cgform/controller/excel/ExcelTempletController.java |
55 |
Avoid excessively long variable names like cgFormFieldService |
| 4883 |
src/org/jeecgframework/web/cgform/controller/excel/ExcelTempletController.java |
55 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4884 |
src/org/jeecgframework/web/cgform/controller/excel/ExcelTempletController.java |
57 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4885 |
src/org/jeecgframework/web/cgform/controller/excel/ExcelTempletController.java |
63 |
Parameter 'message' is not assigned and could be declared final |
| 4886 |
src/org/jeecgframework/web/cgform/controller/excel/ExcelTempletController.java |
138 |
Parameter 'request' is not assigned and could be declared final |
| 4887 |
src/org/jeecgframework/web/cgform/controller/excel/ExcelTempletController.java |
202 |
Parameter 'docName' is not assigned and could be declared final |
| 4888 |
src/org/jeecgframework/web/cgform/controller/excel/ExcelTempletController.java |
203 |
String.indexOf(char) is faster than String.indexOf(String). |
| 4889 |
src/org/jeecgframework/web/cgform/controller/excel/ExcelTempletController.java |
204 |
A method should have only one exit point, and that should be the last statement in the method |
| 4890 |
src/org/jeecgframework/web/cgform/controller/excel/ExcelTempletController.java |
204 |
String.indexOf(char) is faster than String.indexOf(String). |
| 4891 |
src/org/jeecgframework/web/cgform/controller/excel/ExcelTempletController.java |
206 |
String.indexOf(char) is faster than String.indexOf(String). |
| 4892 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 4893 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
60 |
The class 'GenerateController' has a Cyclomatic Complexity of 6 (Highest = 12). |
| 4894 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
64 |
Variables that are final and static should be in all caps. |
| 4895 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
67 |
Avoid unused private fields such as 'systemService'. |
| 4896 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
69 |
Avoid excessively long variable names like cgFormFieldService |
| 4897 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
69 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4898 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
71 |
Avoid excessively long variable names like cgformButtonService |
| 4899 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
71 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4900 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
73 |
Avoid excessively long variable names like cgformButtonSqlService |
| 4901 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
73 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4902 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
75 |
Avoid excessively long variable names like cgformEnhanceJsService |
| 4903 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
75 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4904 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
83 |
Avoid reassigning parameters such as 'cgFormHead' |
| 4905 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
83 |
Parameter 'request' is not assigned and could be declared final |
| 4906 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
83 |
The method 'gogenerate' has a Cyclomatic Complexity of 12. |
| 4907 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
88 |
Avoid throwing raw exception types. |
| 4908 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
90 |
Avoid excessively long variable names like returnModelAndView |
| 4909 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
90 |
Found 'DD'-anomaly for variable 'returnModelAndView' (lines '90'-'107'). |
| 4910 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
90 |
Found 'DD'-anomaly for variable 'returnModelAndView' (lines '90'-'94'). |
| 4911 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
91 |
Local variable 'entityNameMap' could be declared final |
| 4912 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
97 |
Local variable 'subTableList' could be declared final |
| 4913 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
99 |
Local variable 'subTables' could be declared final |
| 4914 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
101 |
Local variable 'subHead' could be declared final |
| 4915 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
109 |
Found 'DD'-anomaly for variable 'projectPath' (lines '109'-'117'). |
| 4916 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
109 |
Found 'DU'-anomaly for variable 'projectPath' (lines '109'-'132'). |
| 4917 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
111 |
Local variable 'cookies' could be declared final |
| 4918 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
117 |
Found 'DD'-anomaly for variable 'projectPath' (lines '117'-'118'). |
| 4919 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
118 |
The String literal "UTF-8" appears 4 times in this file; the first occurrence is on line 118 |
| 4920 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
125 |
Avoid printStackTrace(); use a logger call instead. |
| 4921 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
141 |
Avoid reassigning parameters such as 'cgFormHead' |
| 4922 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
141 |
Parameter 'createFileProperty' is not assigned and could be declared final |
| 4923 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
141 |
Parameter 'generateEntity' is not assigned and could be declared final |
| 4924 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
142 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4925 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
142 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4926 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
142 |
Parameter 'request' is not assigned and could be declared final |
| 4927 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
142 |
Parameter 'response' is not assigned and could be declared final |
| 4928 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
149 |
Avoid throwing raw exception types. |
| 4929 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
151 |
Avoid variables with short names like j |
| 4930 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
153 |
Found 'DU'-anomaly for variable 'ftlDescription' (lines '153'-'180'). |
| 4931 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
166 |
Avoid printStackTrace(); use a logger call instead. |
| 4932 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
168 |
Avoid throwing raw exception types. |
| 4933 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
168 |
New exception is thrown in catch block, original stack trace may be lost |
| 4934 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
178 |
Avoid printStackTrace(); use a logger call instead. |
| 4935 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
190 |
Avoid variables with short names like j |
| 4936 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
213 |
Avoid instantiating new objects inside loops |
| 4937 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
230 |
Avoid printStackTrace(); use a logger call instead. |
| 4938 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
232 |
Avoid throwing raw exception types. |
| 4939 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
232 |
New exception is thrown in catch block, original stack trace may be lost |
| 4940 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
242 |
Avoid printStackTrace(); use a logger call instead. |
| 4941 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
251 |
Avoid variables with short names like fs |
| 4942 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
258 |
Consider simply returning the value vs storing it in local variable 'foreignkeys' |
| 4943 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
266 |
Avoid reassigning parameters such as 'cgFormHead' |
| 4944 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
266 |
The method 'getCgformConfig' has a Cyclomatic Complexity of 11. |
| 4945 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
266 |
The method getCgformConfig() has an NPath complexity of 15000 |
| 4946 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
267 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4947 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
267 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4948 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
268 |
Avoid unused local variables such as 'filedNums'. |
| 4949 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
268 |
Found 'DU'-anomaly for variable 'filedNums' (lines '268'-'318'). |
| 4950 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
269 |
Found 'DD'-anomaly for variable 'buttons' (lines '269'-'275'). |
| 4951 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
279 |
Avoid instantiating new objects inside loops |
| 4952 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
279 |
The String literal "(\r\n|\r|\n|\n\r)" appears 4 times in this file; the first occurrence is on line 279 |
| 4953 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
289 |
Found 'DD'-anomaly for variable 'listJsCopy' (lines '289'-'291'). |
| 4954 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
297 |
Found 'DD'-anomaly for variable 'formJsCopy' (lines '297'-'299'). |
| 4955 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
305 |
Found 'DD'-anomaly for variable 'fieldName' (lines '305'-'305'). |
| 4956 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
305 |
Found 'DU'-anomaly for variable 'fieldName' (lines '305'-'318'). |
| 4957 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
335 |
Avoid reassigning parameters such as 'parentNode' |
| 4958 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
336 |
Found 'DU'-anomaly for variable 'fjson' (lines '336'-'383'). |
| 4959 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
342 |
Avoid instantiating new objects inside loops |
| 4960 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
347 |
The String literal "state" appears 4 times in this file; the first occurrence is on line 347 |
| 4961 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
363 |
Avoid instantiating new objects inside loops |
| 4962 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
363 |
Found 'DD'-anomaly for variable 'item' (lines '363'-'363'). |
| 4963 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
363 |
Found 'DU'-anomaly for variable 'item' (lines '363'-'383'). |
| 4964 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
373 |
Avoid empty if statements |
| 4965 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
380 |
Avoid throwing raw exception types. |
| 4966 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
380 |
New exception is thrown in catch block, original stack trace may be lost |
| 4967 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
386 |
Avoid unnecessary if..then..else statements when returning a boolean |
| 4968 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
388 |
A method should have only one exit point, and that should be the last statement in the method |
| 4969 |
src/org/jeecgframework/web/cgform/controller/generate/GenerateController.java |
391 |
A method should have only one exit point, and that should be the last statement in the method |
| 4970 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
44 |
The class 'CgformTransController' has a Cyclomatic Complexity of 8 (Highest = 23). |
| 4971 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
47 |
Avoid excessively long variable names like cgFormFieldService |
| 4972 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
47 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 4973 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
55 |
Parameter 'request' is not assigned and could be declared final |
| 4974 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
60 |
Parameter 'request' is not assigned and could be declared final |
| 4975 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
61 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 4976 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
61 |
Parameter 'response' is not assigned and could be declared final |
| 4977 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
62 |
Local variable 'tableName' could be declared final |
| 4978 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
64 |
Found 'DD'-anomaly for variable 'list' (lines '64'-'66'). |
| 4979 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
68 |
Avoid printStackTrace(); use a logger call instead. |
| 4980 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
70 |
Found 'DD'-anomaly for variable 'html' (lines '70'-'80'). |
| 4981 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
70 |
Found 'DD'-anomaly for variable 'html' (lines '70'-'82'). |
| 4982 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
72 |
Local variable 'tables' could be declared final |
| 4983 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
74 |
Found 'DU'-anomaly for variable 'index' (lines '74'-'92'). |
| 4984 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
74 |
Local variable 'index' could be declared final |
| 4985 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
77 |
Avoid using if statements without curly braces |
| 4986 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
82 |
Avoid using if...else statements without curly braces |
| 4987 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
86 |
Local variable 'writer' could be declared final |
| 4988 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
90 |
Avoid printStackTrace(); use a logger call instead. |
| 4989 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
96 |
Avoid really long methods. |
| 4990 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
96 |
Avoid variables with short names like id |
| 4991 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
96 |
Parameter 'id' is not assigned and could be declared final |
| 4992 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
96 |
The method 'transEditor' has a Cyclomatic Complexity of 23. |
| 4993 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
96 |
The method transEditor() has an NCSS line count of 102 |
| 4994 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
96 |
The method transEditor() has an NPath complexity of 2600 |
| 4995 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
97 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4996 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
97 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 4997 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
98 |
Avoid variables with short names like j |
| 4998 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
98 |
Local variable 'j' could be declared final |
| 4999 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
100 |
Avoid variables with short names like no |
| 5000 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
107 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 5001 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
108 |
Avoid using if statements without curly braces |
| 5002 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
108 |
Use equals() to compare strings instead of '==' or '!=' |
| 5003 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
109 |
Prefer StringBuffer over += for concatenating strings |
| 5004 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
110 |
Prefer StringBuffer over += for concatenating strings |
| 5005 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
113 |
Avoid instantiating new objects inside loops |
| 5006 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
115 |
Avoid instantiating new objects inside loops |
| 5007 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
125 |
Avoid instantiating new objects inside loops |
| 5008 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
129 |
Avoid instantiating new objects inside loops |
| 5009 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
133 |
Avoid using if...else statements without curly braces |
| 5010 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
135 |
Avoid using if...else statements without curly braces |
| 5011 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
184 |
Avoid empty catch blocks |
| 5012 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
199 |
Avoid using if statements without curly braces |
| 5013 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
208 |
Avoid using if statements without curly braces |
| 5014 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
208 |
Use equals() to compare strings instead of '==' or '!=' |
| 5015 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
209 |
Prefer StringBuffer over += for concatenating strings |
| 5016 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
210 |
Prefer StringBuffer over += for concatenating strings |
| 5017 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
225 |
Avoid instantiating new objects inside loops |
| 5018 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
234 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5019 |
src/org/jeecgframework/web/cgform/controller/trans/CgformTransController.java |
234 |
Private field 'sortOrder' could be made final; it is only initialized in the declaration or constructor. |
| 5020 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
11 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSAttachment' |
| 5021 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
11 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSAttachment' |
| 5022 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
43 |
Avoid unused private fields such as 'logger'. |
| 5023 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
43 |
Variables that are final and static should be in all caps. |
| 5024 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
46 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5025 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
48 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5026 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
55 |
Parameter 'message' is not assigned and could be declared final |
| 5027 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
67 |
Avoid reassigning parameters such as 'cgUploadEntity' |
| 5028 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
67 |
Avoid reassigning parameters such as 'cgUploadEntity' |
| 5029 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
67 |
Parameter 'request' is not assigned and could be declared final |
| 5030 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
67 |
Parameter 'response' is not assigned and could be declared final |
| 5031 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
68 |
Avoid variables with short names like j |
| 5032 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
68 |
Local variable 'j' could be declared final |
| 5033 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
69 |
Local variable 'attributes' could be declared final |
| 5034 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
70 |
Local variable 'fileKey' could be declared final |
| 5035 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
71 |
Avoid variables with short names like id |
| 5036 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
71 |
Local variable 'id' could be declared final |
| 5037 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
72 |
Local variable 'tableName' could be declared final |
| 5038 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
104 |
Parameter 'request' is not assigned and could be declared final |
| 5039 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
105 |
Avoid variables with short names like j |
| 5040 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
106 |
Avoid variables with short names like id |
| 5041 |
src/org/jeecgframework/web/cgform/controller/upload/CgUploadController.java |
108 |
Do not add empty strings |
| 5042 |
src/org/jeecgframework/web/cgform/dao/config/CgFormFieldDao.java |
21 |
Avoid modifiers which are implied by the context |
| 5043 |
src/org/jeecgframework/web/cgform/dao/config/CgFormFieldDao.java |
24 |
Avoid modifiers which are implied by the context |
| 5044 |
src/org/jeecgframework/web/cgform/dao/config/CgFormVersionDao.java |
18 |
Avoid modifiers which are implied by the context |
| 5045 |
src/org/jeecgframework/web/cgform/dao/config/CgFormVersionDao.java |
20 |
Avoid modifiers which are implied by the context |
| 5046 |
src/org/jeecgframework/web/cgform/dao/config/CgFormVersionDao.java |
20 |
Avoid variables with short names like id |
| 5047 |
src/org/jeecgframework/web/cgform/dao/config/CgFormVersionDao.java |
22 |
Avoid modifiers which are implied by the context |
| 5048 |
src/org/jeecgframework/web/cgform/dao/config/CgFormVersionDao.java |
25 |
Avoid modifiers which are implied by the context |
| 5049 |
src/org/jeecgframework/web/cgform/dao/config/CgFormVersionDao.java |
25 |
Avoid variables with short names like id |
| 5050 |
src/org/jeecgframework/web/cgform/dao/upload/CgFormUploadDao.java |
27 |
Avoid modifiers which are implied by the context |
| 5051 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
33 |
The class 'DBTempletLoader' has a Cyclomatic Complexity of 4 (Highest = 12). |
| 5052 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
38 |
Variables that are final and static should be in all caps. |
| 5053 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
41 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5054 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
44 |
Avoid excessively long variable names like cgFormFieldService |
| 5055 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
44 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5056 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
47 |
Avoid reassigning parameters such as 'name' |
| 5057 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
47 |
Avoid reassigning parameters such as 'name' |
| 5058 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
53 |
Local variable 'obj' could be declared final |
| 5059 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
54 |
Consider simply returning the value vs storing it in local variable 'obj' |
| 5060 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
58 |
Parameter 'templateSource' is not assigned and could be declared final |
| 5061 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
63 |
Parameter 'encoding' is not assigned and could be declared final |
| 5062 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
63 |
Parameter 'templateSource' is not assigned and could be declared final |
| 5063 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
64 |
Avoid variables with short names like br |
| 5064 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
64 |
Found 'DD'-anomaly for variable 'br' (lines '64'-'66'). |
| 5065 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
64 |
Found 'DD'-anomaly for variable 'br' (lines '64'-'69'). |
| 5066 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
68 |
Local variable 'str' could be declared final |
| 5067 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
74 |
Parameter 'name' is not assigned and could be declared final |
| 5068 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
74 |
The method 'getObject' has a Cyclomatic Complexity of 12. |
| 5069 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
75 |
Found 'DU'-anomaly for variable 'patternResolver' (lines '75'-'112'). |
| 5070 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
75 |
Local variable 'patternResolver' could be declared final |
| 5071 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
78 |
Local variable 'head' could be declared final |
| 5072 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
79 |
A method should have only one exit point, and that should be the last statement in the method |
| 5073 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
79 |
Avoid using if statements without curly braces |
| 5074 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
81 |
Local variable 'resources' could be declared final |
| 5075 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
82 |
Found 'DD'-anomaly for variable 'inputStreamReader' (lines '82'-'84'). |
| 5076 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
86 |
A method should have only one exit point, and that should be the last statement in the method |
| 5077 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
91 |
Avoid if (x != y) ..; else ..; |
| 5078 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
92 |
Found 'DD'-anomaly for variable 'content' (lines '92'-'93'). |
| 5079 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
95 |
A method should have only one exit point, and that should be the last statement in the method |
| 5080 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
102 |
A method should have only one exit point, and that should be the last statement in the method |
| 5081 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
115 |
Document empty method |
| 5082 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
115 |
Parameter 'templateSource' is not assigned and could be declared final |
| 5083 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
143 |
Avoid reassigning parameters such as 'htmlStr' |
| 5084 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
148 |
Found 'DU'-anomaly for variable 'fieldMap' (lines '148'-'184'). |
| 5085 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
150 |
Found 'DU'-anomaly for variable 'hiddenFielList' (lines '150'-'184'). |
| 5086 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
156 |
Avoid variables with short names like sb |
| 5087 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
157 |
Found 'DD'-anomaly for variable 'thStr' (lines '157'-'162'). |
| 5088 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
157 |
Found 'DU'-anomaly for variable 'thStr' (lines '157'-'184'). |
| 5089 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
158 |
Found 'DD'-anomaly for variable 'inputStr' (lines '158'-'163'). |
| 5090 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
158 |
Found 'DU'-anomaly for variable 'inputStr' (lines '158'-'184'). |
| 5091 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
163 |
Found 'DD'-anomaly for variable 'inputStr' (lines '163'-'165'). |
| 5092 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
163 |
Found 'DD'-anomaly for variable 'inputStr' (lines '163'-'170'). |
| 5093 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
171 |
Prefer StringBuffer over += for concatenating strings |
| 5094 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
181 |
Avoid printStackTrace(); use a logger call instead. |
| 5095 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
188 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 5096 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
190 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 5097 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
191 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 5098 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
192 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 5099 |
src/org/jeecgframework/web/cgform/engine/DBTempletLoader.java |
193 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 5100 |
src/org/jeecgframework/web/cgform/engine/FreemarkerHelper.java |
17 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 5101 |
src/org/jeecgframework/web/cgform/engine/FreemarkerHelper.java |
29 |
Parameter 'encoding' is not assigned and could be declared final |
| 5102 |
src/org/jeecgframework/web/cgform/engine/FreemarkerHelper.java |
29 |
Parameter 'tplName' is not assigned and could be declared final |
| 5103 |
src/org/jeecgframework/web/cgform/engine/FreemarkerHelper.java |
30 |
Parameter 'paras' is not assigned and could be declared final |
| 5104 |
src/org/jeecgframework/web/cgform/engine/FreemarkerHelper.java |
32 |
Local variable 'swriter' could be declared final |
| 5105 |
src/org/jeecgframework/web/cgform/engine/FreemarkerHelper.java |
33 |
Found 'DD'-anomaly for variable 'mytpl' (lines '33'-'34'). |
| 5106 |
src/org/jeecgframework/web/cgform/engine/FreemarkerHelper.java |
36 |
A method should have only one exit point, and that should be the last statement in the method |
| 5107 |
src/org/jeecgframework/web/cgform/engine/FreemarkerHelper.java |
38 |
Avoid printStackTrace(); use a logger call instead. |
| 5108 |
src/org/jeecgframework/web/cgform/engine/FreemarkerHelper.java |
43 |
Parameter 'paras' is not assigned and could be declared final |
| 5109 |
src/org/jeecgframework/web/cgform/engine/FreemarkerHelper.java |
43 |
Parameter 'tplName' is not assigned and could be declared final |
| 5110 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
32 |
Avoid excessively long variable names like cgFormFieldService |
| 5111 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
32 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5112 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
44 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 5113 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
46 |
Local variable 'util' could be declared final |
| 5114 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
55 |
Avoid using if statements without curly braces |
| 5115 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
66 |
Parameter 'tableName' is not assigned and could be declared final |
| 5116 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
67 |
Found 'DD'-anomaly for variable 'template' (lines '67'-'73'). |
| 5117 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
67 |
Found 'DD'-anomaly for variable 'template' (lines '67'-'77'). |
| 5118 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
67 |
Found 'DU'-anomaly for variable 'template' (lines '67'-'87'). |
| 5119 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
69 |
A method should have only one exit point, and that should be the last statement in the method |
| 5120 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
76 |
Local variable 'version' could be declared final |
| 5121 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
79 |
Avoid throwing raw exception types. |
| 5122 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
81 |
A method should have only one exit point, and that should be the last statement in the method |
| 5123 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
83 |
Avoid printStackTrace(); use a logger call instead. |
| 5124 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
95 |
Parameter 'encoding' is not assigned and could be declared final |
| 5125 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
95 |
Parameter 'tableName' is not assigned and could be declared final |
| 5126 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
95 |
Parameter 'version' is not assigned and could be declared final |
| 5127 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
96 |
Found 'DD'-anomaly for variable 'template' (lines '96'-'102'). |
| 5128 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
96 |
Found 'DD'-anomaly for variable 'template' (lines '96'-'106'). |
| 5129 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
99 |
Local variable 'cacheKey' could be declared final |
| 5130 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
109 |
Avoid printStackTrace(); use a logger call instead. |
| 5131 |
src/org/jeecgframework/web/cgform/engine/TempletContext.java |
118 |
Parameter 'freemarker' is not assigned and could be declared final |
| 5132 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
39 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5133 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
42 |
Parameter 'env' is not assigned and could be declared final |
| 5134 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
42 |
Parameter 'loopVars' is not assigned and could be declared final |
| 5135 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
42 |
Parameter 'params' is not assigned and could be declared final |
| 5136 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
43 |
Parameter 'body' is not assigned and could be declared final |
| 5137 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
46 |
Local variable 'name' could be declared final |
| 5138 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
51 |
Found 'DU'-anomaly for variable 'text' (lines '51'-'83'). |
| 5139 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
51 |
Local variable 'text' could be declared final |
| 5140 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
52 |
Local variable 'tablename' could be declared final |
| 5141 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
54 |
Found 'DD'-anomaly for variable 'var' (lines '54'-'56'). |
| 5142 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
56 |
Avoid if (x != y) ..; else ..; |
| 5143 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
56 |
Prefer StringBuffer over += for concatenating strings |
| 5144 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
56 |
Prefer StringBuffer over += for concatenating strings |
| 5145 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
61 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 5146 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
68 |
Local variable 'sql' could be declared final |
| 5147 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
78 |
Local variable 'dataList' could be declared final |
| 5148 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
93 |
Parameter 'name' is not assigned and could be declared final |
| 5149 |
src/org/jeecgframework/web/cgform/engine/tag/DictDataTag.java |
94 |
Found 'DD'-anomaly for variable 'value' (lines '94'-'98'). |
| 5150 |
src/org/jeecgframework/web/cgform/entity/autolist/AutoFieldEntity.java |
13 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5151 |
src/org/jeecgframework/web/cgform/entity/autolist/AutoFieldEntity.java |
13 |
It is somewhat confusing to have a field name with the same name as a method |
| 5152 |
src/org/jeecgframework/web/cgform/entity/autolist/AutoFieldEntity.java |
15 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5153 |
src/org/jeecgframework/web/cgform/entity/autolist/AutoFieldEntity.java |
15 |
It is somewhat confusing to have a field name with the same name as a method |
| 5154 |
src/org/jeecgframework/web/cgform/entity/autolist/AutoFieldEntity.java |
21 |
Parameter 'name' is not assigned and could be declared final |
| 5155 |
src/org/jeecgframework/web/cgform/entity/autolist/AutoFieldEntity.java |
27 |
Parameter 'title' is not assigned and could be declared final |
| 5156 |
src/org/jeecgframework/web/cgform/entity/autolist/AutoFieldEntity.java |
33 |
Parameter 'isQuery' is not assigned and could be declared final |
| 5157 |
src/org/jeecgframework/web/cgform/entity/autolist/AutoFieldEntity.java |
39 |
Parameter 'queryMode' is not assigned and could be declared final |
| 5158 |
src/org/jeecgframework/web/cgform/entity/autolist/AutoFieldEntity.java |
42 |
Parameter 'isQuery' is not assigned and could be declared final |
| 5159 |
src/org/jeecgframework/web/cgform/entity/autolist/AutoFieldEntity.java |
63 |
Document empty constructor |
| 5160 |
src/org/jeecgframework/web/cgform/entity/button/CgformButtonEntity.java |
24 |
Avoid variables with short names like id |
| 5161 |
src/org/jeecgframework/web/cgform/entity/button/CgformButtonEntity.java |
61 |
Avoid variables with short names like id |
| 5162 |
src/org/jeecgframework/web/cgform/entity/button/CgformButtonEntity.java |
61 |
Parameter 'id' is not assigned and could be declared final |
| 5163 |
src/org/jeecgframework/web/cgform/entity/button/CgformButtonEntity.java |
77 |
Parameter 'formId' is not assigned and could be declared final |
| 5164 |
src/org/jeecgframework/web/cgform/entity/button/CgformButtonEntity.java |
93 |
Parameter 'buttonCode' is not assigned and could be declared final |
| 5165 |
src/org/jeecgframework/web/cgform/entity/button/CgformButtonEntity.java |
109 |
Parameter 'buttonName' is not assigned and could be declared final |
| 5166 |
src/org/jeecgframework/web/cgform/entity/button/CgformButtonEntity.java |
125 |
Parameter 'buttonStyle' is not assigned and could be declared final |
| 5167 |
src/org/jeecgframework/web/cgform/entity/button/CgformButtonSqlEntity.java |
25 |
Avoid variables with short names like id |
| 5168 |
src/org/jeecgframework/web/cgform/entity/button/CgformButtonSqlEntity.java |
56 |
Avoid variables with short names like id |
| 5169 |
src/org/jeecgframework/web/cgform/entity/button/CgformButtonSqlEntity.java |
56 |
Parameter 'id' is not assigned and could be declared final |
| 5170 |
src/org/jeecgframework/web/cgform/entity/button/CgformButtonSqlEntity.java |
72 |
Parameter 'formId' is not assigned and could be declared final |
| 5171 |
src/org/jeecgframework/web/cgform/entity/button/CgformButtonSqlEntity.java |
88 |
Parameter 'buttonCode' is not assigned and could be declared final |
| 5172 |
src/org/jeecgframework/web/cgform/entity/button/CgformButtonSqlEntity.java |
104 |
Parameter 'cgbSqlName' is not assigned and could be declared final |
| 5173 |
src/org/jeecgframework/web/cgform/entity/button/CgformButtonSqlEntity.java |
113 |
Returning 'cgbSql' may expose an internal array. |
| 5174 |
src/org/jeecgframework/web/cgform/entity/button/CgformButtonSqlEntity.java |
120 |
Parameter 'cgbSql' is not assigned and could be declared final |
| 5175 |
src/org/jeecgframework/web/cgform/entity/button/CgformButtonSqlEntity.java |
120 |
The user-supplied array 'cgbSql' is stored directly. |
| 5176 |
src/org/jeecgframework/web/cgform/entity/cgformftl/CgformFtlEntity.java |
25 |
Avoid variables with short names like id |
| 5177 |
src/org/jeecgframework/web/cgform/entity/cgformftl/CgformFtlEntity.java |
68 |
Avoid variables with short names like id |
| 5178 |
src/org/jeecgframework/web/cgform/entity/cgformftl/CgformFtlEntity.java |
68 |
Parameter 'id' is not assigned and could be declared final |
| 5179 |
src/org/jeecgframework/web/cgform/entity/cgformftl/CgformFtlEntity.java |
84 |
Parameter 'cgformId' is not assigned and could be declared final |
| 5180 |
src/org/jeecgframework/web/cgform/entity/cgformftl/CgformFtlEntity.java |
100 |
Parameter 'cgformName' is not assigned and could be declared final |
| 5181 |
src/org/jeecgframework/web/cgform/entity/cgformftl/CgformFtlEntity.java |
116 |
Parameter 'ftlVersion' is not assigned and could be declared final |
| 5182 |
src/org/jeecgframework/web/cgform/entity/cgformftl/CgformFtlEntity.java |
133 |
Parameter 'ftlContent' is not assigned and could be declared final |
| 5183 |
src/org/jeecgframework/web/cgform/entity/config/CgFormFieldEntity.java |
1 |
This class has a bunch of public methods and attributes |
| 5184 |
src/org/jeecgframework/web/cgform/entity/config/CgFormFieldEntity.java |
34 |
Too many fields |
| 5185 |
src/org/jeecgframework/web/cgform/entity/config/CgFormFieldEntity.java |
36 |
Avoid variables with short names like id |
| 5186 |
src/org/jeecgframework/web/cgform/entity/config/CgFormFieldEntity.java |
115 |
Avoid variables with short names like id |
| 5187 |
src/org/jeecgframework/web/cgform/entity/config/CgFormFieldEntity.java |
115 |
Parameter 'id' is not assigned and could be declared final |
| 5188 |
src/org/jeecgframework/web/cgform/entity/config/CgFormFieldEntity.java |
131 |
Parameter 'fieldName' is not assigned and could be declared final |
| 5189 |
src/org/jeecgframework/web/cgform/entity/config/CgFormFieldEntity.java |
150 |
Parameter 'table' is not assigned and could be declared final |
| 5190 |
src/org/jeecgframework/web/cgform/entity/config/CgFormFieldEntity.java |
166 |
Parameter 'length' is not assigned and could be declared final |
| 5191 |
src/org/jeecgframework/web/cgform/entity/config/CgFormFieldEntity.java |
182 |
Parameter 'pointLength' is not assigned and could be declared final |
| 5192 |
src/org/jeecgframework/web/cgform/entity/config/CgFormHeadEntity.java |
32 |
Too many fields |
| 5193 |
src/org/jeecgframework/web/cgform/entity/config/CgFormHeadEntity.java |
34 |
Avoid variables with short names like id |
| 5194 |
src/org/jeecgframework/web/cgform/entity/config/CgFormHeadEntity.java |
97 |
Avoid variables with short names like id |
| 5195 |
src/org/jeecgframework/web/cgform/entity/config/CgFormHeadEntity.java |
97 |
Parameter 'id' is not assigned and could be declared final |
| 5196 |
src/org/jeecgframework/web/cgform/entity/config/CgFormHeadEntity.java |
112 |
Parameter 'tableName' is not assigned and could be declared final |
| 5197 |
src/org/jeecgframework/web/cgform/entity/config/CgFormHeadEntity.java |
128 |
Parameter 'isTree' is not assigned and could be declared final |
| 5198 |
src/org/jeecgframework/web/cgform/entity/config/CgFormHeadEntity.java |
144 |
Parameter 'isPagination' is not assigned and could be declared final |
| 5199 |
src/org/jeecgframework/web/cgform/entity/config/CgFormHeadEntity.java |
160 |
Parameter 'isDbSynch' is not assigned and could be declared final |
| 5200 |
src/org/jeecgframework/web/cgform/entity/config/CgSubTableVO.java |
17 |
Use explicit scoping instead of the default package private level |
| 5201 |
src/org/jeecgframework/web/cgform/entity/config/CgSubTableVO.java |
20 |
Use explicit scoping instead of the default package private level |
| 5202 |
src/org/jeecgframework/web/cgform/entity/config/CgSubTableVO.java |
22 |
Use explicit scoping instead of the default package private level |
| 5203 |
src/org/jeecgframework/web/cgform/entity/config/CgSubTableVO.java |
25 |
Use explicit scoping instead of the default package private level |
| 5204 |
src/org/jeecgframework/web/cgform/entity/config/CgSubTableVO.java |
27 |
Use explicit scoping instead of the default package private level |
| 5205 |
src/org/jeecgframework/web/cgform/entity/config/CgSubTableVO.java |
34 |
Parameter 'head' is not assigned and could be declared final |
| 5206 |
src/org/jeecgframework/web/cgform/entity/config/CgSubTableVO.java |
42 |
Parameter 'fieldList' is not assigned and could be declared final |
| 5207 |
src/org/jeecgframework/web/cgform/entity/config/CgSubTableVO.java |
59 |
Parameter 'hiddenFieldList' is not assigned and could be declared final |
| 5208 |
src/org/jeecgframework/web/cgform/entity/config/CgSubTableVO.java |
67 |
Parameter 'fieldNoAreaList' is not assigned and could be declared final |
| 5209 |
src/org/jeecgframework/web/cgform/entity/config/CgSubTableVO.java |
75 |
Parameter 'fieldAreaList' is not assigned and could be declared final |
| 5210 |
src/org/jeecgframework/web/cgform/entity/consts/DataBaseConst.java |
8 |
Each class should declare at least one constructor |
| 5211 |
src/org/jeecgframework/web/cgform/entity/enhance/CgformEnhanceJsEntity.java |
30 |
Avoid variables with short names like id |
| 5212 |
src/org/jeecgframework/web/cgform/entity/enhance/CgformEnhanceJsEntity.java |
61 |
Avoid variables with short names like id |
| 5213 |
src/org/jeecgframework/web/cgform/entity/enhance/CgformEnhanceJsEntity.java |
61 |
Parameter 'id' is not assigned and could be declared final |
| 5214 |
src/org/jeecgframework/web/cgform/entity/enhance/CgformEnhanceJsEntity.java |
77 |
Parameter 'formId' is not assigned and could be declared final |
| 5215 |
src/org/jeecgframework/web/cgform/entity/enhance/CgformEnhanceJsEntity.java |
93 |
Parameter 'cgJsType' is not assigned and could be declared final |
| 5216 |
src/org/jeecgframework/web/cgform/entity/enhance/CgformEnhanceJsEntity.java |
102 |
Returning 'cgJs' may expose an internal array. |
| 5217 |
src/org/jeecgframework/web/cgform/entity/enhance/CgformEnhanceJsEntity.java |
109 |
Parameter 'cgJs' is not assigned and could be declared final |
| 5218 |
src/org/jeecgframework/web/cgform/entity/enhance/CgformEnhanceJsEntity.java |
109 |
The user-supplied array 'cgJs' is stored directly. |
| 5219 |
src/org/jeecgframework/web/cgform/entity/enhance/CgformEnhanceJsEntity.java |
125 |
Parameter 'content' is not assigned and could be declared final |
| 5220 |
src/org/jeecgframework/web/cgform/entity/enhance/CgformEnhanceJsEntity.java |
149 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 5221 |
src/org/jeecgframework/web/cgform/entity/enhance/CgformEnhanceJsEntity.java |
149 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 5222 |
src/org/jeecgframework/web/cgform/entity/enhance/CgformEnhanceJsEntity.java |
151 |
Local variable 'bos' could be declared final |
| 5223 |
src/org/jeecgframework/web/cgform/entity/enhance/CgformEnhanceJsEntity.java |
152 |
Local variable 'oos' could be declared final |
| 5224 |
src/org/jeecgframework/web/cgform/entity/enhance/CgformEnhanceJsEntity.java |
156 |
Local variable 'bis' could be declared final |
| 5225 |
src/org/jeecgframework/web/cgform/entity/enhance/CgformEnhanceJsEntity.java |
157 |
Local variable 'ois' could be declared final |
| 5226 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
64 |
Parameter 'entityPackage' is not assigned and could be declared final |
| 5227 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
72 |
Parameter 'entityName' is not assigned and could be declared final |
| 5228 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
80 |
Parameter 'tableName' is not assigned and could be declared final |
| 5229 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
88 |
Parameter 'ftlDescription' is not assigned and could be declared final |
| 5230 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
96 |
Parameter 'primaryKeyPolicy' is not assigned and could be declared final |
| 5231 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
101 |
Returning 'foreignKeys' may expose an internal array. |
| 5232 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
104 |
The user-supplied array 'foreignKeys' is stored directly. |
| 5233 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
159 |
Avoid variables with short names like pt |
| 5234 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
163 |
Prefer StringBuffer over += for concatenating strings |
| 5235 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
182 |
clone() method should be implemented only if implementing Cloneable interface |
| 5236 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
182 |
clone() method should be implemented only if implementing Cloneable interface |
| 5237 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
191 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 5238 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
191 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 5239 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
193 |
Local variable 'bos' could be declared final |
| 5240 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
194 |
Local variable 'oos' could be declared final |
| 5241 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
198 |
Local variable 'bis' could be declared final |
| 5242 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateEntity.java |
199 |
Local variable 'ois' could be declared final |
| 5243 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateSubListEntity.java |
27 |
Parameter 'subTabParamIn' is not assigned and could be declared final |
| 5244 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateSubListEntity.java |
32 |
Avoid variables with short names like pt |
| 5245 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateSubListEntity.java |
36 |
Prefer StringBuffer over += for concatenating strings |
| 5246 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateSubListEntity.java |
42 |
Parameter 'projectPath' is not assigned and could be declared final |
| 5247 |
src/org/jeecgframework/web/cgform/entity/generate/GenerateSubListEntity.java |
50 |
Parameter 'packageStyle' is not assigned and could be declared final |
| 5248 |
src/org/jeecgframework/web/cgform/entity/upload/CgUploadEntity.java |
35 |
Parameter 'cgformId' is not assigned and could be declared final |
| 5249 |
src/org/jeecgframework/web/cgform/entity/upload/CgUploadEntity.java |
42 |
Parameter 'cgformName' is not assigned and could be declared final |
| 5250 |
src/org/jeecgframework/web/cgform/entity/upload/CgUploadEntity.java |
49 |
Parameter 'cgformField' is not assigned and could be declared final |
| 5251 |
src/org/jeecgframework/web/cgform/exception/BusinessException.java |
6 |
Parameter 'msg' is not assigned and could be declared final |
| 5252 |
src/org/jeecgframework/web/cgform/exception/DBException.java |
6 |
Parameter 'msg' is not assigned and could be declared final |
| 5253 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
26 |
Variables that are final and static should be in all caps. |
| 5254 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
28 |
Avoid excessively long variable names like cgFormFieldService |
| 5255 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
28 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5256 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
30 |
Parameter 'arg0' is not assigned and could be declared final |
| 5257 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
31 |
Parameter 'arg1' is not assigned and could be declared final |
| 5258 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
31 |
Parameter 'arg2' is not assigned and could be declared final |
| 5259 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
31 |
Parameter 'arg3' is not assigned and could be declared final |
| 5260 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
32 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 5261 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
32 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 5262 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
33 |
Local variable 'requestPath' could be declared final |
| 5263 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
35 |
A method should have only one exit point, and that should be the last statement in the method |
| 5264 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
38 |
Local variable 'formId' could be declared final |
| 5265 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
45 |
Avoid printStackTrace(); use a logger call instead. |
| 5266 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
52 |
Parameter 'arg0' is not assigned and could be declared final |
| 5267 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
53 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 5268 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
53 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 5269 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
53 |
Document empty method |
| 5270 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
58 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 5271 |
src/org/jeecgframework/web/cgform/interceptors/CgFormVersionInterceptor.java |
58 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 5272 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormFieldPojo.java |
1 |
This class has a bunch of public methods and attributes |
| 5273 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormFieldPojo.java |
12 |
Too many fields |
| 5274 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormFieldPojo.java |
14 |
Avoid variables with short names like id |
| 5275 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormFieldPojo.java |
88 |
Avoid variables with short names like id |
| 5276 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormFieldPojo.java |
88 |
Parameter 'id' is not assigned and could be declared final |
| 5277 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormFieldPojo.java |
103 |
Parameter 'fieldName' is not assigned and could be declared final |
| 5278 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormFieldPojo.java |
118 |
Parameter 'tableId' is not assigned and could be declared final |
| 5279 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormFieldPojo.java |
133 |
Parameter 'length' is not assigned and could be declared final |
| 5280 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormFieldPojo.java |
148 |
Parameter 'pointLength' is not assigned and could be declared final |
| 5281 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormHeadPojo.java |
13 |
Too many fields |
| 5282 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormHeadPojo.java |
15 |
Avoid variables with short names like id |
| 5283 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormHeadPojo.java |
69 |
Avoid variables with short names like id |
| 5284 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormHeadPojo.java |
69 |
Parameter 'id' is not assigned and could be declared final |
| 5285 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormHeadPojo.java |
83 |
Parameter 'tableName' is not assigned and could be declared final |
| 5286 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormHeadPojo.java |
98 |
Parameter 'isTree' is not assigned and could be declared final |
| 5287 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormHeadPojo.java |
113 |
Parameter 'isPagination' is not assigned and could be declared final |
| 5288 |
src/org/jeecgframework/web/cgform/pojo/config/CgFormHeadPojo.java |
128 |
Parameter 'isDbsynch' is not assigned and could be declared final |
| 5289 |
src/org/jeecgframework/web/cgform/service/autolist/CgTableServiceI.java |
23 |
Avoid modifiers which are implied by the context |
| 5290 |
src/org/jeecgframework/web/cgform/service/autolist/CgTableServiceI.java |
35 |
Avoid modifiers which are implied by the context |
| 5291 |
src/org/jeecgframework/web/cgform/service/autolist/CgTableServiceI.java |
45 |
Avoid modifiers which are implied by the context |
| 5292 |
src/org/jeecgframework/web/cgform/service/autolist/CgTableServiceI.java |
52 |
Avoid modifiers which are implied by the context |
| 5293 |
src/org/jeecgframework/web/cgform/service/autolist/CgTableServiceI.java |
52 |
Avoid variables with short names like id |
| 5294 |
src/org/jeecgframework/web/cgform/service/autolist/CgTableServiceI.java |
59 |
Avoid modifiers which are implied by the context |
| 5295 |
src/org/jeecgframework/web/cgform/service/autolist/ConfigServiceI.java |
18 |
Avoid modifiers which are implied by the context |
| 5296 |
src/org/jeecgframework/web/cgform/service/build/DataBaseService.java |
15 |
Avoid modifiers which are implied by the context |
| 5297 |
src/org/jeecgframework/web/cgform/service/build/DataBaseService.java |
17 |
Avoid modifiers which are implied by the context |
| 5298 |
src/org/jeecgframework/web/cgform/service/build/DataBaseService.java |
17 |
Avoid variables with short names like id |
| 5299 |
src/org/jeecgframework/web/cgform/service/build/DataBaseService.java |
19 |
Avoid modifiers which are implied by the context |
| 5300 |
src/org/jeecgframework/web/cgform/service/build/DataBaseService.java |
19 |
Avoid variables with short names like id |
| 5301 |
src/org/jeecgframework/web/cgform/service/build/DataBaseService.java |
21 |
Avoid modifiers which are implied by the context |
| 5302 |
src/org/jeecgframework/web/cgform/service/build/DataBaseService.java |
23 |
Avoid modifiers which are implied by the context |
| 5303 |
src/org/jeecgframework/web/cgform/service/button/CgformButtonServiceI.java |
21 |
Avoid modifiers which are implied by the context |
| 5304 |
src/org/jeecgframework/web/cgform/service/button/CgformButtonServiceI.java |
28 |
Avoid excessively long variable names like cgformButtonEntity |
| 5305 |
src/org/jeecgframework/web/cgform/service/button/CgformButtonServiceI.java |
28 |
Avoid modifiers which are implied by the context |
| 5306 |
src/org/jeecgframework/web/cgform/service/button/CgformButtonSqlServiceI.java |
5 |
Avoid unused imports such as 'org.jeecgframework.web.cgform.entity.button.CgformButtonEntity' |
| 5307 |
src/org/jeecgframework/web/cgform/service/button/CgformButtonSqlServiceI.java |
5 |
Avoid unused imports such as 'org.jeecgframework.web.cgform.entity.button.CgformButtonEntity' |
| 5308 |
src/org/jeecgframework/web/cgform/service/button/CgformButtonSqlServiceI.java |
17 |
Avoid excessively long variable names like cgformButtonSqlEntity |
| 5309 |
src/org/jeecgframework/web/cgform/service/button/CgformButtonSqlServiceI.java |
17 |
Avoid modifiers which are implied by the context |
| 5310 |
src/org/jeecgframework/web/cgform/service/button/CgformButtonSqlServiceI.java |
25 |
Avoid modifiers which are implied by the context |
| 5311 |
src/org/jeecgframework/web/cgform/service/cgformftl/CgformFtlServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 5312 |
src/org/jeecgframework/web/cgform/service/cgformftl/CgformFtlServiceI.java |
19 |
Avoid modifiers which are implied by the context |
| 5313 |
src/org/jeecgframework/web/cgform/service/cgformftl/CgformFtlServiceI.java |
26 |
Avoid modifiers which are implied by the context |
| 5314 |
src/org/jeecgframework/web/cgform/service/config/CgFormFieldServiceI.java |
12 |
This class has too many methods, consider refactoring it. |
| 5315 |
src/org/jeecgframework/web/cgform/service/config/CgFormFieldServiceI.java |
18 |
Avoid variables with short names like t |
| 5316 |
src/org/jeecgframework/web/cgform/service/config/CgFormFieldServiceI.java |
33 |
Avoid modifiers which are implied by the context |
| 5317 |
src/org/jeecgframework/web/cgform/service/config/CgFormFieldServiceI.java |
33 |
Avoid variables with short names like a |
| 5318 |
src/org/jeecgframework/web/cgform/service/config/CgFormFieldServiceI.java |
49 |
Avoid modifiers which are implied by the context |
| 5319 |
src/org/jeecgframework/web/cgform/service/config/CgFormFieldServiceI.java |
64 |
Avoid modifiers which are implied by the context |
| 5320 |
src/org/jeecgframework/web/cgform/service/config/CgFormFieldServiceI.java |
71 |
Avoid modifiers which are implied by the context |
| 5321 |
src/org/jeecgframework/web/cgform/service/config/CgFormFieldServiceI.java |
78 |
Avoid modifiers which are implied by the context |
| 5322 |
src/org/jeecgframework/web/cgform/service/config/CgFormFieldServiceI.java |
156 |
Avoid variables with short names like id |
| 5323 |
src/org/jeecgframework/web/cgform/service/config/DbTableServiceI.java |
5 |
Avoid unused imports such as 'org.jeecgframework.web.cgform.entity.config.CgFormFieldEntity' |
| 5324 |
src/org/jeecgframework/web/cgform/service/config/DbTableServiceI.java |
5 |
Avoid unused imports such as 'org.jeecgframework.web.cgform.entity.config.CgFormFieldEntity' |
| 5325 |
src/org/jeecgframework/web/cgform/service/enhance/CgformEnhanceJsServiceI.java |
15 |
Avoid modifiers which are implied by the context |
| 5326 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
34 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 5327 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
34 |
The class 'ExcelTempletService' has a Cyclomatic Complexity of 4 (Highest = 13). |
| 5328 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
47 |
Parameter 'dataSet' is not assigned and could be declared final |
| 5329 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
47 |
Parameter 'title' is not assigned and could be declared final |
| 5330 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
53 |
Parameter 'title' is not assigned and could be declared final |
| 5331 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
54 |
Parameter 'dataSet' is not assigned and could be declared final |
| 5332 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
56 |
Found 'DD'-anomaly for variable 'workbook' (lines '56'-'66'). |
| 5333 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
56 |
Found 'DU'-anomaly for variable 'workbook' (lines '56'-'96'). |
| 5334 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
59 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 5335 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
68 |
Local variable 'sheet' could be declared final |
| 5336 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
71 |
Local variable 'row' could be declared final |
| 5337 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
72 |
Do not use the short type |
| 5338 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
73 |
Found 'DU'-anomaly for variable 'titleStyle' (lines '73'-'96'). |
| 5339 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
73 |
Local variable 'titleStyle' could be declared final |
| 5340 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
74 |
Avoid variables with short names like it |
| 5341 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
74 |
Local variable 'it' could be declared final |
| 5342 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
76 |
Local variable 'type' could be declared final |
| 5343 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
80 |
Avoid instantiating new objects inside loops |
| 5344 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
93 |
Avoid printStackTrace(); use a logger call instead. |
| 5345 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
102 |
Parameter 'workbook' is not assigned and could be declared final |
| 5346 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
106 |
Do not use the short type |
| 5347 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
107 |
Do not use the short type |
| 5348 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
108 |
Do not use the short type |
| 5349 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
109 |
Do not use the short type |
| 5350 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
122 |
Found 'DU'-anomaly for variable 'sheet' (lines '122'-'131'). |
| 5351 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
124 |
Found 'DU'-anomaly for variable 'cellStyle' (lines '124'-'131'). |
| 5352 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
126 |
Found 'DD'-anomaly for variable 'row' (lines '126'-'126'). |
| 5353 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
126 |
Found 'DU'-anomaly for variable 'row' (lines '126'-'131'). |
| 5354 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
166 |
Found 'DU'-anomaly for variable 'fieldMap' (lines '166'-'222'). |
| 5355 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
168 |
Found 'DU'-anomaly for variable 'tObject' (lines '168'-'222'). |
| 5356 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
182 |
Found 'DU'-anomaly for variable 'titlemap' (lines '182'-'222'). |
| 5357 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
184 |
Avoid variables with short names like i |
| 5358 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
184 |
Found 'DU'-anomaly for variable 'i' (lines '184'-'222'). |
| 5359 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
196 |
Found 'DD'-anomaly for variable 'retMap' (lines '196'-'198'). |
| 5360 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
196 |
Found 'DU'-anomaly for variable 'retMap' (lines '196'-'222'). |
| 5361 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
198 |
Avoid instantiating new objects inside loops |
| 5362 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
203 |
Avoid variables with short names like k |
| 5363 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
203 |
Found 'DD'-anomaly for variable 'k' (lines '203'-'203'). |
| 5364 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
203 |
Found 'DU'-anomaly for variable 'k' (lines '203'-'222'). |
| 5365 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
206 |
Found 'DD'-anomaly for variable 'cell' (lines '206'-'206'). |
| 5366 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
206 |
Found 'DU'-anomaly for variable 'cell' (lines '206'-'222'). |
| 5367 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
218 |
Avoid printStackTrace(); use a logger call instead. |
| 5368 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
219 |
A method should have only one exit point, and that should be the last statement in the method |
| 5369 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
224 |
Avoid excessively long variable names like DEFAULT_DATE_FORMAT |
| 5370 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
224 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 5371 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
232 |
The method 'getCellValueString' has a Cyclomatic Complexity of 13. |
| 5372 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
234 |
A method should have only one exit point, and that should be the last statement in the method |
| 5373 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
241 |
A method should have only one exit point, and that should be the last statement in the method |
| 5374 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
243 |
Found 'DD'-anomaly for variable 'value' (lines '243'-'246'). |
| 5375 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
243 |
Found 'DD'-anomaly for variable 'value' (lines '243'-'250'). |
| 5376 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
243 |
Found 'DD'-anomaly for variable 'value' (lines '243'-'253'). |
| 5377 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
243 |
Found 'DD'-anomaly for variable 'value' (lines '243'-'257'). |
| 5378 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
243 |
Found 'DD'-anomaly for variable 'value' (lines '243'-'260'). |
| 5379 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
243 |
Found 'DD'-anomaly for variable 'value' (lines '243'-'263'). |
| 5380 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
244 |
Switch statements should have a default label |
| 5381 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
274 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 5382 |
src/org/jeecgframework/web/cgform/service/excel/ExcelTempletService.java |
279 |
Method names should not start with capital letters |
| 5383 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
13 |
Avoid unused imports such as 'org.jeecgframework.web.cgform.service.config.DbTableHandleI' |
| 5384 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
13 |
Avoid unused imports such as 'org.jeecgframework.web.cgform.service.config.DbTableHandleI' |
| 5385 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
14 |
Avoid unused imports such as 'org.jeecgframework.web.cgform.service.impl.config.util.DbTableUtil' |
| 5386 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
14 |
Avoid unused imports such as 'org.jeecgframework.web.cgform.service.impl.config.util.DbTableUtil' |
| 5387 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
34 |
The class 'CgTableServiceImpl' has a Cyclomatic Complexity of 5 (Highest = 12). |
| 5388 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5389 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
39 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5390 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
42 |
Avoid excessively long variable names like cgFormFieldService |
| 5391 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
42 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5392 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
44 |
The String literal "unchecked" appears 4 times in this file; the first occurrence is on line 44 |
| 5393 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
46 |
Parameter 'field' is not assigned and could be declared final |
| 5394 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
46 |
Parameter 'params' is not assigned and could be declared final |
| 5395 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
46 |
Parameter 'table' is not assigned and could be declared final |
| 5396 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
47 |
Parameter 'page' is not assigned and could be declared final |
| 5397 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
47 |
Parameter 'rows' is not assigned and could be declared final |
| 5398 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
48 |
Local variable 'sqlB' could be declared final |
| 5399 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
50 |
Local variable 'result' could be declared final |
| 5400 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
57 |
Local variable 'sqlB' could be declared final |
| 5401 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
62 |
Local variable 'result' could be declared final |
| 5402 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
69 |
Avoid variables with short names like id |
| 5403 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
69 |
The method 'delete' has a Cyclomatic Complexity of 12. |
| 5404 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
69 |
The method delete() has an NPath complexity of 631 |
| 5405 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
71 |
Local variable 'head' could be declared final |
| 5406 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
75 |
Avoid variables with short names like it |
| 5407 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
78 |
Avoid variables with short names like ok |
| 5408 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
79 |
Avoid variables with short names like ov |
| 5409 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
95 |
Found 'DD'-anomaly for variable 'subFkField' (lines '95'-'102'). |
| 5410 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
96 |
Avoid variables with short names like it |
| 5411 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
97 |
This for loop could be simplified to a while loop |
| 5412 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
101 |
These nested if statements could be combined |
| 5413 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
102 |
Found 'DD'-anomaly for variable 'subFkField' (lines '102'-'102'). |
| 5414 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
113 |
Avoid printStackTrace(); use a logger call instead. |
| 5415 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
114 |
A method should have only one exit point, and that should be the last statement in the method |
| 5416 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
149 |
A method should have only one exit point, and that should be the last statement in the method |
| 5417 |
src/org/jeecgframework/web/cgform/service/impl/autolist/CgTableServiceImpl.java |
161 |
New exception is thrown in catch block, original stack trace may be lost |
| 5418 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
35 |
Avoid excessively long variable names like tablePropertyService |
| 5419 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
35 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5420 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
37 |
Avoid excessively long variable names like cgformButtonService |
| 5421 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
37 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5422 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
39 |
Avoid excessively long variable names like cgformEnhanceJsService |
| 5423 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
39 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5424 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
45 |
Parameter 'jversion' is not assigned and could be declared final |
| 5425 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
45 |
Parameter 'tableName' is not assigned and could be declared final |
| 5426 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
47 |
Local variable 'configs' could be declared final |
| 5427 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
49 |
Found 'DD'-anomaly for variable 'tableEntity' (lines '49'-'51'). |
| 5428 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
54 |
Avoid printStackTrace(); use a logger call instead. |
| 5429 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
55 |
Avoid throwing raw exception types. |
| 5430 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
55 |
New exception is thrown in catch block, original stack trace may be lost |
| 5431 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
60 |
Parameter 'configs' is not assigned and could be declared final |
| 5432 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
60 |
Parameter 'tableEntity' is not assigned and could be declared final |
| 5433 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
62 |
Local variable 'columns' could be declared final |
| 5434 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
72 |
Local variable 'formId' could be declared final |
| 5435 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
73 |
Local variable 'buttons' could be declared final |
| 5436 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
74 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 5437 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
75 |
Found 'DD'-anomaly for variable 'jsCode' (lines '75'-'78'). |
| 5438 |
src/org/jeecgframework/web/cgform/service/impl/autolist/ConfigServiceImpl.java |
76 |
Local variable 'jsEnhance' could be declared final |
| 5439 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 5440 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
44 |
The class 'DataBaseServiceImpl' has a Cyclomatic Complexity of 6 (Highest = 19). |
| 5441 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
44 |
This class has too many methods, consider refactoring it. |
| 5442 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
45 |
Variables that are final and static should be in all caps. |
| 5443 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
47 |
Avoid excessively long variable names like cgFormFieldService |
| 5444 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
47 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5445 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
49 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5446 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
51 |
Avoid unused private fields such as 'jdbcTemplate'. |
| 5447 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
58 |
Local variable 'cgFormHeadEntity' could be declared final |
| 5448 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
58 |
Parameter 'data' is not assigned and could be declared final |
| 5449 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
58 |
Parameter 'tableName' is not assigned and could be declared final |
| 5450 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
58 |
The method 'insertTable' has a Cyclomatic Complexity of 10. |
| 5451 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
65 |
Found 'DU'-anomaly for variable 'comma' (lines '65'-'101'). |
| 5452 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
66 |
Local variable 'insertKey' could be declared final |
| 5453 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
67 |
Local variable 'insertValue' could be declared final |
| 5454 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
72 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 5455 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
74 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 5456 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
76 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 5457 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
78 |
Found 'DU'-anomaly for variable 'comma' (lines '78'-'101'). |
| 5458 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
82 |
Local variable 'sql' could be declared final |
| 5459 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
83 |
Found 'DD'-anomaly for variable 'key' (lines '83'-'87'). |
| 5460 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
87 |
Found 'DU'-anomaly for variable 'key' (lines '87'-'101'). |
| 5461 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
88 |
Avoid empty catch blocks |
| 5462 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
91 |
Avoid printStackTrace(); use a logger call instead. |
| 5463 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
92 |
A method should have only one exit point, and that should be the last statement in the method |
| 5464 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
94 |
No need to check for null before an instanceof |
| 5465 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
107 |
Parameter 'cgFormHeadEntity' is not assigned and could be declared final |
| 5466 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
108 |
Parameter 'data' is not assigned and could be declared final |
| 5467 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
109 |
Local variable 'pkType' could be declared final |
| 5468 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
110 |
Found 'DU'-anomaly for variable 'dbType' (lines '110'-'117'). |
| 5469 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
112 |
These nested if statements could be combined |
| 5470 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
123 |
Parameter 'data' is not assigned and could be declared final |
| 5471 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
123 |
The method 'dataAdapter' has a Cyclomatic Complexity of 14. |
| 5472 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
127 |
Avoid variables with short names like it |
| 5473 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
128 |
This for loop could be simplified to a while loop |
| 5474 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
141 |
Found 'DD'-anomaly for variable 'newV' (lines '141'-'141'). |
| 5475 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
141 |
Found 'DD'-anomaly for variable 'newV' (lines '141'-'145'). |
| 5476 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
141 |
Found 'DD'-anomaly for variable 'newV' (lines '141'-'147'). |
| 5477 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
141 |
Found 'DD'-anomaly for variable 'newV' (lines '141'-'157'). |
| 5478 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
141 |
Found 'DU'-anomaly for variable 'newV' (lines '141'-'181'). |
| 5479 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
145 |
Avoid instantiating new objects inside loops |
| 5480 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
145 |
Found 'DD'-anomaly for variable 'newV' (lines '145'-'141'). |
| 5481 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
145 |
Found 'DD'-anomaly for variable 'newV' (lines '145'-'157'). |
| 5482 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
145 |
Found 'DU'-anomaly for variable 'newV' (lines '145'-'181'). |
| 5483 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
145 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 5484 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
147 |
Avoid instantiating new objects inside loops |
| 5485 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
147 |
Found 'DD'-anomaly for variable 'newV' (lines '147'-'141'). |
| 5486 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
147 |
Found 'DD'-anomaly for variable 'newV' (lines '147'-'157'). |
| 5487 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
147 |
Found 'DU'-anomaly for variable 'newV' (lines '147'-'181'). |
| 5488 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
147 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 5489 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
153 |
Avoid printStackTrace(); use a logger call instead. |
| 5490 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
157 |
Found 'DD'-anomaly for variable 'newV' (lines '157'-'159'). |
| 5491 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
159 |
Found 'DD'-anomaly for variable 'newV' (lines '159'-'141'). |
| 5492 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
159 |
Found 'DD'-anomaly for variable 'newV' (lines '159'-'157'). |
| 5493 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
159 |
Found 'DU'-anomaly for variable 'newV' (lines '159'-'181'). |
| 5494 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
161 |
Avoid printStackTrace(); use a logger call instead. |
| 5495 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
168 |
Avoid instantiating new objects inside loops |
| 5496 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
172 |
Avoid printStackTrace(); use a logger call instead. |
| 5497 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
190 |
Avoid variables with short names like id |
| 5498 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
193 |
Found 'DU'-anomaly for variable 'comma' (lines '193'-'220'). |
| 5499 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
194 |
StringBuffer constructor is initialized with size 16, but has at least 17 characters appended. |
| 5500 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
204 |
Found 'DU'-anomaly for variable 'comma' (lines '204'-'220'). |
| 5501 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
209 |
Avoid appending characters as strings in StringBuffer.append. |
| 5502 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
228 |
Avoid variables with short names like id |
| 5503 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
229 |
StringBuffer constructor is initialized with size 16, but has at least 26 characters appended. |
| 5504 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
231 |
Avoid appending characters as strings in StringBuffer.append. |
| 5505 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
233 |
Consider simply returning the value vs storing it in local variable 'map' |
| 5506 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
249 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 5507 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
250 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 5508 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
273 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 5509 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
274 |
A method should have only one exit point, and that should be the last statement in the method |
| 5510 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
286 |
Avoid reassigning parameters such as 'sql' |
| 5511 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
286 |
Avoid reassigning parameters such as 'sql' |
| 5512 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
286 |
Avoid reassigning parameters such as 'sql' |
| 5513 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
289 |
A method should have only one exit point, and that should be the last statement in the method |
| 5514 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
291 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 5515 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
303 |
Avoid reassigning parameters such as 'mapMore' |
| 5516 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
305 |
Found 'DD'-anomaly for variable 'mainMap' (lines '305'-'308'). |
| 5517 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
317 |
Avoid variables with short names like it |
| 5518 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
320 |
Avoid variables with short names like ok |
| 5519 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
320 |
Found 'DD'-anomaly for variable 'ok' (lines '320'-'320'). |
| 5520 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
320 |
Found 'DU'-anomaly for variable 'ok' (lines '320'-'332'). |
| 5521 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
336 |
Avoid reassigning parameters such as 'mapMore' |
| 5522 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
376 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 5523 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
402 |
Consider simply returning the value vs storing it in local variable 'list' |
| 5524 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
420 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 5525 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
442 |
The method 'getPkValue' has a Cyclomatic Complexity of 19. |
| 5526 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
443 |
Found 'DD'-anomaly for variable 'pkValue' (lines '443'-'449'). |
| 5527 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
443 |
Found 'DD'-anomaly for variable 'pkValue' (lines '443'-'454'). |
| 5528 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
443 |
Found 'DD'-anomaly for variable 'pkValue' (lines '443'-'461'). |
| 5529 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
443 |
Found 'DD'-anomaly for variable 'pkValue' (lines '443'-'466'). |
| 5530 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
443 |
Found 'DD'-anomaly for variable 'pkValue' (lines '443'-'472'). |
| 5531 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
443 |
Found 'DD'-anomaly for variable 'pkValue' (lines '443'-'479'). |
| 5532 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
443 |
Found 'DD'-anomaly for variable 'pkValue' (lines '443'-'484'). |
| 5533 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
443 |
Found 'DD'-anomaly for variable 'pkValue' (lines '443'-'487'). |
| 5534 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
445 |
Found 'DU'-anomaly for variable 'dbType' (lines '445'-'490'). |
| 5535 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
447 |
Found 'DU'-anomaly for variable 'pkSequence' (lines '447'-'490'). |
| 5536 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
466 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 5537 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
484 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 5538 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
508 |
The method fillUpdateSysVar() has an NPath complexity of 256 |
| 5539 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
539 |
The method fillInsertSysVar() has an NPath complexity of 256 |
| 5540 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
586 |
Consider simply returning the value vs storing it in local variable 'map' |
| 5541 |
src/org/jeecgframework/web/cgform/service/impl/build/DataBaseServiceImpl.java |
591 |
Found 'DD'-anomaly for variable 'flag' (lines '591'-'593'). |
| 5542 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonServiceImpl.java |
22 |
Parameter 'formId' is not assigned and could be declared final |
| 5543 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonServiceImpl.java |
23 |
Local variable 'hql' could be declared final |
| 5544 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonServiceImpl.java |
26 |
Local variable 'list' could be declared final |
| 5545 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonServiceImpl.java |
27 |
Consider simply returning the value vs storing it in local variable 'list' |
| 5546 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonServiceImpl.java |
36 |
Avoid excessively long variable names like cgformButtonEntity |
| 5547 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonServiceImpl.java |
36 |
Parameter 'cgformButtonEntity' is not assigned and could be declared final |
| 5548 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonServiceImpl.java |
37 |
Local variable 'hql' could be declared final |
| 5549 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonServiceImpl.java |
44 |
Local variable 'list' could be declared final |
| 5550 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonServiceImpl.java |
45 |
Consider simply returning the value vs storing it in local variable 'list' |
| 5551 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonSqlServiceImpl.java |
23 |
Avoid excessively long variable names like cgformButtonSqlEntity |
| 5552 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonSqlServiceImpl.java |
23 |
Parameter 'cgformButtonSqlEntity' is not assigned and could be declared final |
| 5553 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonSqlServiceImpl.java |
24 |
Local variable 'hql' could be declared final |
| 5554 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonSqlServiceImpl.java |
31 |
Local variable 'list' could be declared final |
| 5555 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonSqlServiceImpl.java |
32 |
Consider simply returning the value vs storing it in local variable 'list' |
| 5556 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonSqlServiceImpl.java |
36 |
Parameter 'buttonCode' is not assigned and could be declared final |
| 5557 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonSqlServiceImpl.java |
36 |
Parameter 'formId' is not assigned and could be declared final |
| 5558 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonSqlServiceImpl.java |
37 |
Local variable 'hql' could be declared final |
| 5559 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonSqlServiceImpl.java |
41 |
Local variable 'list' could be declared final |
| 5560 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonSqlServiceImpl.java |
42 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 5561 |
src/org/jeecgframework/web/cgform/service/impl/button/CgformButtonSqlServiceImpl.java |
43 |
A method should have only one exit point, and that should be the last statement in the method |
| 5562 |
src/org/jeecgframework/web/cgform/service/impl/cgformftl/CgformFtlServiceImpl.java |
9 |
Avoid unused imports such as 'org.jeecgframework.core.util.DBTypeUtil' |
| 5563 |
src/org/jeecgframework/web/cgform/service/impl/cgformftl/CgformFtlServiceImpl.java |
9 |
Avoid unused imports such as 'org.jeecgframework.core.util.DBTypeUtil' |
| 5564 |
src/org/jeecgframework/web/cgform/service/impl/cgformftl/CgformFtlServiceImpl.java |
21 |
Parameter 'tableName' is not assigned and could be declared final |
| 5565 |
src/org/jeecgframework/web/cgform/service/impl/cgformftl/CgformFtlServiceImpl.java |
22 |
Local variable 'sql' could be declared final |
| 5566 |
src/org/jeecgframework/web/cgform/service/impl/cgformftl/CgformFtlServiceImpl.java |
27 |
Local variable 'list' could be declared final |
| 5567 |
src/org/jeecgframework/web/cgform/service/impl/cgformftl/CgformFtlServiceImpl.java |
28 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 5568 |
src/org/jeecgframework/web/cgform/service/impl/cgformftl/CgformFtlServiceImpl.java |
29 |
A method should have only one exit point, and that should be the last statement in the method |
| 5569 |
src/org/jeecgframework/web/cgform/service/impl/cgformftl/CgformFtlServiceImpl.java |
35 |
Parameter 'cgformId' is not assigned and could be declared final |
| 5570 |
src/org/jeecgframework/web/cgform/service/impl/cgformftl/CgformFtlServiceImpl.java |
36 |
Local variable 'sql' could be declared final |
| 5571 |
src/org/jeecgframework/web/cgform/service/impl/cgformftl/CgformFtlServiceImpl.java |
39 |
Local variable 'map' could be declared final |
| 5572 |
src/org/jeecgframework/web/cgform/service/impl/cgformftl/CgformFtlServiceImpl.java |
41 |
Local variable 'varsion' could be declared final |
| 5573 |
src/org/jeecgframework/web/cgform/service/impl/cgformftl/CgformFtlServiceImpl.java |
42 |
A method should have only one exit point, and that should be the last statement in the method |
| 5574 |
src/org/jeecgframework/web/cgform/service/impl/cgformftl/CgformFtlServiceImpl.java |
42 |
Consider simply returning the value vs storing it in local variable 'varsion' |
| 5575 |
src/org/jeecgframework/web/cgform/service/impl/cgformftl/CgformFtlServiceImpl.java |
48 |
Parameter 'cgformId' is not assigned and could be declared final |
| 5576 |
src/org/jeecgframework/web/cgform/service/impl/cgformftl/CgformFtlServiceImpl.java |
55 |
A method should have only one exit point, and that should be the last statement in the method |
| 5577 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 5578 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
22 |
Avoid unused imports such as 'org.jeecgframework.web.cgform.exception.DBException' |
| 5579 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
22 |
Avoid unused imports such as 'org.jeecgframework.web.cgform.exception.DBException' |
| 5580 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
33 |
Avoid unused imports such as 'org.hibernate.exception.GenericJDBCException' |
| 5581 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
33 |
Avoid unused imports such as 'org.hibernate.exception.GenericJDBCException' |
| 5582 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
50 |
The class 'CgFormFieldServiceImpl' has a Cyclomatic Complexity of 5 (Highest = 14). |
| 5583 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
51 |
This class has too many methods, consider refactoring it. |
| 5584 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
55 |
Variables that are final and static should be in all caps. |
| 5585 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
63 |
Avoid unused private fields such as 'jdbcTemplate'. |
| 5586 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
65 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5587 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
67 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5588 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
69 |
Avoid excessively long variable names like cgformEnhanceJsService |
| 5589 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
69 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5590 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
71 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5591 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
74 |
Avoid variables with short names like t |
| 5592 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
74 |
Parameter 'sign' is not assigned and could be declared final |
| 5593 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
74 |
Parameter 't' is not assigned and could be declared final |
| 5594 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
74 |
Use block level rather than method level synchronization |
| 5595 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
76 |
Avoid excessively long variable names like databaseFieldIsChange |
| 5596 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
76 |
Found 'DD'-anomaly for variable 'databaseFieldIsChange' (lines '76'-'86'). |
| 5597 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
86 |
Found 'DD'-anomaly for variable 'databaseFieldIsChange' (lines '86'-'86'). |
| 5598 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
89 |
Avoid variables with short names like c |
| 5599 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
89 |
Local variable 'c' could be declared final |
| 5600 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
91 |
Found 'DD'-anomaly for variable 'databaseFieldIsChange' (lines '91'-'86'). |
| 5601 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
96 |
Avoid printStackTrace(); use a logger call instead. |
| 5602 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
105 |
Local variable 'newVerion' could be declared final |
| 5603 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
117 |
Parameter 'oldColumn' is not assigned and could be declared final |
| 5604 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
117 |
The method 'databaseFieldIsChange' has a Cyclomatic Complexity of 12. |
| 5605 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
118 |
Parameter 'newColumn' is not assigned and could be declared final |
| 5606 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
132 |
A method should have only one exit point, and that should be the last statement in the method |
| 5607 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
139 |
Parameter 'cgFormHead' is not assigned and could be declared final |
| 5608 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
160 |
Avoid variables with short names like a |
| 5609 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
174 |
Found 'DD'-anomaly for variable 'conn' (lines '174'-'179'). |
| 5610 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
175 |
Avoid variables with short names like rs |
| 5611 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
175 |
Found 'DD'-anomaly for variable 'rs' (lines '175'-'189'). |
| 5612 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
176 |
Found 'DD'-anomaly for variable 'tableNamePattern' (lines '176'-'183'). |
| 5613 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
176 |
Found 'DD'-anomaly for variable 'tableNamePattern' (lines '176'-'186'). |
| 5614 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
178 |
Local variable 'types' could be declared final |
| 5615 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
181 |
Local variable 'dataBaseType' could be declared final |
| 5616 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
183 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 5617 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
186 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 5618 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
188 |
Local variable 'dbMetaData' could be declared final |
| 5619 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
191 |
A method should have only one exit point, and that should be the last statement in the method |
| 5620 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
196 |
New exception is thrown in catch block, original stack trace may be lost |
| 5621 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
202 |
Avoid printStackTrace(); use a logger call instead. |
| 5622 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
212 |
The method 'dbSynch' has a Cyclomatic Complexity of 11. |
| 5623 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
234 |
New exception is thrown in catch block, original stack trace may be lost |
| 5624 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
254 |
New exception is thrown in catch block, original stack trace may be lost |
| 5625 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
257 |
Avoid using exceptions as flow control. |
| 5626 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
257 |
Avoid using exceptions as flow control. |
| 5627 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
259 |
New exception is thrown in catch block, original stack trace may be lost |
| 5628 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
262 |
New exception is thrown in catch block, original stack trace may be lost |
| 5629 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
289 |
Consider simply returning the value vs storing it in local variable 'list' |
| 5630 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
295 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 5631 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
311 |
The String literal "from CgFormFieldEntity f" appears 4 times in this file; the first occurrence is on line 311 |
| 5632 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
315 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 5633 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
331 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 5634 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
348 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 5635 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
362 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 5636 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
363 |
A method should have only one exit point, and that should be the last statement in the method |
| 5637 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
402 |
Found 'DU'-anomaly for variable 'thisSubTable' (lines '402'-'434'). |
| 5638 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
420 |
Avoid if (x != y) ..; else ..; |
| 5639 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
421 |
Prefer StringBuffer over += for concatenating strings |
| 5640 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
423 |
Prefer StringBuffer over += for concatenating strings |
| 5641 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
437 |
The method 'removeSubTableStr4Main' has a Cyclomatic Complexity of 10. |
| 5642 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
439 |
A method should have only one exit point, and that should be the last statement in the method |
| 5643 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
442 |
Found 'DU'-anomaly for variable 'thisSubTable' (lines '442'-'478'). |
| 5644 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
481 |
The method 'sortSubTableStr' has a Cyclomatic Complexity of 14. |
| 5645 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
481 |
The method sortSubTableStr() has an NPath complexity of 660 |
| 5646 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
482 |
Avoid using if statements without curly braces |
| 5647 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
483 |
A method should have only one exit point, and that should be the last statement in the method |
| 5648 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
484 |
Found 'DD'-anomaly for variable 'main' (lines '484'-'494'). |
| 5649 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
484 |
Found 'DD'-anomaly for variable 'main' (lines '484'-'494'). |
| 5650 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
494 |
Found 'DD'-anomaly for variable 'main' (lines '494'-'494'). |
| 5651 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
494 |
Found 'DD'-anomaly for variable 'main' (lines '494'-'494'). |
| 5652 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
503 |
Avoid using if statements without curly braces |
| 5653 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
525 |
Prefer StringBuffer over += for concatenating strings |
| 5654 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
542 |
Avoid variables with short names like id |
| 5655 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
562 |
Found 'DD'-anomaly for variable 'subtableVo' (lines '562'-'575'). |
| 5656 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
562 |
Found 'DU'-anomaly for variable 'subtableVo' (lines '562'-'623'). |
| 5657 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
566 |
Found 'DD'-anomaly for variable 'subTalbeFieldList' (lines '566'-'569'). |
| 5658 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
566 |
Found 'DU'-anomaly for variable 'subTalbeFieldList' (lines '566'-'623'). |
| 5659 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
567 |
Avoid excessively long variable names like subTalbeHiddenFieldList |
| 5660 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
567 |
Found 'DD'-anomaly for variable 'subTalbeHiddenFieldList' (lines '567'-'571'). |
| 5661 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
567 |
Found 'DU'-anomaly for variable 'subTalbeHiddenFieldList' (lines '567'-'623'). |
| 5662 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
575 |
Avoid instantiating new objects inside loops |
| 5663 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
586 |
Found 'DD'-anomaly for variable 'fieldList' (lines '586'-'589'). |
| 5664 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
586 |
Found 'DD'-anomaly for variable 'fieldList' (lines '586'-'595'). |
| 5665 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
602 |
Avoid if (x != y) ..; else ..; |
| 5666 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
615 |
Found 'DD'-anomaly for variable 'jsCode' (lines '615'-'619'). |
| 5667 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
646 |
Use block level rather than method level synchronization |
| 5668 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
650 |
Do not add empty strings |
| 5669 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
652 |
Avoid printStackTrace(); use a logger call instead. |
| 5670 |
src/org/jeecgframework/web/cgform/service/impl/config/CgFormFieldServiceImpl.java |
681 |
Found 'DD'-anomaly for variable 'result' (lines '681'-'685'). |
| 5671 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
12 |
The class 'DbTableMysqlHandleImpl' has a Cyclomatic Complexity of 3 (Highest = 21). |
| 5672 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
15 |
Parameter 'columnMeta' is not assigned and could be declared final |
| 5673 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
20 |
Parameter 'columnMeta' is not assigned and could be declared final |
| 5674 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
25 |
Parameter 'cgformcolumnMeta' is not assigned and could be declared final |
| 5675 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
25 |
Parameter 'datacolumnMeta' is not assigned and could be declared final |
| 5676 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
30 |
Parameter 'dataType' is not assigned and could be declared final |
| 5677 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
31 |
Found 'DD'-anomaly for variable 'result' (lines '31'-'33'). |
| 5678 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
31 |
Found 'DD'-anomaly for variable 'result' (lines '31'-'35'). |
| 5679 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
31 |
Found 'DD'-anomaly for variable 'result' (lines '31'-'37'). |
| 5680 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
31 |
Found 'DD'-anomaly for variable 'result' (lines '31'-'39'). |
| 5681 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
31 |
Found 'DD'-anomaly for variable 'result' (lines '31'-'41'). |
| 5682 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
31 |
Found 'DD'-anomaly for variable 'result' (lines '31'-'43'). |
| 5683 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
31 |
Found 'DD'-anomaly for variable 'result' (lines '31'-'45'). |
| 5684 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
31 |
Found 'DD'-anomaly for variable 'result' (lines '31'-'47'). |
| 5685 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
67 |
Avoid unused method parameters such as 'datacolumnMeta'. |
| 5686 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
67 |
The method 'getFieldDesc' has a Cyclomatic Complexity of 21. |
| 5687 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
67 |
The method getFieldDesc() has an NPath complexity of 4500 |
| 5688 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
68 |
Found 'DD'-anomaly for variable 'result' (lines '68'-'70'). |
| 5689 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
68 |
Found 'DD'-anomaly for variable 'result' (lines '68'-'72'). |
| 5690 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
68 |
Found 'DD'-anomaly for variable 'result' (lines '68'-'74'). |
| 5691 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
68 |
Found 'DD'-anomaly for variable 'result' (lines '68'-'76'). |
| 5692 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
68 |
Found 'DD'-anomaly for variable 'result' (lines '68'-'78'). |
| 5693 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
68 |
Found 'DD'-anomaly for variable 'result' (lines '68'-'80'). |
| 5694 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
68 |
Found 'DD'-anomaly for variable 'result' (lines '68'-'82'). |
| 5695 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
70 |
The String literal "NOT NULL" appears 7 times in this file; the first occurrence is on line 70 |
| 5696 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
70 |
The String literal "NULL" appears 7 times in this file; the first occurrence is on line 70 |
| 5697 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
84 |
Prefer StringBuffer over += for concatenating strings |
| 5698 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
85 |
Prefer StringBuffer over += for concatenating strings |
| 5699 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
86 |
Local variable 'pkType' could be declared final |
| 5700 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
89 |
Prefer StringBuffer over += for concatenating strings |
| 5701 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
95 |
Local variable 'result' could be declared final |
| 5702 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
96 |
Consider simply returning the value vs storing it in local variable 'result' |
| 5703 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
100 |
Local variable 'result' could be declared final |
| 5704 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
101 |
Consider simply returning the value vs storing it in local variable 'result' |
| 5705 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
105 |
Local variable 'result' could be declared final |
| 5706 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableMysqlHandleImpl.java |
106 |
Consider simply returning the value vs storing it in local variable 'result' |
| 5707 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
13 |
The class 'DbTableOracleHandleImpl' has a Cyclomatic Complexity of 4 (Highest = 10). |
| 5708 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
16 |
Parameter 'columnMeta' is not assigned and could be declared final |
| 5709 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
17 |
Do not add empty strings |
| 5710 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
21 |
Parameter 'columnMeta' is not assigned and could be declared final |
| 5711 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
22 |
Do not add empty strings |
| 5712 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
26 |
Parameter 'cgformcolumnMeta' is not assigned and could be declared final |
| 5713 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
26 |
Parameter 'datacolumnMeta' is not assigned and could be declared final |
| 5714 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
27 |
Do not add empty strings |
| 5715 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
31 |
Parameter 'dataType' is not assigned and could be declared final |
| 5716 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
31 |
The method 'getMatchClassTypeByDataType' has a Cyclomatic Complexity of 10. |
| 5717 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
32 |
Found 'DD'-anomaly for variable 'result' (lines '32'-'34'). |
| 5718 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
32 |
Found 'DD'-anomaly for variable 'result' (lines '32'-'36'). |
| 5719 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
32 |
Found 'DD'-anomaly for variable 'result' (lines '32'-'38'). |
| 5720 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
32 |
Found 'DD'-anomaly for variable 'result' (lines '32'-'40'). |
| 5721 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
32 |
Found 'DD'-anomaly for variable 'result' (lines '32'-'42'). |
| 5722 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
32 |
Found 'DD'-anomaly for variable 'result' (lines '32'-'44'). |
| 5723 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
32 |
Found 'DD'-anomaly for variable 'result' (lines '32'-'46'). |
| 5724 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
35 |
The String literal "double" appears 5 times in this file; the first occurrence is on line 35 |
| 5725 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
38 |
The String literal "int" appears 5 times in this file; the first occurrence is on line 38 |
| 5726 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
44 |
The String literal "date" appears 4 times in this file; the first occurrence is on line 44 |
| 5727 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
53 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 5728 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
58 |
Do not add empty strings |
| 5729 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
58 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 5730 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
61 |
The method 'getAddFieldDesc' has a Cyclomatic Complexity of 10. |
| 5731 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
61 |
The method getAddFieldDesc() has an NPath complexity of 200 |
| 5732 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
62 |
Found 'DD'-anomaly for variable 'result' (lines '62'-'64'). |
| 5733 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
62 |
Found 'DD'-anomaly for variable 'result' (lines '62'-'66'). |
| 5734 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
62 |
Found 'DD'-anomaly for variable 'result' (lines '62'-'68'). |
| 5735 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
62 |
Found 'DD'-anomaly for variable 'result' (lines '62'-'70'). |
| 5736 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
62 |
Found 'DD'-anomaly for variable 'result' (lines '62'-'72'). |
| 5737 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
62 |
Found 'DD'-anomaly for variable 'result' (lines '62'-'74'). |
| 5738 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
62 |
Found 'DD'-anomaly for variable 'result' (lines '62'-'76'). |
| 5739 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
68 |
The String literal " NUMBER(" appears 6 times in this file; the first occurrence is on line 68 |
| 5740 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
78 |
Prefer StringBuffer over += for concatenating strings |
| 5741 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
79 |
Prefer StringBuffer over += for concatenating strings |
| 5742 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
82 |
The method 'getUpdateFieldDesc' has a Cyclomatic Complexity of 10. |
| 5743 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
82 |
The method getUpdateFieldDesc() has an NPath complexity of 210 |
| 5744 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
83 |
Found 'DD'-anomaly for variable 'result' (lines '83'-'100'). |
| 5745 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
83 |
Found 'DD'-anomaly for variable 'result' (lines '83'-'102'). |
| 5746 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
83 |
Found 'DD'-anomaly for variable 'result' (lines '83'-'91'). |
| 5747 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
83 |
Found 'DD'-anomaly for variable 'result' (lines '83'-'94'). |
| 5748 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
83 |
Found 'DD'-anomaly for variable 'result' (lines '83'-'97'). |
| 5749 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
84 |
Found 'DD'-anomaly for variable 'isnull' (lines '84'-'87'). |
| 5750 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
104 |
Prefer StringBuffer over += for concatenating strings |
| 5751 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableOracleHandleImpl.java |
105 |
Prefer StringBuffer over += for concatenating strings |
| 5752 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
5 |
Avoid unused imports such as 'org.jeecgframework.web.cgform.exception.BusinessException' |
| 5753 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
5 |
Avoid unused imports such as 'org.jeecgframework.web.cgform.exception.BusinessException' |
| 5754 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
14 |
The class 'DbTablePostgresHandleImpl' has a Cyclomatic Complexity of 4 (Highest = 14). |
| 5755 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
17 |
Parameter 'columnMeta' is not assigned and could be declared final |
| 5756 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
22 |
Parameter 'columnMeta' is not assigned and could be declared final |
| 5757 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
27 |
Parameter 'cgformcolumnMeta' is not assigned and could be declared final |
| 5758 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
27 |
Parameter 'datacolumnMeta' is not assigned and could be declared final |
| 5759 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
32 |
Parameter 'cgformcolumnMeta' is not assigned and could be declared final |
| 5760 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
38 |
The method 'getMatchClassTypeByDataType' has a Cyclomatic Complexity of 10. |
| 5761 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
39 |
Found 'DD'-anomaly for variable 'result' (lines '39'-'41'). |
| 5762 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
39 |
Found 'DD'-anomaly for variable 'result' (lines '39'-'43'). |
| 5763 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
39 |
Found 'DD'-anomaly for variable 'result' (lines '39'-'45'). |
| 5764 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
39 |
Found 'DD'-anomaly for variable 'result' (lines '39'-'47'). |
| 5765 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
39 |
Found 'DD'-anomaly for variable 'result' (lines '39'-'49'). |
| 5766 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
39 |
Found 'DD'-anomaly for variable 'result' (lines '39'-'51'). |
| 5767 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
39 |
Found 'DD'-anomaly for variable 'result' (lines '39'-'53'). |
| 5768 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
39 |
Found 'DD'-anomaly for variable 'result' (lines '39'-'55'). |
| 5769 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
39 |
Found 'DD'-anomaly for variable 'result' (lines '39'-'58'). |
| 5770 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
41 |
The String literal "string" appears 5 times in this file; the first occurrence is on line 41 |
| 5771 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
42 |
The String literal "double" appears 6 times in this file; the first occurrence is on line 42 |
| 5772 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
44 |
The String literal "int" appears 6 times in this file; the first occurrence is on line 44 |
| 5773 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
47 |
The String literal "date" appears 6 times in this file; the first occurrence is on line 47 |
| 5774 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
52 |
The String literal "text" appears 5 times in this file; the first occurrence is on line 52 |
| 5775 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
73 |
Avoid unused method parameters such as 'datacolumnMeta'. |
| 5776 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
74 |
Found 'DD'-anomaly for variable 'result' (lines '74'-'77'). |
| 5777 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
74 |
Found 'DD'-anomaly for variable 'result' (lines '74'-'79'). |
| 5778 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
74 |
Found 'DD'-anomaly for variable 'result' (lines '74'-'82'). |
| 5779 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
74 |
Found 'DD'-anomaly for variable 'result' (lines '74'-'84'). |
| 5780 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
74 |
Found 'DD'-anomaly for variable 'result' (lines '74'-'86'). |
| 5781 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
74 |
Found 'DD'-anomaly for variable 'result' (lines '74'-'88'). |
| 5782 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
74 |
Found 'DU'-anomaly for variable 'result' (lines '74'-'94'). |
| 5783 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
96 |
The method 'getUpdateFieldDefault' has a Cyclomatic Complexity of 14. |
| 5784 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
97 |
Found 'DD'-anomaly for variable 'result' (lines '97'-'101'). |
| 5785 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
97 |
Found 'DD'-anomaly for variable 'result' (lines '97'-'104'). |
| 5786 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
97 |
Found 'DD'-anomaly for variable 'result' (lines '97'-'107'). |
| 5787 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
97 |
Found 'DD'-anomaly for variable 'result' (lines '97'-'110'). |
| 5788 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
97 |
Found 'DD'-anomaly for variable 'result' (lines '97'-'113'). |
| 5789 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
97 |
Found 'DD'-anomaly for variable 'result' (lines '97'-'116'). |
| 5790 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
102 |
Prefer StringBuffer over += for concatenating strings |
| 5791 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
105 |
Prefer StringBuffer over += for concatenating strings |
| 5792 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
108 |
Prefer StringBuffer over += for concatenating strings |
| 5793 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
111 |
Prefer StringBuffer over += for concatenating strings |
| 5794 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
114 |
Prefer StringBuffer over += for concatenating strings |
| 5795 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
126 |
Found 'DD'-anomaly for variable 'result' (lines '126'-'128'). |
| 5796 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
126 |
Found 'DD'-anomaly for variable 'result' (lines '126'-'130'). |
| 5797 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
126 |
Found 'DD'-anomaly for variable 'result' (lines '126'-'132'). |
| 5798 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
126 |
Found 'DD'-anomaly for variable 'result' (lines '126'-'134'). |
| 5799 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
126 |
Found 'DD'-anomaly for variable 'result' (lines '126'-'136'). |
| 5800 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
126 |
Found 'DD'-anomaly for variable 'result' (lines '126'-'138'). |
| 5801 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
126 |
Found 'DD'-anomaly for variable 'result' (lines '126'-'140'). |
| 5802 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
146 |
Avoid unused private methods such as 'getRenameFieldDesc(ColumnMeta)'. |
| 5803 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
147 |
Found 'DD'-anomaly for variable 'result' (lines '147'-'149'). |
| 5804 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
147 |
Found 'DD'-anomaly for variable 'result' (lines '147'-'151'). |
| 5805 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
147 |
Found 'DD'-anomaly for variable 'result' (lines '147'-'153'). |
| 5806 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTablePostgresHandleImpl.java |
147 |
Found 'DD'-anomaly for variable 'result' (lines '147'-'155'). |
| 5807 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
28 |
Parameter 'cgFormHead' is not assigned and could be declared final |
| 5808 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
29 |
Avoid variables with short names like sb |
| 5809 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
29 |
Local variable 'sb' could be declared final |
| 5810 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
32 |
Found 'DD'-anomaly for variable 'agoColumn' (lines '32'-'37'). |
| 5811 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
32 |
Found 'DD'-anomaly for variable 'column' (lines '32'-'38'). |
| 5812 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
32 |
Found 'DU'-anomaly for variable 'agoColumn' (lines '32'-'47'). |
| 5813 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
32 |
Found 'DU'-anomaly for variable 'column' (lines '32'-'47'). |
| 5814 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
41 |
Prefer StringBuffer over += for concatenating strings |
| 5815 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
50 |
Parameter 'tableProperty' is not assigned and could be declared final |
| 5816 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
55 |
Parameter 'cgFormHead' is not assigned and could be declared final |
| 5817 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
55 |
Parameter 'jdbcTemplate' is not assigned and could be declared final |
| 5818 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
56 |
Local variable 'sql' could be declared final |
| 5819 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
59 |
Local variable 'fieldMap' could be declared final |
| 5820 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
60 |
Avoid variables with short names like sb |
| 5821 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
60 |
Local variable 'sb' could be declared final |
| 5822 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
62 |
Found 'DD'-anomaly for variable 'agoColumn' (lines '62'-'67'). |
| 5823 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
62 |
Found 'DD'-anomaly for variable 'column' (lines '62'-'68'). |
| 5824 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
62 |
Found 'DU'-anomaly for variable 'agoColumn' (lines '62'-'90'). |
| 5825 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
62 |
Found 'DU'-anomaly for variable 'column' (lines '62'-'90'). |
| 5826 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
77 |
Prefer StringBuffer over += for concatenating strings |
| 5827 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
82 |
Avoid variables with short names like c |
| 5828 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
82 |
Local variable 'c' could be declared final |
| 5829 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
83 |
Avoid variables with short names like it |
| 5830 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
84 |
This for loop could be simplified to a while loop |
| 5831 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
98 |
Parameter 'agoColumn' is not assigned and could be declared final |
| 5832 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
129 |
Prefer StringBuffer over += for concatenating strings |
| 5833 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
130 |
Prefer StringBuffer over += for concatenating strings |
| 5834 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
132 |
Found 'DD'-anomaly for variable 'agoFiled' (lines '132'-'134'). |
| 5835 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
136 |
Prefer StringBuffer over += for concatenating strings |
| 5836 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
148 |
Found 'DD'-anomaly for variable 'result' (lines '148'-'150'). |
| 5837 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
148 |
Found 'DD'-anomaly for variable 'result' (lines '148'-'152'). |
| 5838 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
148 |
Found 'DD'-anomaly for variable 'result' (lines '148'-'154'). |
| 5839 |
src/org/jeecgframework/web/cgform/service/impl/config/DbTableServiceMysqlImpl.java |
148 |
Found 'DD'-anomaly for variable 'result' (lines '148'-'156'). |
| 5840 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
13 |
The class 'TableSQLServerHandleImpl' has a Cyclomatic Complexity of 5 (Highest = 16). |
| 5841 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
16 |
Parameter 'columnMeta' is not assigned and could be declared final |
| 5842 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
21 |
Parameter 'columnMeta' is not assigned and could be declared final |
| 5843 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
28 |
Parameter 'cgformcolumnMeta' is not assigned and could be declared final |
| 5844 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
28 |
Parameter 'datacolumnMeta' is not assigned and could be declared final |
| 5845 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
33 |
Parameter 'dataType' is not assigned and could be declared final |
| 5846 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
34 |
Found 'DD'-anomaly for variable 'result' (lines '34'-'36'). |
| 5847 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
34 |
Found 'DD'-anomaly for variable 'result' (lines '34'-'38'). |
| 5848 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
34 |
Found 'DD'-anomaly for variable 'result' (lines '34'-'40'). |
| 5849 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
34 |
Found 'DD'-anomaly for variable 'result' (lines '34'-'42'). |
| 5850 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
34 |
Found 'DD'-anomaly for variable 'result' (lines '34'-'44'). |
| 5851 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
34 |
Found 'DD'-anomaly for variable 'result' (lines '34'-'46'). |
| 5852 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
36 |
The String literal "string" appears 4 times in this file; the first occurrence is on line 36 |
| 5853 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
37 |
The String literal "double" appears 6 times in this file; the first occurrence is on line 37 |
| 5854 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
39 |
The String literal "int" appears 5 times in this file; the first occurrence is on line 39 |
| 5855 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
42 |
The String literal "date" appears 5 times in this file; the first occurrence is on line 42 |
| 5856 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
61 |
Avoid unused method parameters such as 'datacolumnMeta'. |
| 5857 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
61 |
The method 'getUpdateFieldDesc' has a Cyclomatic Complexity of 10. |
| 5858 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
62 |
Found 'DD'-anomaly for variable 'result' (lines '62'-'64'). |
| 5859 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
62 |
Found 'DD'-anomaly for variable 'result' (lines '62'-'66'). |
| 5860 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
62 |
Found 'DD'-anomaly for variable 'result' (lines '62'-'68'). |
| 5861 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
62 |
Found 'DD'-anomaly for variable 'result' (lines '62'-'70'). |
| 5862 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
64 |
The String literal "NOT NULL" appears 15 times in this file; the first occurrence is on line 64 |
| 5863 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
72 |
Prefer StringBuffer over += for concatenating strings |
| 5864 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
76 |
The method 'getAddFieldDesc' has a Cyclomatic Complexity of 16. |
| 5865 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
77 |
Found 'DD'-anomaly for variable 'result' (lines '77'-'79'). |
| 5866 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
77 |
Found 'DD'-anomaly for variable 'result' (lines '77'-'81'). |
| 5867 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
77 |
Found 'DD'-anomaly for variable 'result' (lines '77'-'83'). |
| 5868 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
77 |
Found 'DD'-anomaly for variable 'result' (lines '77'-'85'). |
| 5869 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
77 |
Found 'DD'-anomaly for variable 'result' (lines '77'-'87'). |
| 5870 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
77 |
Found 'DD'-anomaly for variable 'result' (lines '77'-'89'). |
| 5871 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
77 |
Found 'DD'-anomaly for variable 'result' (lines '77'-'91'). |
| 5872 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
93 |
Prefer StringBuffer over += for concatenating strings |
| 5873 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
97 |
Avoid unused private methods such as 'getRenameFieldDesc(ColumnMeta)'. |
| 5874 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
98 |
Found 'DD'-anomaly for variable 'result' (lines '98'-'100'). |
| 5875 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
98 |
Found 'DD'-anomaly for variable 'result' (lines '98'-'102'). |
| 5876 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
98 |
Found 'DD'-anomaly for variable 'result' (lines '98'-'104'). |
| 5877 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
98 |
Found 'DD'-anomaly for variable 'result' (lines '98'-'106'). |
| 5878 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
113 |
Local variable 'commentSql' could be declared final |
| 5879 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
113 |
StringBuffer constructor is initialized with size 24, but has at least 105 characters appended. |
| 5880 |
src/org/jeecgframework/web/cgform/service/impl/config/TableSQLServerHandleImpl.java |
124 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 5881 |
src/org/jeecgframework/web/cgform/service/impl/config/util/ColumnMeta.java |
19 |
Parameter 'obj' is not assigned and could be declared final |
| 5882 |
src/org/jeecgframework/web/cgform/service/impl/config/util/ColumnMeta.java |
21 |
A method should have only one exit point, and that should be the last statement in the method |
| 5883 |
src/org/jeecgframework/web/cgform/service/impl/config/util/ColumnMeta.java |
24 |
A method should have only one exit point, and that should be the last statement in the method |
| 5884 |
src/org/jeecgframework/web/cgform/service/impl/config/util/ColumnMeta.java |
26 |
Local variable 'meta' could be declared final |
| 5885 |
src/org/jeecgframework/web/cgform/service/impl/config/util/ColumnMeta.java |
29 |
A method should have only one exit point, and that should be the last statement in the method |
| 5886 |
src/org/jeecgframework/web/cgform/service/impl/config/util/ColumnMeta.java |
45 |
Parameter 'meta' is not assigned and could be declared final |
| 5887 |
src/org/jeecgframework/web/cgform/service/impl/config/util/ColumnMeta.java |
47 |
A method should have only one exit point, and that should be the last statement in the method |
| 5888 |
src/org/jeecgframework/web/cgform/service/impl/config/util/ColumnMeta.java |
52 |
Parameter 'meta' is not assigned and could be declared final |
| 5889 |
src/org/jeecgframework/web/cgform/service/impl/config/util/ColumnMeta.java |
54 |
A method should have only one exit point, and that should be the last statement in the method |
| 5890 |
src/org/jeecgframework/web/cgform/service/impl/config/util/ColumnMeta.java |
59 |
Parameter 'newS' is not assigned and could be declared final |
| 5891 |
src/org/jeecgframework/web/cgform/service/impl/config/util/ColumnMeta.java |
59 |
Parameter 'oldS' is not assigned and could be declared final |
| 5892 |
src/org/jeecgframework/web/cgform/service/impl/config/util/ColumnMeta.java |
60 |
Local variable 'booN' could be declared final |
| 5893 |
src/org/jeecgframework/web/cgform/service/impl/config/util/ColumnMeta.java |
61 |
Local variable 'booO' could be declared final |
| 5894 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
35 |
The class 'DbTableProcess' has a Cyclomatic Complexity of 3 (Highest = 17). |
| 5895 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
36 |
Variables that are final and static should be in all caps. |
| 5896 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
37 |
Possible unsafe assignment to a non-final static field in a constructor. |
| 5897 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
40 |
Parameter 'session' is not assigned and could be declared final |
| 5898 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
44 |
Parameter 'session' is not assigned and could be declared final |
| 5899 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
44 |
Parameter 'table' is not assigned and could be declared final |
| 5900 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
45 |
Avoid variables with short names like t |
| 5901 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
47 |
Local variable 'out' could be declared final |
| 5902 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
51 |
Local variable 'xml' could be declared final |
| 5903 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
70 |
Parameter 'session' is not assigned and could be declared final |
| 5904 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
70 |
Parameter 'table' is not assigned and could be declared final |
| 5905 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
70 |
The method 'updateTable' has a Cyclomatic Complexity of 17. |
| 5906 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
70 |
The method updateTable() has an NPath complexity of 405 |
| 5907 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
72 |
Local variable 'tableName' could be declared final |
| 5908 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
73 |
Found 'DU'-anomaly for variable 'alterTable' (lines '73'-'143'). |
| 5909 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
73 |
Local variable 'alterTable' could be declared final |
| 5910 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
74 |
Local variable 'strings' could be declared final |
| 5911 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
77 |
Avoid excessively long variable names like dataBaseColumnMetaMap |
| 5912 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
79 |
Avoid excessively long variable names like cgFormColumnMetaMap |
| 5913 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
85 |
Avoid if (x != y) ..; else ..; |
| 5914 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
133 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 5915 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
133 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 5916 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
139 |
Avoid throwing raw exception types. |
| 5917 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
139 |
New exception is thrown in catch block, original stack trace may be lost |
| 5918 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
145 |
Avoid unused method parameters such as 'table'. |
| 5919 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
194 |
Ensure that resources like this Connection object are closed after use |
| 5920 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
196 |
Avoid variables with short names like rs |
| 5921 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
196 |
Ensure that resources like this ResultSet object are closed after use |
| 5922 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
200 |
Avoid instantiating new objects inside loops |
| 5923 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
201 |
The String literal "COLUMN_NAME" appears 4 times in this file; the first occurrence is on line 201 |
| 5924 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
224 |
Avoid excessively long variable names like cgFormFieldEntities |
| 5925 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
227 |
Avoid instantiating new objects inside loops |
| 5926 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
238 |
Avoid if (x != y) ..; else ..; |
| 5927 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
254 |
Avoid excessively long variable names like cgFormFieldEntities |
| 5928 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
326 |
Avoid variables with short names like id |
| 5929 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableProcess.java |
336 |
Avoid reassigning parameters such as 'text' |
| 5930 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
23 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 5931 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
32 |
Parameter 'queryForList' is not assigned and could be declared final |
| 5932 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
33 |
Local variable 'columnMap' could be declared final |
| 5933 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
45 |
Parameter 'fileName' is not assigned and could be declared final |
| 5934 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
61 |
Parameter 'session' is not assigned and could be declared final |
| 5935 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
62 |
Found 'DD'-anomaly for variable 'tableUtil' (lines '62'-'66'). |
| 5936 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
63 |
Local variable 'dialect' could be declared final |
| 5937 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
65 |
Position literals first in String comparisons |
| 5938 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
71 |
Parameter 'session' is not assigned and could be declared final |
| 5939 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
72 |
Found 'DD'-anomaly for variable 'dbTableHandle' (lines '72'-'76'). |
| 5940 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
72 |
Found 'DD'-anomaly for variable 'dbTableHandle' (lines '72'-'78'). |
| 5941 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
72 |
Found 'DD'-anomaly for variable 'dbTableHandle' (lines '72'-'80'). |
| 5942 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
72 |
Found 'DD'-anomaly for variable 'dbTableHandle' (lines '72'-'82'). |
| 5943 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
73 |
Local variable 'dialect' could be declared final |
| 5944 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
75 |
Position literals first in String comparisons |
| 5945 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
79 |
Position literals first in String comparisons |
| 5946 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
81 |
Position literals first in String comparisons |
| 5947 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
93 |
Parameter 'session' is not assigned and could be declared final |
| 5948 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
94 |
Found 'DD'-anomaly for variable 'dataType' (lines '94'-'100'). |
| 5949 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
94 |
Found 'DD'-anomaly for variable 'dataType' (lines '94'-'102'). |
| 5950 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
94 |
Found 'DD'-anomaly for variable 'dataType' (lines '94'-'104'). |
| 5951 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
94 |
Found 'DD'-anomaly for variable 'dataType' (lines '94'-'98'). |
| 5952 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
95 |
Local variable 'dialect' could be declared final |
| 5953 |
src/org/jeecgframework/web/cgform/service/impl/config/util/DbTableUtil.java |
97 |
Position literals first in String comparisons |
| 5954 |
src/org/jeecgframework/web/cgform/service/impl/config/util/FieldNumComparator.java |
14 |
Avoid variables with short names like o1 |
| 5955 |
src/org/jeecgframework/web/cgform/service/impl/config/util/FieldNumComparator.java |
14 |
Avoid variables with short names like o2 |
| 5956 |
src/org/jeecgframework/web/cgform/service/impl/config/util/FieldNumComparator.java |
14 |
Parameter 'o1' is not assigned and could be declared final |
| 5957 |
src/org/jeecgframework/web/cgform/service/impl/config/util/FieldNumComparator.java |
14 |
Parameter 'o2' is not assigned and could be declared final |
| 5958 |
src/org/jeecgframework/web/cgform/service/impl/config/util/FieldNumComparator.java |
15 |
Avoid using if statements without curly braces |
| 5959 |
src/org/jeecgframework/web/cgform/service/impl/config/util/FieldNumComparator.java |
16 |
A method should have only one exit point, and that should be the last statement in the method |
| 5960 |
src/org/jeecgframework/web/cgform/service/impl/config/util/FieldNumComparator.java |
17 |
Local variable 'thisVal' could be declared final |
| 5961 |
src/org/jeecgframework/web/cgform/service/impl/config/util/FieldNumComparator.java |
18 |
Local variable 'anotherVal' could be declared final |
| 5962 |
src/org/jeecgframework/web/cgform/service/impl/config/util/FieldNumComparator.java |
19 |
Use equals() to compare object references. |
| 5963 |
src/org/jeecgframework/web/cgform/service/impl/enhance/CgformEnhanceJsServiceImpl.java |
23 |
Parameter 'cgJsType' is not assigned and could be declared final |
| 5964 |
src/org/jeecgframework/web/cgform/service/impl/enhance/CgformEnhanceJsServiceImpl.java |
23 |
Parameter 'formId' is not assigned and could be declared final |
| 5965 |
src/org/jeecgframework/web/cgform/service/impl/enhance/CgformEnhanceJsServiceImpl.java |
24 |
Local variable 'hql' could be declared final |
| 5966 |
src/org/jeecgframework/web/cgform/service/impl/enhance/CgformEnhanceJsServiceImpl.java |
28 |
Local variable 'list' could be declared final |
| 5967 |
src/org/jeecgframework/web/cgform/service/impl/enhance/CgformEnhanceJsServiceImpl.java |
29 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 5968 |
src/org/jeecgframework/web/cgform/service/impl/enhance/CgformEnhanceJsServiceImpl.java |
30 |
A method should have only one exit point, and that should be the last statement in the method |
| 5969 |
src/org/jeecgframework/web/cgform/service/impl/upload/CgUploadServiceImpl.java |
19 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 5970 |
src/org/jeecgframework/web/cgform/service/impl/upload/CgUploadServiceImpl.java |
21 |
Parameter 'file' is not assigned and could be declared final |
| 5971 |
src/org/jeecgframework/web/cgform/service/impl/upload/CgUploadServiceImpl.java |
23 |
Local variable 'sql' could be declared final |
| 5972 |
src/org/jeecgframework/web/cgform/service/impl/upload/CgUploadServiceImpl.java |
24 |
Local variable 'attachmentMap' could be declared final |
| 5973 |
src/org/jeecgframework/web/cgform/service/impl/upload/CgUploadServiceImpl.java |
26 |
Local variable 'realpath' could be declared final |
| 5974 |
src/org/jeecgframework/web/cgform/service/impl/upload/CgUploadServiceImpl.java |
27 |
Local variable 'fileName' could be declared final |
| 5975 |
src/org/jeecgframework/web/cgform/service/impl/upload/CgUploadServiceImpl.java |
30 |
Local variable 'realPath' could be declared final |
| 5976 |
src/org/jeecgframework/web/cgform/service/impl/upload/CgUploadServiceImpl.java |
39 |
Parameter 'cgFormField' is not assigned and could be declared final |
| 5977 |
src/org/jeecgframework/web/cgform/service/impl/upload/CgUploadServiceImpl.java |
39 |
Parameter 'cgFormId' is not assigned and could be declared final |
| 5978 |
src/org/jeecgframework/web/cgform/service/impl/upload/CgUploadServiceImpl.java |
39 |
Parameter 'cgFormName' is not assigned and could be declared final |
| 5979 |
src/org/jeecgframework/web/cgform/service/impl/upload/CgUploadServiceImpl.java |
39 |
Parameter 'fileId' is not assigned and could be declared final |
| 5980 |
src/org/jeecgframework/web/cgform/service/impl/upload/CgUploadServiceImpl.java |
43 |
Avoid printStackTrace(); use a logger call instead. |
| 5981 |
src/org/jeecgframework/web/cgform/service/impl/upload/CgUploadServiceImpl.java |
44 |
Avoid throwing raw exception types. |
| 5982 |
src/org/jeecgframework/web/cgform/service/impl/upload/CgUploadServiceImpl.java |
44 |
New exception is thrown in catch block, original stack trace may be lost |
| 5983 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 5984 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
67 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 5985 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
67 |
The class 'MigrateForm' has a Cyclomatic Complexity of 8 (Highest = 61). |
| 5986 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
67 |
This class has too many methods, consider refactoring it. |
| 5987 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
68 |
Variables that are final and static should be in all caps. |
| 5988 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
69 |
Use explicit scoping instead of the default package private level |
| 5989 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
84 |
Parameter 'ids' is not assigned and could be declared final |
| 5990 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
84 |
Parameter 'jdbcTemplate' is not assigned and could be declared final |
| 5991 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
85 |
Local variable 'listSQL' could be declared final |
| 5992 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
87 |
Local variable 'idList' could be declared final |
| 5993 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
88 |
Found 'DD'-anomaly for variable 'ls_sql' (lines '88'-'97'). |
| 5994 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
88 |
Found 'DU'-anomaly for variable 'ls_sql' (lines '88'-'157'). |
| 5995 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
89 |
Found 'DD'-anomaly for variable 'ls_tmpsql' (lines '89'-'100'). |
| 5996 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
89 |
Found 'DU'-anomaly for variable 'ls_tmpsql' (lines '89'-'157'). |
| 5997 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
90 |
Found 'DD'-anomaly for variable 'ls_subid' (lines '90'-'131'). |
| 5998 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
90 |
Found 'DU'-anomaly for variable 'ls_subid' (lines '90'-'157'). |
| 5999 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
91 |
Found 'DD'-anomaly for variable 'subTable' (lines '91'-'121'). |
| 6000 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
91 |
Found 'DU'-anomaly for variable 'subTable' (lines '91'-'157'). |
| 6001 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
92 |
Found 'DD'-anomaly for variable 'rowsList' (lines '92'-'118'). |
| 6002 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
92 |
Found 'DU'-anomaly for variable 'rowsList' (lines '92'-'157'). |
| 6003 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
93 |
Found 'DD'-anomaly for variable 'subRowsList' (lines '93'-'128'). |
| 6004 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
93 |
Found 'DU'-anomaly for variable 'subRowsList' (lines '93'-'157'). |
| 6005 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
94 |
Found 'DD'-anomaly for variable 'sqlMap' (lines '94'-'120'). |
| 6006 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
94 |
Found 'DU'-anomaly for variable 'sqlMap' (lines '94'-'157'). |
| 6007 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
95 |
Found 'DD'-anomaly for variable 'subSqlMap' (lines '95'-'130'). |
| 6008 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
95 |
Found 'DU'-anomaly for variable 'subSqlMap' (lines '95'-'157'). |
| 6009 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
100 |
The String literal "select * from cgform_field where table_id='" appears 4 times in this file; the first occurrence is on line 100 |
| 6010 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
103 |
The String literal "select * from cgform_button where form_id ='" appears 4 times in this file; the first occurrence is on line 103 |
| 6011 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
106 |
The String literal "select * from cgform_enhance_js where form_id ='" appears 4 times in this file; the first occurrence is on line 106 |
| 6012 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
109 |
The String literal "select * from cgform_button_sql where form_id ='" appears 4 times in this file; the first occurrence is on line 109 |
| 6013 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
112 |
The String literal "select * from cgform_ftl where cgform_id ='" appears 4 times in this file; the first occurrence is on line 112 |
| 6014 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
119 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 6015 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
123 |
Local variable 'subs' could be declared final |
| 6016 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
129 |
Deeply nested if..then statements are hard to read |
| 6017 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
129 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 6018 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
159 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 6019 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
159 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 6020 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
159 |
Parameter 'ids' is not assigned and could be declared final |
| 6021 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
159 |
Parameter 'jdbcTemplate' is not assigned and could be declared final |
| 6022 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
160 |
Local variable 'listTables' could be declared final |
| 6023 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
162 |
Found 'DD'-anomaly for variable 'ls_sql' (lines '162'-'172'). |
| 6024 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
162 |
Found 'DU'-anomaly for variable 'ls_sql' (lines '162'-'232'). |
| 6025 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
163 |
Found 'DD'-anomaly for variable 'ls_tmpsql' (lines '163'-'175'). |
| 6026 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
163 |
Found 'DU'-anomaly for variable 'ls_tmpsql' (lines '163'-'232'). |
| 6027 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
164 |
Found 'DD'-anomaly for variable 'ls_subid' (lines '164'-'206'). |
| 6028 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
164 |
Found 'DU'-anomaly for variable 'ls_subid' (lines '164'-'232'). |
| 6029 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
165 |
Found 'DD'-anomaly for variable 'subTable' (lines '165'-'196'). |
| 6030 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
165 |
Found 'DU'-anomaly for variable 'subTable' (lines '165'-'232'). |
| 6031 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
166 |
Found 'DD'-anomaly for variable 'rowsList' (lines '166'-'193'). |
| 6032 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
166 |
Found 'DU'-anomaly for variable 'rowsList' (lines '166'-'232'). |
| 6033 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
167 |
Found 'DD'-anomaly for variable 'subRowsList' (lines '167'-'203'). |
| 6034 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
167 |
Found 'DU'-anomaly for variable 'subRowsList' (lines '167'-'232'). |
| 6035 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
168 |
Found 'DD'-anomaly for variable 'sqlMap' (lines '168'-'195'). |
| 6036 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
168 |
Found 'DU'-anomaly for variable 'sqlMap' (lines '168'-'232'). |
| 6037 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
169 |
Found 'DD'-anomaly for variable 'subSqlMap' (lines '169'-'205'). |
| 6038 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
169 |
Found 'DU'-anomaly for variable 'subSqlMap' (lines '169'-'232'). |
| 6039 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
170 |
Local variable 'idList' could be declared final |
| 6040 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
194 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 6041 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
204 |
Deeply nested if..then statements are hard to read |
| 6042 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
204 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 6043 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
241 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 6044 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
241 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 6045 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
241 |
Parameter 'jdbcTemplate' is not assigned and could be declared final |
| 6046 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
245 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 6047 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
245 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 6048 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
263 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 6049 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
263 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 6050 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
263 |
The method 'getColumnNameAndColumeValue' has a Cyclomatic Complexity of 61. |
| 6051 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
263 |
The method getColumnNameAndColumeValue() has an NPath complexity of 644 |
| 6052 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
264 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 6053 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
267 |
Found 'DD'-anomaly for variable 'sqlRowSet' (lines '267'-'271'). |
| 6054 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
268 |
Found 'DD'-anomaly for variable 'ls_id' (lines '268'-'297'). |
| 6055 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
278 |
Found 'DD'-anomaly for variable 'tableId' (lines '278'-'298'). |
| 6056 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
280 |
Avoid instantiating new objects inside loops |
| 6057 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
281 |
Avoid instantiating new objects inside loops |
| 6058 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
286 |
Found 'DU'-anomaly for variable 'value' (lines '286'-'355'). |
| 6059 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
288 |
Avoid instantiating new objects inside loops |
| 6060 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
297 |
Found 'DD'-anomaly for variable 'ls_id' (lines '297'-'297'). |
| 6061 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
297 |
Found 'DU'-anomaly for variable 'ls_id' (lines '297'-'355'). |
| 6062 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
298 |
Found 'DD'-anomaly for variable 'tableId' (lines '298'-'298'). |
| 6063 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
298 |
Found 'DU'-anomaly for variable 'tableId' (lines '298'-'355'). |
| 6064 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
300 |
Avoid appending characters as strings in StringBuffer.append. |
| 6065 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
302 |
Avoid using if statements without curly braces |
| 6066 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
303 |
Avoid appending characters as strings in StringBuffer.append. |
| 6067 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
305 |
Avoid using if statements without curly braces |
| 6068 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
307 |
Avoid appending characters as strings in StringBuffer.append. |
| 6069 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
309 |
Avoid appending characters as strings in StringBuffer.append. |
| 6070 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
312 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 6071 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
314 |
Avoid appending characters as strings in StringBuffer.append. |
| 6072 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
316 |
Avoid using if statements without curly braces |
| 6073 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
319 |
Avoid using if statements without curly braces |
| 6074 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
326 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 6075 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
328 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 6076 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
328 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 6077 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
330 |
Avoid using if statements without curly braces |
| 6078 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
347 |
Position literals first in String comparisons |
| 6079 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
384 |
New exception is thrown in catch block, original stack trace may be lost |
| 6080 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
399 |
Avoid printStackTrace(); use a logger call instead. |
| 6081 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
402 |
Avoid variables with short names like fw |
| 6082 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
402 |
Found 'DD'-anomaly for variable 'fw' (lines '402'-'405'). |
| 6083 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
403 |
Avoid variables with short names like bw |
| 6084 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
403 |
Found 'DD'-anomaly for variable 'bw' (lines '403'-'406'). |
| 6085 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
414 |
Avoid printStackTrace(); use a logger call instead. |
| 6086 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
420 |
Avoid printStackTrace(); use a logger call instead. |
| 6087 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
437 |
Avoid variables with short names like id |
| 6088 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
443 |
Avoid variables with short names like rs |
| 6089 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
449 |
Avoid if (x != y) ..; else ..; |
| 6090 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
452 |
Avoid variables with short names like b |
| 6091 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
455 |
This for loop could be simplified to a while loop |
| 6092 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
460 |
Avoid printStackTrace(); use a logger call instead. |
| 6093 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
464 |
Prefer StringBuffer over += for concatenating strings |
| 6094 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
466 |
A method should have only one exit point, and that should be the last statement in the method |
| 6095 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
479 |
Found 'DD'-anomaly for variable 'hs' (lines '479'-'486'). |
| 6096 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
479 |
Found 'DD'-anomaly for variable 'hs' (lines '479'-'488'). |
| 6097 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
480 |
Found 'DD'-anomaly for variable 'stmp' (lines '480'-'484'). |
| 6098 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
480 |
Found 'DU'-anomaly for variable 'stmp' (lines '480'-'491'). |
| 6099 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
484 |
This statement may have some unnecessary parentheses |
| 6100 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
486 |
Avoid using if...else statements without curly braces |
| 6101 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
486 |
Prefer StringBuffer over += for concatenating strings |
| 6102 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
488 |
Avoid using if...else statements without curly braces |
| 6103 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
488 |
Prefer StringBuffer over += for concatenating strings |
| 6104 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
490 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 6105 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
512 |
String.indexOf(char) is faster than String.indexOf(String). |
| 6106 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
513 |
String.indexOf(char) is faster than String.indexOf(String). |
| 6107 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
522 |
A catch statement that catches an exception only to rethrow it should be avoided. |
| 6108 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
576 |
Found 'DD'-anomaly for variable 'is' (lines '576'-'578'). |
| 6109 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
580 |
Found 'DD'-anomaly for variable 'length' (lines '580'-'582'). |
| 6110 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
582 |
Avoid assignments in operands |
| 6111 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
582 |
Found 'DU'-anomaly for variable 'length' (lines '582'-'594'). |
| 6112 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
587 |
A catch statement that catches an exception only to rethrow it should be avoided. |
| 6113 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
620 |
The method 'unzip' has a Cyclomatic Complexity of 12. |
| 6114 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
621 |
Found 'DD'-anomaly for variable 'os' (lines '621'-'645'). |
| 6115 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
621 |
Found 'DU'-anomaly for variable 'os' (lines '621'-'673'). |
| 6116 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
622 |
Found 'DD'-anomaly for variable 'is' (lines '622'-'646'). |
| 6117 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
622 |
Found 'DU'-anomaly for variable 'is' (lines '622'-'673'). |
| 6118 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
623 |
Found 'DD'-anomaly for variable 'zipFile' (lines '623'-'625'). |
| 6119 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
626 |
Found 'DD'-anomaly for variable 'directoryPath' (lines '626'-'628'). |
| 6120 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
626 |
Found 'DD'-anomaly for variable 'directoryPath' (lines '626'-'630'). |
| 6121 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
628 |
Found 'DD'-anomaly for variable 'directoryPath' (lines '628'-'638'). |
| 6122 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
628 |
Found 'DU'-anomaly for variable 'directoryPath' (lines '628'-'673'). |
| 6123 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
628 |
String.indexOf(char) is faster than String.indexOf(String). |
| 6124 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
630 |
Found 'DD'-anomaly for variable 'directoryPath' (lines '630'-'638'). |
| 6125 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
630 |
Found 'DU'-anomaly for variable 'directoryPath' (lines '630'-'673'). |
| 6126 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
634 |
Found 'DD'-anomaly for variable 'zipEntry' (lines '634'-'636'). |
| 6127 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
634 |
Found 'DU'-anomaly for variable 'zipEntry' (lines '634'-'673'). |
| 6128 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
638 |
Prefer StringBuffer over += for concatenating strings |
| 6129 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
645 |
Avoid instantiating new objects inside loops |
| 6130 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
647 |
Avoid instantiating new objects inside loops |
| 6131 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
648 |
Found 'DD'-anomaly for variable 'readLen' (lines '648'-'649'). |
| 6132 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
649 |
Avoid assignments in operands |
| 6133 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
649 |
Found 'DD'-anomaly for variable 'readLen' (lines '649'-'648'). |
| 6134 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
649 |
Found 'DU'-anomaly for variable 'readLen' (lines '649'-'673'). |
| 6135 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
660 |
A catch statement that catches an exception only to rethrow it should be avoided. |
| 6136 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
664 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 6137 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
703 |
These nested if statements could be combined |
| 6138 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
707 |
Prefer StringBuffer over += for concatenating strings |
| 6139 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
728 |
These nested if statements could be combined |
| 6140 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
730 |
Using equalsIgnoreCase() is cleaner than using toUpperCase/toLowerCase().equals(). |
| 6141 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
748 |
Found 'DU'-anomaly for variable 'reflectHelper' (lines '748'-'758'). |
| 6142 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
756 |
Avoid excessively long variable names like sqlParameterSource |
| 6143 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
757 |
Consider simply returning the value vs storing it in local variable 'sqlParameterSource' |
| 6144 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
766 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 6145 |
src/org/jeecgframework/web/cgform/service/migrate/MigrateForm.java |
768 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 6146 |
src/org/jeecgframework/web/cgform/service/upload/CgUploadServiceI.java |
19 |
Avoid modifiers which are implied by the context |
| 6147 |
src/org/jeecgframework/web/cgform/service/upload/CgUploadServiceI.java |
26 |
Avoid modifiers which are implied by the context |
| 6148 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
13 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 6149 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
20 |
Parameter 'isCreate' is not assigned and could be declared final |
| 6150 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
20 |
Parameter 'obj' is not assigned and could be declared final |
| 6151 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
21 |
Local variable 'reflectHelper' could be declared final |
| 6152 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
36 |
Parameter 'obj' is not assigned and could be declared final |
| 6153 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
36 |
Parameter 'params' is not assigned and could be declared final |
| 6154 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
37 |
Found 'DU'-anomaly for variable 'reflectHelper' (lines '37'-'48'). |
| 6155 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
37 |
Local variable 'reflectHelper' could be declared final |
| 6156 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
38 |
Local variable 'paramsArr' could be declared final |
| 6157 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
40 |
Found 'DD'-anomaly for variable 'checked' (lines '40'-'43'). |
| 6158 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
55 |
Parameter 'newvalue' is not assigned and could be declared final |
| 6159 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
58 |
A method should have only one exit point, and that should be the last statement in the method |
| 6160 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
62 |
A method should have only one exit point, and that should be the last statement in the method |
| 6161 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
65 |
A method should have only one exit point, and that should be the last statement in the method |
| 6162 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
77 |
Avoid reassigning parameters such as 's' |
| 6163 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
77 |
Avoid reassigning parameters such as 's' |
| 6164 |
src/org/jeecgframework/web/cgform/util/PublicUtil.java |
77 |
Avoid variables with short names like s |
| 6165 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
29 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 6166 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
29 |
The class 'QueryParamUtil' has a Cyclomatic Complexity of 5 (Highest = 11). |
| 6167 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
37 |
Avoid variables with short names like b |
| 6168 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
37 |
Parameter 'b' is not assigned and could be declared final |
| 6169 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
37 |
Parameter 'params' is not assigned and could be declared final |
| 6170 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
37 |
Parameter 'request' is not assigned and could be declared final |
| 6171 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
37 |
The method 'loadQueryParams' has a Cyclomatic Complexity of 11. |
| 6172 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
43 |
A method should have only one exit point, and that should be the last statement in the method |
| 6173 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
45 |
Local variable 'uri' could be declared final |
| 6174 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
47 |
Avoid excessively long variable names like contiansChinesevalue |
| 6175 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
47 |
Local variable 'contiansChinesevalue' could be declared final |
| 6176 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
48 |
Found 'DU'-anomaly for variable 'value' (lines '48'-'84'). |
| 6177 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
51 |
Avoid printStackTrace(); use a logger call instead. |
| 6178 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
73 |
Avoid if (x != y) ..; else ..; |
| 6179 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
74 |
Avoid variables with short names like re |
| 6180 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
76 |
Prefer StringBuffer over += for concatenating strings |
| 6181 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
80 |
Avoid variables with short names like re |
| 6182 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
80 |
Local variable 're' could be declared final |
| 6183 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
91 |
Parameter 'fieldType' is not assigned and could be declared final |
| 6184 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
91 |
Parameter 'value' is not assigned and could be declared final |
| 6185 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
92 |
Avoid if (x != y) ..; else ..; |
| 6186 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
93 |
Found 'DD'-anomaly for variable 'result' (lines '93'-'101'). |
| 6187 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
93 |
Found 'DD'-anomaly for variable 'result' (lines '93'-'103'). |
| 6188 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
93 |
Found 'DD'-anomaly for variable 'result' (lines '93'-'95'). |
| 6189 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
93 |
Found 'DD'-anomaly for variable 'result' (lines '93'-'97'). |
| 6190 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
93 |
Found 'DD'-anomaly for variable 'result' (lines '93'-'99'). |
| 6191 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
105 |
A method should have only one exit point, and that should be the last statement in the method |
| 6192 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
116 |
Method names should not contain underscores |
| 6193 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
118 |
A method should have only one exit point, and that should be the last statement in the method |
| 6194 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
120 |
Local variable 'inj_str' could be declared final |
| 6195 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
122 |
Local variable 'inj_stra' could be declared final |
| 6196 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
125 |
A method should have only one exit point, and that should be the last statement in the method |
| 6197 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
134 |
Method names should not contain underscores |
| 6198 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
136 |
Avoid throwing raw exception types. |
| 6199 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
154 |
Found 'DD'-anomaly for variable 'dateFunction' (lines '154'-'157'). |
| 6200 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
154 |
Found 'DD'-anomaly for variable 'dateFunction' (lines '154'-'160'). |
| 6201 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
154 |
Found 'DD'-anomaly for variable 'dateFunction' (lines '154'-'163'). |
| 6202 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
154 |
Found 'DD'-anomaly for variable 'dateFunction' (lines '154'-'166'). |
| 6203 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
154 |
Found 'DD'-anomaly for variable 'dateFunction' (lines '154'-'168'). |
| 6204 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
184 |
Avoid instantiating new objects inside loops |
| 6205 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
185 |
Avoid variables with short names like it |
| 6206 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
188 |
Found 'DD'-anomaly for variable 'value' (lines '188'-'191'). |
| 6207 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
189 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 6208 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
206 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 6209 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
207 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 6210 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
208 |
Avoid variables with short names like d |
| 6211 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
208 |
Found 'DD'-anomaly for variable 'd' (lines '208'-'210'). |
| 6212 |
src/org/jeecgframework/web/cgform/util/QueryParamUtil.java |
211 |
A method should have only one exit point, and that should be the last statement in the method |
| 6213 |
src/org/jeecgframework/web/cgreport/common/CgReportConstant.java |
10 |
Each class should declare at least one constructor |
| 6214 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
20 |
Avoid unused imports such as 'org.hibernate.exception.SQLGrammarException' |
| 6215 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
20 |
Avoid unused imports such as 'org.hibernate.exception.SQLGrammarException' |
| 6216 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
41 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6217 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
48 |
The String literal "unchecked" appears 8 times in this file; the first occurrence is on line 48 |
| 6218 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
50 |
Avoid variables with short names like id |
| 6219 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
50 |
Parameter 'id' is not assigned and could be declared final |
| 6220 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
50 |
Parameter 'request' is not assigned and could be declared final |
| 6221 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
51 |
Parameter 'response' is not assigned and could be declared final |
| 6222 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
53 |
Found 'DD'-anomaly for variable 'cgReportMap' (lines '53'-'55'). |
| 6223 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
55 |
Found 'DU'-anomaly for variable 'cgReportMap' (lines '55'-'74'). |
| 6224 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
57 |
New exception is thrown in catch block, original stack trace may be lost |
| 6225 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
60 |
Local variable 'viewEngine' could be declared final |
| 6226 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
63 |
Local variable 'html' could be declared final |
| 6227 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
67 |
Local variable 'writer' could be declared final |
| 6228 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
72 |
Avoid printStackTrace(); use a logger call instead. |
| 6229 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
84 |
Avoid variables with short names like id |
| 6230 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
84 |
Parameter 'id' is not assigned and could be declared final |
| 6231 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
84 |
Parameter 'request' is not assigned and could be declared final |
| 6232 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
87 |
Found 'DD'-anomaly for variable 'cgReportMap' (lines '87'-'89'). |
| 6233 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
89 |
Found 'DU'-anomaly for variable 'cgReportMap' (lines '89'-'107'). |
| 6234 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
91 |
New exception is thrown in catch block, original stack trace may be lost |
| 6235 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
94 |
Local variable 'viewEngine' could be declared final |
| 6236 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
97 |
Local variable 'html' could be declared final |
| 6237 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
105 |
Avoid printStackTrace(); use a logger call instead. |
| 6238 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
144 |
Found 'DD'-anomaly for variable 'dicDatas' (lines '144'-'144'). |
| 6239 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
144 |
Found 'DU'-anomaly for variable 'dicDatas' (lines '144'-'157'). |
| 6240 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
146 |
Found 'DD'-anomaly for variable 'value' (lines '146'-'146'). |
| 6241 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
146 |
Found 'DU'-anomaly for variable 'value' (lines '146'-'157'). |
| 6242 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
149 |
Found 'DD'-anomaly for variable 'typename' (lines '149'-'149'). |
| 6243 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
149 |
Found 'DU'-anomaly for variable 'typename' (lines '149'-'157'). |
| 6244 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
176 |
Avoid variables with short names like v |
| 6245 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
176 |
Found 'DD'-anomaly for variable 'v' (lines '176'-'176'). |
| 6246 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
176 |
Found 'DU'-anomaly for variable 'v' (lines '176'-'191'). |
| 6247 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
177 |
Found 'DD'-anomaly for variable 'txt' (lines '177'-'177'). |
| 6248 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
177 |
Found 'DU'-anomaly for variable 'txt' (lines '177'-'191'). |
| 6249 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
187 |
Avoid printStackTrace(); use a logger call instead. |
| 6250 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
188 |
New exception is thrown in catch block, original stack trace may be lost |
| 6251 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
202 |
The method datagrid() has an NPath complexity of 450 |
| 6252 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
205 |
Found 'DD'-anomaly for variable 'cgReportMap' (lines '205'-'207'). |
| 6253 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
212 |
New exception is thrown in catch block, original stack trace may be lost |
| 6254 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
227 |
Avoid variables with short names like p |
| 6255 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
228 |
Avoid variables with short names like r |
| 6256 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
241 |
Avoid printStackTrace(); use a logger call instead. |
| 6257 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
253 |
Found 'DD'-anomaly for variable 'result' (lines '253'-'256'). |
| 6258 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
256 |
Found 'DU'-anomaly for variable 'result' (lines '256'-'268'). |
| 6259 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
258 |
Avoid printStackTrace(); use a logger call instead. |
| 6260 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
260 |
Prefer StringBuffer over += for concatenating strings |
| 6261 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
263 |
A method should have only one exit point, and that should be the last statement in the method |
| 6262 |
src/org/jeecgframework/web/cgreport/controller/core/CgReportController.java |
296 |
Consider simply returning the value vs storing it in local variable 'dicDatas' |
| 6263 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
3 |
Avoid unused imports such as 'java.text.SimpleDateFormat' |
| 6264 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
3 |
Avoid unused imports such as 'java.text.SimpleDateFormat' |
| 6265 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
23 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSDepart' |
| 6266 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
23 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSDepart' |
| 6267 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
25 |
Avoid unused imports such as 'org.jeecgframework.core.util.MyBeanUtils' |
| 6268 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
25 |
Avoid unused imports such as 'org.jeecgframework.core.util.MyBeanUtils' |
| 6269 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
46 |
Variables that are final and static should be in all caps. |
| 6270 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
49 |
Avoid excessively long variable names like cgreportConfigHeadService |
| 6271 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
49 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6272 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
51 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6273 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
58 |
Parameter 'message' is not assigned and could be declared final |
| 6274 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
69 |
Parameter 'request' is not assigned and could be declared final |
| 6275 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
83 |
Avoid excessively long variable names like cgreportConfigHead |
| 6276 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
83 |
Parameter 'cgreportConfigHead' is not assigned and could be declared final |
| 6277 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
83 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 6278 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
83 |
Parameter 'request' is not assigned and could be declared final |
| 6279 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
84 |
Avoid variables with short names like cq |
| 6280 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
84 |
Local variable 'cq' could be declared final |
| 6281 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
87 |
Avoid empty try blocks |
| 6282 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
90 |
New exception is thrown in catch block, original stack trace may be lost |
| 6283 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
104 |
Avoid excessively long variable names like cgreportConfigHead |
| 6284 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
104 |
Avoid reassigning parameters such as 'cgreportConfigHead' |
| 6285 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
105 |
Avoid variables with short names like j |
| 6286 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
105 |
Found 'DU'-anomaly for variable 'j' (lines '105'-'118'). |
| 6287 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
105 |
Local variable 'j' could be declared final |
| 6288 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
112 |
Avoid printStackTrace(); use a logger call instead. |
| 6289 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
114 |
New exception is thrown in catch block, original stack trace may be lost |
| 6290 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
128 |
Avoid variables with short names like j |
| 6291 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
128 |
Found 'DU'-anomaly for variable 'j' (lines '128'-'143'). |
| 6292 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
128 |
Local variable 'j' could be declared final |
| 6293 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
132 |
Avoid excessively long variable names like cgreportConfigHead |
| 6294 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
132 |
Local variable 'cgreportConfigHead' could be declared final |
| 6295 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
137 |
Avoid printStackTrace(); use a logger call instead. |
| 6296 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
139 |
New exception is thrown in catch block, original stack trace may be lost |
| 6297 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
153 |
Avoid excessively long variable names like cgreportConfigHead |
| 6298 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
154 |
Local variable 'cgreportConfigItemList' could be declared final |
| 6299 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
155 |
Avoid variables with short names like j |
| 6300 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
155 |
Found 'DU'-anomaly for variable 'j' (lines '155'-'167'). |
| 6301 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
161 |
Avoid printStackTrace(); use a logger call instead. |
| 6302 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
163 |
New exception is thrown in catch block, original stack trace may be lost |
| 6303 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
178 |
Avoid variables with short names like j |
| 6304 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
178 |
Found 'DU'-anomaly for variable 'j' (lines '178'-'190'). |
| 6305 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
184 |
Avoid printStackTrace(); use a logger call instead. |
| 6306 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
186 |
New exception is thrown in catch block, original stack trace may be lost |
| 6307 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
198 |
Avoid reassigning parameters such as 'cgreportConfigHead' |
| 6308 |
src/org/jeecgframework/web/cgreport/controller/core/CgreportConfigHeadController.java |
212 |
Avoid reassigning parameters such as 'cgreportConfigHead' |
| 6309 |
src/org/jeecgframework/web/cgreport/controller/excel/CgExportExcelController.java |
37 |
The class 'CgExportExcelController' has a Cyclomatic Complexity of 10 (Highest = 9). |
| 6310 |
src/org/jeecgframework/web/cgreport/controller/excel/CgExportExcelController.java |
39 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6311 |
src/org/jeecgframework/web/cgreport/controller/excel/CgExportExcelController.java |
41 |
Avoid excessively long variable names like cgReportExcelService |
| 6312 |
src/org/jeecgframework/web/cgreport/controller/excel/CgExportExcelController.java |
41 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6313 |
src/org/jeecgframework/web/cgreport/dao/core/CgReportDao.java |
21 |
Avoid variables with short names like id |
| 6314 |
src/org/jeecgframework/web/cgreport/entity/core/CgreportConfigHeadEntity.java |
24 |
Avoid variables with short names like id |
| 6315 |
src/org/jeecgframework/web/cgreport/entity/core/CgreportConfigHeadEntity.java |
51 |
Avoid variables with short names like id |
| 6316 |
src/org/jeecgframework/web/cgreport/entity/core/CgreportConfigHeadEntity.java |
51 |
Parameter 'id' is not assigned and could be declared final |
| 6317 |
src/org/jeecgframework/web/cgreport/entity/core/CgreportConfigHeadEntity.java |
67 |
Parameter 'code' is not assigned and could be declared final |
| 6318 |
src/org/jeecgframework/web/cgreport/entity/core/CgreportConfigHeadEntity.java |
83 |
Parameter 'name' is not assigned and could be declared final |
| 6319 |
src/org/jeecgframework/web/cgreport/entity/core/CgreportConfigHeadEntity.java |
99 |
Parameter 'cgrSql' is not assigned and could be declared final |
| 6320 |
src/org/jeecgframework/web/cgreport/entity/core/CgreportConfigHeadEntity.java |
115 |
Parameter 'content' is not assigned and could be declared final |
| 6321 |
src/org/jeecgframework/web/cgreport/entity/core/CgreportConfigItemEntity.java |
24 |
Avoid variables with short names like id |
| 6322 |
src/org/jeecgframework/web/cgreport/entity/core/CgreportConfigItemEntity.java |
67 |
Avoid variables with short names like id |
| 6323 |
src/org/jeecgframework/web/cgreport/entity/core/CgreportConfigItemEntity.java |
67 |
Parameter 'id' is not assigned and could be declared final |
| 6324 |
src/org/jeecgframework/web/cgreport/entity/core/CgreportConfigItemEntity.java |
83 |
Parameter 'fieldName' is not assigned and could be declared final |
| 6325 |
src/org/jeecgframework/web/cgreport/entity/core/CgreportConfigItemEntity.java |
99 |
Parameter 'orderNum' is not assigned and could be declared final |
| 6326 |
src/org/jeecgframework/web/cgreport/entity/core/CgreportConfigItemEntity.java |
115 |
Parameter 'fieldTxt' is not assigned and could be declared final |
| 6327 |
src/org/jeecgframework/web/cgreport/entity/core/CgreportConfigItemEntity.java |
131 |
Parameter 'isShow' is not assigned and could be declared final |
| 6328 |
src/org/jeecgframework/web/cgreport/exception/CgReportNotFoundException.java |
16 |
Parameter 'msg' is not assigned and could be declared final |
| 6329 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
3 |
Avoid unused imports such as 'java.math.BigDecimal' |
| 6330 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
3 |
Avoid unused imports such as 'java.math.BigDecimal' |
| 6331 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
4 |
Avoid unused imports such as 'java.util.Date' |
| 6332 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
4 |
Avoid unused imports such as 'java.util.Date' |
| 6333 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
11 |
Avoid unused imports such as 'javax.persistence.GenerationType' |
| 6334 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
11 |
Avoid unused imports such as 'javax.persistence.GenerationType' |
| 6335 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
15 |
Avoid unused imports such as 'javax.persistence.SequenceGenerator' |
| 6336 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
15 |
Avoid unused imports such as 'javax.persistence.SequenceGenerator' |
| 6337 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
32 |
Avoid excessively long variable names like cgreportConfigItemList |
| 6338 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
36 |
Avoid excessively long variable names like cgreportConfigItemList |
| 6339 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
36 |
Parameter 'cgreportConfigItemList' is not assigned and could be declared final |
| 6340 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
42 |
Avoid variables with short names like id |
| 6341 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
69 |
Avoid variables with short names like id |
| 6342 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
69 |
Parameter 'id' is not assigned and could be declared final |
| 6343 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
85 |
Parameter 'code' is not assigned and could be declared final |
| 6344 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
101 |
Parameter 'name' is not assigned and could be declared final |
| 6345 |
src/org/jeecgframework/web/cgreport/page/core/CgreportConfigHeadPage.java |
117 |
Parameter 'cgrSql' is not assigned and could be declared final |
| 6346 |
src/org/jeecgframework/web/cgreport/service/core/CgReportServiceI.java |
22 |
Avoid modifiers which are implied by the context |
| 6347 |
src/org/jeecgframework/web/cgreport/service/core/CgReportServiceI.java |
28 |
Avoid modifiers which are implied by the context |
| 6348 |
src/org/jeecgframework/web/cgreport/service/core/CgReportServiceI.java |
34 |
Avoid modifiers which are implied by the context |
| 6349 |
src/org/jeecgframework/web/cgreport/service/core/CgReportServiceI.java |
43 |
Avoid modifiers which are implied by the context |
| 6350 |
src/org/jeecgframework/web/cgreport/service/core/CgReportServiceI.java |
50 |
Avoid modifiers which are implied by the context |
| 6351 |
src/org/jeecgframework/web/cgreport/service/core/CgreportConfigHeadServiceI.java |
6 |
Avoid unused imports such as 'java.io.Serializable' |
| 6352 |
src/org/jeecgframework/web/cgreport/service/core/CgreportConfigHeadServiceI.java |
6 |
Avoid unused imports such as 'java.io.Serializable' |
| 6353 |
src/org/jeecgframework/web/cgreport/service/core/CgreportConfigHeadServiceI.java |
11 |
Avoid modifiers which are implied by the context |
| 6354 |
src/org/jeecgframework/web/cgreport/service/core/CgreportConfigHeadServiceI.java |
16 |
Avoid excessively long variable names like cgreportConfigHead |
| 6355 |
src/org/jeecgframework/web/cgreport/service/core/CgreportConfigHeadServiceI.java |
16 |
Avoid modifiers which are implied by the context |
| 6356 |
src/org/jeecgframework/web/cgreport/service/core/CgreportConfigHeadServiceI.java |
17 |
Avoid excessively long variable names like cgreportConfigItemList |
| 6357 |
src/org/jeecgframework/web/cgreport/service/core/CgreportConfigHeadServiceI.java |
22 |
Avoid excessively long variable names like cgreportConfigHead |
| 6358 |
src/org/jeecgframework/web/cgreport/service/core/CgreportConfigHeadServiceI.java |
22 |
Avoid modifiers which are implied by the context |
| 6359 |
src/org/jeecgframework/web/cgreport/service/core/CgreportConfigHeadServiceI.java |
23 |
Avoid excessively long variable names like cgreportConfigItemList |
| 6360 |
src/org/jeecgframework/web/cgreport/service/core/CgreportConfigHeadServiceI.java |
24 |
Avoid excessively long variable names like cgreportConfigHead |
| 6361 |
src/org/jeecgframework/web/cgreport/service/core/CgreportConfigHeadServiceI.java |
24 |
Avoid modifiers which are implied by the context |
| 6362 |
src/org/jeecgframework/web/cgreport/service/core/CgreportConfigHeadServiceI.java |
31 |
Avoid modifiers which are implied by the context |
| 6363 |
src/org/jeecgframework/web/cgreport/service/core/CgreportConfigHeadServiceI.java |
31 |
Avoid variables with short names like t |
| 6364 |
src/org/jeecgframework/web/cgreport/service/core/CgreportConfigHeadServiceI.java |
37 |
Avoid variables with short names like t |
| 6365 |
src/org/jeecgframework/web/cgreport/service/core/CgreportConfigHeadServiceI.java |
43 |
Avoid variables with short names like t |
| 6366 |
src/org/jeecgframework/web/cgreport/service/excel/CgReportExcelServiceI.java |
24 |
Avoid modifiers which are implied by the context |
| 6367 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
28 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6368 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
30 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6369 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
33 |
Parameter 'reportId' is not assigned and could be declared final |
| 6370 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
34 |
Local variable 'cgReportM' could be declared final |
| 6371 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
35 |
Local variable 'mainM' could be declared final |
| 6372 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
36 |
Local variable 'itemsM' could be declared final |
| 6373 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
42 |
Parameter 'reportId' is not assigned and could be declared final |
| 6374 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
52 |
Parameter 'reportId' is not assigned and could be declared final |
| 6375 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
61 |
The String literal "unchecked" appears 4 times in this file; the first occurrence is on line 61 |
| 6376 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
63 |
Parameter 'params' is not assigned and could be declared final |
| 6377 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
63 |
Parameter 'sql' is not assigned and could be declared final |
| 6378 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
65 |
Local variable 'querySql' could be declared final |
| 6379 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
66 |
Found 'DD'-anomaly for variable 'result' (lines '66'-'68'). |
| 6380 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
66 |
Found 'DD'-anomaly for variable 'result' (lines '66'-'70'). |
| 6381 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
82 |
Local variable 'sqlB' could be declared final |
| 6382 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
88 |
Avoid variables with short names like it |
| 6383 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
103 |
Found 'DD'-anomaly for variable 'querySql' (lines '103'-'104'). |
| 6384 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
104 |
Prefer StringBuffer over += for concatenating strings |
| 6385 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
106 |
Consider simply returning the value vs storing it in local variable 'result' |
| 6386 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
112 |
A method should have only one exit point, and that should be the last statement in the method |
| 6387 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgReportServiceImpl.java |
120 |
Consider simply returning the value vs storing it in local variable 'fileds' |
| 6388 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
8 |
Avoid duplicate imports such as 'org.jeecgframework.core.common.exception.BusinessException' |
| 6389 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
12 |
Avoid unused imports such as 'java.util.ArrayList' |
| 6390 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
12 |
Avoid unused imports such as 'java.util.ArrayList' |
| 6391 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
14 |
Avoid unused imports such as 'java.io.Serializable' |
| 6392 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
14 |
Avoid unused imports such as 'java.io.Serializable' |
| 6393 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
22 |
Parameter 'entity' is not assigned and could be declared final |
| 6394 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
28 |
Avoid excessively long variable names like cgreportConfigHead |
| 6395 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
28 |
Parameter 'cgreportConfigHead' is not assigned and could be declared final |
| 6396 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
29 |
Avoid excessively long variable names like cgreportConfigItemList |
| 6397 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
29 |
Parameter 'cgreportConfigItemList' is not assigned and could be declared final |
| 6398 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
44 |
Avoid excessively long variable names like cgreportConfigHead |
| 6399 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
44 |
Parameter 'cgreportConfigHead' is not assigned and could be declared final |
| 6400 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
45 |
Avoid excessively long variable names like cgreportConfigItemList |
| 6401 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
45 |
Parameter 'cgreportConfigItemList' is not assigned and could be declared final |
| 6402 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
50 |
Local variable 'id0' could be declared final |
| 6403 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
53 |
Local variable 'hql0' could be declared final |
| 6404 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
54 |
Avoid excessively long variable names like cgreportConfigItemOldList |
| 6405 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
54 |
Local variable 'cgreportConfigItemOldList' could be declared final |
| 6406 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
57 |
Found 'DU'-anomaly for variable 'isUpdate' (lines '57'-'88'). |
| 6407 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
65 |
Avoid printStackTrace(); use a logger call instead. |
| 6408 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
66 |
New exception is thrown in catch block, original stack trace may be lost |
| 6409 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
96 |
Local variable 'id0' could be declared final |
| 6410 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
99 |
Local variable 'hql0' could be declared final |
| 6411 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
110 |
Avoid variables with short names like t |
| 6412 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
118 |
Avoid variables with short names like t |
| 6413 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
126 |
Avoid variables with short names like t |
| 6414 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
135 |
Avoid reassigning parameters such as 'sql' |
| 6415 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
135 |
Avoid reassigning parameters such as 'sql' |
| 6416 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
135 |
Avoid reassigning parameters such as 'sql' |
| 6417 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
135 |
Avoid reassigning parameters such as 'sql' |
| 6418 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
135 |
Avoid reassigning parameters such as 'sql' |
| 6419 |
src/org/jeecgframework/web/cgreport/service/impl/core/CgreportConfigHeadServiceImpl.java |
135 |
Avoid variables with short names like t |
| 6420 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
24 |
The class 'CgReportExcelServiceImpl' has a Cyclomatic Complexity of 3 (Highest = 10). |
| 6421 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
28 |
Avoid reassigning parameters such as 'title' |
| 6422 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
28 |
Parameter 'titleSet' is not assigned and could be declared final |
| 6423 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
28 |
The method 'exportExcel' has a Cyclomatic Complexity of 10. |
| 6424 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
29 |
Parameter 'dataSet' is not assigned and could be declared final |
| 6425 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
31 |
Found 'DD'-anomaly for variable 'workbook' (lines '31'-'41'). |
| 6426 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
31 |
Found 'DU'-anomaly for variable 'workbook' (lines '31'-'87'). |
| 6427 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
34 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 6428 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
35 |
Avoid throwing raw exception types. |
| 6429 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
43 |
Local variable 'sheet' could be declared final |
| 6430 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
45 |
Found 'DD'-anomaly for variable 'cindex' (lines '45'-'65'). |
| 6431 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
45 |
Found 'DU'-anomaly for variable 'cindex' (lines '45'-'87'). |
| 6432 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
48 |
Do not use the short type |
| 6433 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
49 |
Found 'DU'-anomaly for variable 'titleStyle' (lines '49'-'87'). |
| 6434 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
49 |
Local variable 'titleStyle' could be declared final |
| 6435 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
51 |
Local variable 'titleList' could be declared final |
| 6436 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
52 |
Local variable 'itData' could be declared final |
| 6437 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
55 |
Local variable 'titleContent' could be declared final |
| 6438 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
57 |
Avoid instantiating new objects inside loops |
| 6439 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
60 |
Found 'DD'-anomaly for variable 'cindex' (lines '60'-'65'). |
| 6440 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
60 |
Found 'DU'-anomaly for variable 'cindex' (lines '60'-'87'). |
| 6441 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
62 |
Found 'DU'-anomaly for variable 'bodyStyle' (lines '62'-'87'). |
| 6442 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
65 |
Found 'DD'-anomaly for variable 'cindex' (lines '65'-'65'). |
| 6443 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
65 |
Found 'DU'-anomaly for variable 'cindex' (lines '65'-'87'). |
| 6444 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
67 |
Found 'DD'-anomaly for variable 'row' (lines '67'-'67'). |
| 6445 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
67 |
Found 'DU'-anomaly for variable 'row' (lines '67'-'87'). |
| 6446 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
68 |
Found 'DD'-anomaly for variable 'dataM' (lines '68'-'68'). |
| 6447 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
68 |
Found 'DU'-anomaly for variable 'dataM' (lines '68'-'87'). |
| 6448 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
73 |
Avoid instantiating new objects inside loops |
| 6449 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
76 |
Found 'DD'-anomaly for variable 'cindex' (lines '76'-'65'). |
| 6450 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
76 |
Found 'DU'-anomaly for variable 'cindex' (lines '76'-'87'). |
| 6451 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
84 |
Avoid printStackTrace(); use a logger call instead. |
| 6452 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
93 |
Parameter 'workbook' is not assigned and could be declared final |
| 6453 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
107 |
Parameter 'columns' is not assigned and could be declared final |
| 6454 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
107 |
Parameter 'rows' is not assigned and could be declared final |
| 6455 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
109 |
Found 'DU'-anomaly for variable 'sheet' (lines '109'-'118'). |
| 6456 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
111 |
Found 'DU'-anomaly for variable 'cellStyle' (lines '111'-'118'). |
| 6457 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
113 |
Found 'DD'-anomaly for variable 'row' (lines '113'-'113'). |
| 6458 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
113 |
Found 'DU'-anomaly for variable 'row' (lines '113'-'118'). |
| 6459 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
123 |
Do not use the short type |
| 6460 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
124 |
Do not use the short type |
| 6461 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
125 |
Do not use the short type |
| 6462 |
src/org/jeecgframework/web/cgreport/service/impl/excel/CgReportExcelServiceImpl.java |
126 |
Do not use the short type |
| 6463 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
20 |
The class 'CgReportQueryParamUtil' has a Cyclomatic Complexity of 12 (Highest = 11). |
| 6464 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
22 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 6465 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
30 |
Parameter 'item' is not assigned and could be declared final |
| 6466 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
30 |
Parameter 'params' is not assigned and could be declared final |
| 6467 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
30 |
Parameter 'request' is not assigned and could be declared final |
| 6468 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
30 |
The method 'loadQueryParams' has a Cyclomatic Complexity of 11. |
| 6469 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
31 |
Found 'DU'-anomaly for variable 'filedName' (lines '31'-'80'). |
| 6470 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
31 |
Local variable 'filedName' could be declared final |
| 6471 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
32 |
Local variable 'queryMode' could be declared final |
| 6472 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
33 |
Found 'DU'-anomaly for variable 'filedType' (lines '33'-'80'). |
| 6473 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
33 |
Local variable 'filedType' could be declared final |
| 6474 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
39 |
A method should have only one exit point, and that should be the last statement in the method |
| 6475 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
41 |
Local variable 'uri' could be declared final |
| 6476 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
43 |
Avoid excessively long variable names like contiansChinesevalue |
| 6477 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
43 |
Local variable 'contiansChinesevalue' could be declared final |
| 6478 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
44 |
Found 'DU'-anomaly for variable 'value' (lines '44'-'80'). |
| 6479 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
47 |
Avoid printStackTrace(); use a logger call instead. |
| 6480 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
69 |
Avoid if (x != y) ..; else ..; |
| 6481 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
70 |
Avoid variables with short names like re |
| 6482 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
72 |
Prefer StringBuffer over += for concatenating strings |
| 6483 |
src/org/jeecgframework/web/cgreport/util/CgReportQueryParamUtil.java |
76 |
Avoid variables with short names like re |
| 6484 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 6485 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
4 |
Avoid unused imports such as 'java.io.UnsupportedEncodingException' |
| 6486 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
4 |
Avoid unused imports such as 'java.io.UnsupportedEncodingException' |
| 6487 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
8 |
Avoid unused imports such as 'java.util.UUID' |
| 6488 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
8 |
Avoid unused imports such as 'java.util.UUID' |
| 6489 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
12 |
Avoid unused imports such as 'javax.servlet.http.HttpSession' |
| 6490 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
12 |
Avoid unused imports such as 'javax.servlet.http.HttpSession' |
| 6491 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
15 |
Avoid unused imports such as 'org.apache.poi.hssf.usermodel.HSSFWorkbook' |
| 6492 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
15 |
Avoid unused imports such as 'org.apache.poi.hssf.usermodel.HSSFWorkbook' |
| 6493 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
38 |
Avoid unused imports such as 'org.jeecgframework.poi.excel.ExcelUtil' |
| 6494 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
38 |
Avoid unused imports such as 'org.jeecgframework.poi.excel.ExcelUtil' |
| 6495 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
61 |
This class has too many methods, consider refactoring it. |
| 6496 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
65 |
Variables that are final and static should be in all caps. |
| 6497 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
68 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6498 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
70 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6499 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
77 |
Parameter 'message' is not assigned and could be declared final |
| 6500 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
88 |
Parameter 'request' is not assigned and could be declared final |
| 6501 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
101 |
Parameter 'course' is not assigned and could be declared final |
| 6502 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
101 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 6503 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
101 |
Parameter 'request' is not assigned and could be declared final |
| 6504 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
102 |
Avoid variables with short names like cq |
| 6505 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
102 |
Local variable 'cq' could be declared final |
| 6506 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
116 |
Avoid reassigning parameters such as 'course' |
| 6507 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
117 |
Avoid variables with short names like j |
| 6508 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
117 |
Local variable 'j' could be declared final |
| 6509 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
137 |
Avoid variables with short names like j |
| 6510 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
137 |
Local variable 'j' could be declared final |
| 6511 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
144 |
Avoid printStackTrace(); use a logger call instead. |
| 6512 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
162 |
Avoid reassigning parameters such as 'course' |
| 6513 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
175 |
Avoid reassigning parameters such as 'course' |
| 6514 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
202 |
Avoid variables with short names like cq |
| 6515 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
202 |
Local variable 'cq' could be declared final |
| 6516 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
204 |
Local variable 'courses' could be declared final |
| 6517 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
224 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '224'-'227'). |
| 6518 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
225 |
Found 'DD'-anomaly for variable 'fOut' (lines '225'-'256'). |
| 6519 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
231 |
The String literal "content-disposition" appears 4 times in this file; the first occurrence is on line 231 |
| 6520 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
232 |
The String literal "attachment;filename=" appears 4 times in this file; the first occurrence is on line 232 |
| 6521 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
234 |
The String literal ".xls" appears 4 times in this file; the first occurrence is on line 234 |
| 6522 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
234 |
The String literal "UTF-8" appears 4 times in this file; the first occurrence is on line 234 |
| 6523 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
243 |
Found 'DD'-anomaly for variable 'workbook' (lines '243'-'254'). |
| 6524 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
248 |
Avoid instantiating new objects inside loops |
| 6525 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
258 |
Avoid empty catch blocks |
| 6526 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
263 |
Avoid empty catch blocks |
| 6527 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
278 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '278'-'281'). |
| 6528 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
279 |
Found 'DD'-anomaly for variable 'fOut' (lines '279'-'309'). |
| 6529 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
297 |
Found 'DD'-anomaly for variable 'workbook' (lines '297'-'307'). |
| 6530 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
298 |
Avoid variables with short names like cq |
| 6531 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
311 |
Avoid empty catch blocks |
| 6532 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
316 |
Avoid empty catch blocks |
| 6533 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
332 |
Avoid instantiating new objects inside loops |
| 6534 |
src/org/jeecgframework/web/demo/controller/test/CourseController.java |
352 |
Avoid printStackTrace(); use a logger call instead. |
| 6535 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 6536 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
4 |
Avoid unused imports such as 'java.util.HashMap' |
| 6537 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
4 |
Avoid unused imports such as 'java.util.HashMap' |
| 6538 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
6 |
Avoid unused imports such as 'java.util.Map' |
| 6539 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
6 |
Avoid unused imports such as 'java.util.Map' |
| 6540 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
10 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSAttachment' |
| 6541 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
10 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSAttachment' |
| 6542 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
12 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSDocument' |
| 6543 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
12 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSDocument' |
| 6544 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
14 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 6545 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
14 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 6546 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
49 |
This class has too many methods, consider refactoring it. |
| 6547 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
50 |
Avoid unused private fields such as 'logger'. |
| 6548 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
50 |
Variables that are final and static should be in all caps. |
| 6549 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
51 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6550 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
58 |
Parameter 'message' is not assigned and could be declared final |
| 6551 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
63 |
Parameter 'systemService' is not assigned and could be declared final |
| 6552 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
71 |
Avoid reassigning parameters such as 'demo' |
| 6553 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
71 |
Parameter 'request' is not assigned and could be declared final |
| 6554 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
72 |
Local variable 'type' could be declared final |
| 6555 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
77 |
Position literals first in String comparisons |
| 6556 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
78 |
A method should have only one exit point, and that should be the last statement in the method |
| 6557 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
90 |
Parameter 'comboTree' is not assigned and could be declared final |
| 6558 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
90 |
Parameter 'request' is not assigned and could be declared final |
| 6559 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
91 |
Avoid variables with short names like cq |
| 6560 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
91 |
Local variable 'cq' could be declared final |
| 6561 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
99 |
Local variable 'demoList' could be declared final |
| 6562 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
100 |
Found 'DD'-anomaly for variable 'comboTrees' (lines '100'-'102'). |
| 6563 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
101 |
Local variable 'comboTreeModel' could be declared final |
| 6564 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
107 |
Avoid variables with short names like id |
| 6565 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
108 |
Local variable 'code' could be declared final |
| 6566 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
117 |
Avoid variables with short names like cq |
| 6567 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
140 |
Avoid variables with short names like cq |
| 6568 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
157 |
Consider simply returning the value vs storing it in local variable 'treeGrids' |
| 6569 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
164 |
Avoid reassigning parameters such as 'demo' |
| 6570 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
180 |
Avoid variables with short names like j |
| 6571 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
187 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 6572 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
189 |
Prefer StringBuffer over += for concatenating strings |
| 6573 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
192 |
Prefer StringBuffer over += for concatenating strings |
| 6574 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
234 |
Do not add empty strings |
| 6575 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
277 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 6576 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
277 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 6577 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
279 |
Avoid if (x != y) ..; else ..; |
| 6578 |
src/org/jeecgframework/web/demo/controller/test/DemoController.java |
307 |
Avoid reassigning parameters such as 'demo' |
| 6579 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
41 |
Avoid unused private fields such as 'logger'. |
| 6580 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
41 |
Variables that are final and static should be in all caps. |
| 6581 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
44 |
Avoid unused private fields such as 'systemService'. |
| 6582 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
48 |
Avoid using implementation types like 'LinkedList'; use the interface instead |
| 6583 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
48 |
Avoid using implementation types like 'LinkedList'; use the interface instead |
| 6584 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
48 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6585 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
48 |
Use explicit scoping instead of the default package private level |
| 6586 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
49 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6587 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
49 |
Use explicit scoping instead of the default package private level |
| 6588 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
56 |
Parameter 'message' is not assigned and could be declared final |
| 6589 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
69 |
Parameter 'request' is not assigned and could be declared final |
| 6590 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
75 |
Avoid using implementation types like 'LinkedList'; use the interface instead |
| 6591 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
75 |
Avoid using implementation types like 'LinkedList'; use the interface instead |
| 6592 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
75 |
Parameter 'request' is not assigned and could be declared final |
| 6593 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
75 |
Parameter 'response' is not assigned and could be declared final |
| 6594 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
77 |
Local variable 'itr' could be declared final |
| 6595 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
78 |
Found 'DD'-anomaly for variable 'mpf' (lines '78'-'84'). |
| 6596 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
78 |
Found 'DU'-anomaly for variable 'mpf' (lines '78'-'119'). |
| 6597 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
88 |
Avoid using if statements without curly braces |
| 6598 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
92 |
Avoid instantiating new objects inside loops |
| 6599 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
101 |
Local variable 'path' could be declared final |
| 6600 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
102 |
Local variable 'realPath' could be declared final |
| 6601 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
103 |
Local variable 'savePath' could be declared final |
| 6602 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
106 |
Avoid instantiating new objects inside loops |
| 6603 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
109 |
Avoid printStackTrace(); use a logger call instead. |
| 6604 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
122 |
Parameter 'index' is not assigned and could be declared final |
| 6605 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
123 |
Local variable 'getFile' could be declared final |
| 6606 |
src/org/jeecgframework/web/demo/controller/test/FileUploadController.java |
130 |
Avoid printStackTrace(); use a logger call instead. |
| 6607 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
48 |
Variables that are final and static should be in all caps. |
| 6608 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
51 |
Avoid excessively long variable names like jeecgBlobDataService |
| 6609 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
51 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6610 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
53 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6611 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
60 |
Parameter 'message' is not assigned and could be declared final |
| 6612 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
71 |
Parameter 'request' is not assigned and could be declared final |
| 6613 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
85 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 6614 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
85 |
Parameter 'jeecgBlobData' is not assigned and could be declared final |
| 6615 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
85 |
Parameter 'request' is not assigned and could be declared final |
| 6616 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
86 |
Avoid variables with short names like cq |
| 6617 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
86 |
Local variable 'cq' could be declared final |
| 6618 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
100 |
Avoid reassigning parameters such as 'jeecgBlobData' |
| 6619 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
101 |
Avoid variables with short names like j |
| 6620 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
101 |
Local variable 'j' could be declared final |
| 6621 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
114 |
Local variable 'obj' could be declared final |
| 6622 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
116 |
Local variable 'attachment' could be declared final |
| 6623 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
121 |
Local variable 'bis' could be declared final |
| 6624 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
126 |
Avoid assignments in operands |
| 6625 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
126 |
Found 'DU'-anomaly for variable 'bytesRead' (lines '126'-'136'). |
| 6626 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
134 |
Avoid printStackTrace(); use a logger call instead. |
| 6627 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
140 |
Avoid variables with short names like j |
| 6628 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
169 |
Avoid variables with short names like j |
| 6629 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
172 |
Avoid variables with short names like t |
| 6630 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
178 |
Avoid printStackTrace(); use a logger call instead. |
| 6631 |
src/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java |
195 |
Avoid reassigning parameters such as 'jeecgBlobData' |
| 6632 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
40 |
Avoid excessively long variable names like jeecgDemoCkfinderService |
| 6633 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
40 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6634 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
42 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6635 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
49 |
Parameter 'message' is not assigned and could be declared final |
| 6636 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
59 |
Parameter 'request' is not assigned and could be declared final |
| 6637 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
73 |
Parameter 'jeecgDemoCkfinder' is not assigned and could be declared final |
| 6638 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
74 |
Parameter 'request' is not assigned and could be declared final |
| 6639 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
74 |
Parameter 'response' is not assigned and could be declared final |
| 6640 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
76 |
Avoid variables with short names like cq |
| 6641 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
76 |
Local variable 'cq' could be declared final |
| 6642 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
92 |
Avoid reassigning parameters such as 'jeecgDemoCkfinder' |
| 6643 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
94 |
Avoid variables with short names like j |
| 6644 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
94 |
Local variable 'j' could be declared final |
| 6645 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
116 |
Avoid variables with short names like j |
| 6646 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
116 |
Local variable 'j' could be declared final |
| 6647 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
119 |
Avoid variables with short names like t |
| 6648 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
119 |
Local variable 't' could be declared final |
| 6649 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
127 |
Avoid printStackTrace(); use a logger call instead. |
| 6650 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
146 |
Avoid reassigning parameters such as 'jeecgDemoCkfinder' |
| 6651 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoCkfinderController.java |
162 |
Avoid reassigning parameters such as 'jeecgDemoCkfinder' |
| 6652 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
47 |
This class has too many methods, consider refactoring it. |
| 6653 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
51 |
Avoid unused private fields such as 'logger'. |
| 6654 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
51 |
Variables that are final and static should be in all caps. |
| 6655 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
54 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6656 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
56 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6657 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
63 |
Parameter 'message' is not assigned and could be declared final |
| 6658 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
73 |
Parameter 'request' is not assigned and could be declared final |
| 6659 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
82 |
Parameter 'request' is not assigned and could be declared final |
| 6660 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
84 |
Local variable 'departList' could be declared final |
| 6661 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
87 |
Prefer StringBuffer over += for concatenating strings |
| 6662 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
89 |
Prefer StringBuffer over += for concatenating strings |
| 6663 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
101 |
Parameter 'request' is not assigned and could be declared final |
| 6664 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
103 |
Avoid variables with short names like t |
| 6665 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
103 |
Local variable 't' could be declared final |
| 6666 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
119 |
Parameter 'cKEditor' is not assigned and could be declared final |
| 6667 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
120 |
Avoid variables with short names like j |
| 6668 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
120 |
Local variable 'j' could be declared final |
| 6669 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
122 |
Avoid variables with short names like t |
| 6670 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
122 |
Local variable 't' could be declared final |
| 6671 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
129 |
Avoid printStackTrace(); use a logger call instead. |
| 6672 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
146 |
Avoid reassigning parameters such as 'jeecgDemo' |
| 6673 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
148 |
Local variable 'departList' could be declared final |
| 6674 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
155 |
Avoid using if statements without curly braces |
| 6675 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
157 |
Avoid using if statements without curly braces |
| 6676 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
184 |
Avoid variables with short names like cq |
| 6677 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
203 |
Avoid variables with short names like cq |
| 6678 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
205 |
Consider simply returning the value vs storing it in local variable 'ls' |
| 6679 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
214 |
Avoid reassigning parameters such as 'jeecgDemo' |
| 6680 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
245 |
Avoid printStackTrace(); use a logger call instead. |
| 6681 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
278 |
Avoid printStackTrace(); use a logger call instead. |
| 6682 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
290 |
Avoid reassigning parameters such as 'jeecgDemo' |
| 6683 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
313 |
Avoid reassigning parameters such as 'jeecgDemo' |
| 6684 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoController.java |
356 |
Avoid reassigning parameters such as 'jeecgDemo' |
| 6685 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 6686 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
13 |
Avoid unused imports such as 'java.util.HashMap' |
| 6687 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
13 |
Avoid unused imports such as 'java.util.HashMap' |
| 6688 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
52 |
Variables that are final and static should be in all caps. |
| 6689 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
56 |
Avoid unused private fields such as 'jdbcTemplate'. |
| 6690 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
58 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6691 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
60 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6692 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
68 |
Parameter 'message' is not assigned and could be declared final |
| 6693 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
77 |
Parameter 'request' is not assigned and could be declared final |
| 6694 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
77 |
Parameter 'response' is not assigned and could be declared final |
| 6695 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
80 |
Prefer StringBuffer over += for concatenating strings |
| 6696 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
88 |
Avoid printStackTrace(); use a logger call instead. |
| 6697 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
91 |
Local variable 'ids' could be declared final |
| 6698 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
92 |
Local variable 'xStream' could be declared final |
| 6699 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
93 |
Local variable 'dbTable' could be declared final |
| 6700 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
98 |
Prefer StringBuffer over += for concatenating strings |
| 6701 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
100 |
Local variable 'list' could be declared final |
| 6702 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
104 |
Local variable 'outputStream' could be declared final |
| 6703 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
120 |
Do not add empty strings |
| 6704 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
125 |
Found 'DD'-anomaly for variable 'bytesRead' (lines '125'-'127'). |
| 6705 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
127 |
Avoid assignments in operands |
| 6706 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
127 |
Found 'DU'-anomaly for variable 'bytesRead' (lines '127'-'137'). |
| 6707 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
135 |
Avoid printStackTrace(); use a logger call instead. |
| 6708 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
144 |
Parameter 'req' is not assigned and could be declared final |
| 6709 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
155 |
Parameter 'request' is not assigned and could be declared final |
| 6710 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
156 |
Avoid variables with short names like j |
| 6711 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
169 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 6712 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
179 |
Found 'DD'-anomaly for variable 'fileName' (lines '179'-'182'). |
| 6713 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
179 |
Found 'DU'-anomaly for variable 'fileName' (lines '179'-'216'). |
| 6714 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
181 |
Avoid variables with short names like mf |
| 6715 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
184 |
Avoid instantiating new objects inside loops |
| 6716 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
188 |
String.indexOf(char) is faster than String.indexOf(String). |
| 6717 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
189 |
Avoid instantiating new objects inside loops |
| 6718 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
192 |
Prefer StringBuffer over += for concatenating strings |
| 6719 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
194 |
Avoid instantiating new objects inside loops |
| 6720 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
196 |
Avoid instantiating new objects inside loops |
| 6721 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
211 |
Avoid using if...else statements without curly braces |
| 6722 |
src/org/jeecgframework/web/demo/controller/test/JeecgDemoTransDataForXml.java |
213 |
Avoid using if...else statements without curly braces |
| 6723 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
43 |
Avoid unused private fields such as 'logger'. |
| 6724 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
43 |
Variables that are final and static should be in all caps. |
| 6725 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
46 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6726 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
48 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6727 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
55 |
Parameter 'message' is not assigned and could be declared final |
| 6728 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
65 |
Parameter 'request' is not assigned and could be declared final |
| 6729 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
67 |
Local variable 'departList' could be declared final |
| 6730 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
70 |
Prefer StringBuffer over += for concatenating strings |
| 6731 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
72 |
Prefer StringBuffer over += for concatenating strings |
| 6732 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
89 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 6733 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
89 |
Parameter 'jeecgJdbc' is not assigned and could be declared final |
| 6734 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
89 |
Parameter 'request' is not assigned and could be declared final |
| 6735 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
100 |
Local variable 'jObject' could be declared final |
| 6736 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
113 |
Avoid variables with short names like j |
| 6737 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
113 |
Local variable 'j' could be declared final |
| 6738 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
115 |
Local variable 'sql' could be declared final |
| 6739 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
135 |
Avoid variables with short names like j |
| 6740 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
135 |
Local variable 'j' could be declared final |
| 6741 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
138 |
Avoid variables with short names like t |
| 6742 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
144 |
Avoid printStackTrace(); use a logger call instead. |
| 6743 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
161 |
Avoid reassigning parameters such as 'jeecgJdbc' |
| 6744 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
175 |
Avoid variables with short names like pw |
| 6745 |
src/org/jeecgframework/web/demo/controller/test/JeecgEasyUIController.java |
179 |
Avoid printStackTrace(); use a logger call instead. |
| 6746 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
43 |
Avoid unused private fields such as 'logger'. |
| 6747 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
43 |
Variables that are final and static should be in all caps. |
| 6748 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
46 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6749 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
48 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6750 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
55 |
Parameter 'message' is not assigned and could be declared final |
| 6751 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
66 |
Parameter 'request' is not assigned and could be declared final |
| 6752 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
80 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 6753 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
80 |
Parameter 'jeecgJdbc' is not assigned and could be declared final |
| 6754 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
80 |
Parameter 'request' is not assigned and could be declared final |
| 6755 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
91 |
Local variable 'jObject' could be declared final |
| 6756 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
104 |
Avoid variables with short names like j |
| 6757 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
104 |
Local variable 'j' could be declared final |
| 6758 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
106 |
Local variable 'sql' could be declared final |
| 6759 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
126 |
Avoid variables with short names like j |
| 6760 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
126 |
Local variable 'j' could be declared final |
| 6761 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
129 |
Avoid variables with short names like t |
| 6762 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
129 |
Local variable 't' could be declared final |
| 6763 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
135 |
Avoid printStackTrace(); use a logger call instead. |
| 6764 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
152 |
Avoid reassigning parameters such as 'jeecgJdbc' |
| 6765 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
164 |
Avoid variables with short names like pw |
| 6766 |
src/org/jeecgframework/web/demo/controller/test/JeecgJdbcController.java |
168 |
Avoid printStackTrace(); use a logger call instead. |
| 6767 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
45 |
Avoid excessively long variable names like jeecgMatterBomService |
| 6768 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
45 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6769 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
48 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6770 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
56 |
Parameter 'message' is not assigned and could be declared final |
| 6771 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
72 |
Parameter 'request' is not assigned and could be declared final |
| 6772 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
92 |
Parameter 'entity' is not assigned and could be declared final |
| 6773 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
92 |
Parameter 'request' is not assigned and could be declared final |
| 6774 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
92 |
Parameter 'response' is not assigned and could be declared final |
| 6775 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
93 |
Avoid variables with short names like cq |
| 6776 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
101 |
Avoid if (x != y) ..; else ..; |
| 6777 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
108 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 6778 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
110 |
Local variable 'parent' could be declared final |
| 6779 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
115 |
Found 'DD'-anomaly for variable 'treeGrids' (lines '115'-'123'). |
| 6780 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
116 |
Local variable 'treeGridModel' could be declared final |
| 6781 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
140 |
Avoid reassigning parameters such as 'entity' |
| 6782 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
163 |
Avoid variables with short names like cq |
| 6783 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
163 |
Local variable 'cq' could be declared final |
| 6784 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
164 |
Avoid if (x != y) ..; else ..; |
| 6785 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
170 |
Local variable 'list' could be declared final |
| 6786 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
171 |
Local variable 'comboTreeModel' could be declared final |
| 6787 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
173 |
Consider simply returning the value vs storing it in local variable 'comboTrees' |
| 6788 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
192 |
Avoid variables with short names like j |
| 6789 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
200 |
Avoid variables with short names like t |
| 6790 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
206 |
Avoid printStackTrace(); use a logger call instead. |
| 6791 |
src/org/jeecgframework/web/demo/controller/test/JeecgMatterBomController.java |
232 |
Avoid variables with short names like j |
| 6792 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
42 |
Avoid unused private fields such as 'logger'. |
| 6793 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
42 |
Variables that are final and static should be in all caps. |
| 6794 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
45 |
Avoid excessively long variable names like jeecgMinidaoService |
| 6795 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
45 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6796 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
47 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6797 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
54 |
Parameter 'message' is not assigned and could be declared final |
| 6798 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
65 |
Parameter 'request' is not assigned and could be declared final |
| 6799 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
79 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 6800 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
79 |
Parameter 'jeecgMinidao' is not assigned and could be declared final |
| 6801 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
79 |
Parameter 'request' is not assigned and could be declared final |
| 6802 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
80 |
Local variable 'list' could be declared final |
| 6803 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
81 |
Local variable 'count' could be declared final |
| 6804 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
84 |
Local variable 'total_salary' could be declared final |
| 6805 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
99 |
Avoid reassigning parameters such as 'jeecgMinidao' |
| 6806 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
100 |
Avoid variables with short names like j |
| 6807 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
100 |
Local variable 'j' could be declared final |
| 6808 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
120 |
Avoid variables with short names like j |
| 6809 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
120 |
Local variable 'j' could be declared final |
| 6810 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
123 |
Avoid variables with short names like t |
| 6811 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
129 |
Avoid printStackTrace(); use a logger call instead. |
| 6812 |
src/org/jeecgframework/web/demo/controller/test/JeecgMinidaoController.java |
148 |
Avoid reassigning parameters such as 'jeecgMinidao' |
| 6813 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
2 |
Avoid unused imports such as 'java.util.List' |
| 6814 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
2 |
Avoid unused imports such as 'java.util.List' |
| 6815 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
22 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSDepart' |
| 6816 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
22 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSDepart' |
| 6817 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
43 |
Avoid unused private fields such as 'logger'. |
| 6818 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
43 |
Variables that are final and static should be in all caps. |
| 6819 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
46 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6820 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
48 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6821 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
55 |
Parameter 'message' is not assigned and could be declared final |
| 6822 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
66 |
Parameter 'request' is not assigned and could be declared final |
| 6823 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
80 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 6824 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
80 |
Parameter 'jeecgNote' is not assigned and could be declared final |
| 6825 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
80 |
Parameter 'request' is not assigned and could be declared final |
| 6826 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
81 |
Avoid variables with short names like cq |
| 6827 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
81 |
Local variable 'cq' could be declared final |
| 6828 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
95 |
Avoid reassigning parameters such as 'jeecgNote' |
| 6829 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
96 |
Avoid variables with short names like j |
| 6830 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
96 |
Local variable 'j' could be declared final |
| 6831 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
116 |
Avoid variables with short names like j |
| 6832 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
116 |
Local variable 'j' could be declared final |
| 6833 |
src/org/jeecgframework/web/demo/controller/test/JeecgNoteController.java |
136 |
Avoid reassigning parameters such as 'jeecgNote' |
| 6834 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
44 |
Avoid unused private fields such as 'logger'. |
| 6835 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
44 |
Variables that are final and static should be in all caps. |
| 6836 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
47 |
Avoid excessively long variable names like jeecgOrderMainService |
| 6837 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
47 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6838 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
49 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6839 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
56 |
Parameter 'message' is not assigned and could be declared final |
| 6840 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
67 |
Parameter 'request' is not assigned and could be declared final |
| 6841 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
81 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 6842 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
81 |
Parameter 'request' is not assigned and could be declared final |
| 6843 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
81 |
Parameter 'response' is not assigned and could be declared final |
| 6844 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
82 |
Avoid variables with short names like cq |
| 6845 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
82 |
Local variable 'cq' could be declared final |
| 6846 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
94 |
Avoid reassigning parameters such as 'jeecgOrderMain' |
| 6847 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
95 |
Avoid variables with short names like j |
| 6848 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
95 |
Local variable 'j' could be declared final |
| 6849 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
113 |
Avoid excessively long variable names like jeecgOrderMainPage |
| 6850 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
115 |
Avoid excessively long variable names like jeecgOrderProducList |
| 6851 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
115 |
Local variable 'jeecgOrderProducList' could be declared final |
| 6852 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
116 |
Avoid excessively long variable names like jeecgOrderCustomList |
| 6853 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
116 |
Local variable 'jeecgOrderCustomList' could be declared final |
| 6854 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
117 |
Avoid excessively long variable names like jeecgOrderCustomShow |
| 6855 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
117 |
Found 'DU'-anomaly for variable 'jeecgOrderCustomShow' (lines '117'-'130'). |
| 6856 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
117 |
Local variable 'jeecgOrderCustomShow' could be declared final |
| 6857 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
118 |
Avoid variables with short names like j |
| 6858 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainController.java |
137 |
Avoid reassigning parameters such as 'jeecgOrderMain' |
| 6859 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
44 |
Avoid unused private fields such as 'logger'. |
| 6860 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
44 |
Variables that are final and static should be in all caps. |
| 6861 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
47 |
Avoid excessively long variable names like jeecgOrderMainService |
| 6862 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
47 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6863 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
49 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6864 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
56 |
Parameter 'message' is not assigned and could be declared final |
| 6865 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
67 |
Parameter 'request' is not assigned and could be declared final |
| 6866 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
81 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 6867 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
81 |
Parameter 'request' is not assigned and could be declared final |
| 6868 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
81 |
Parameter 'response' is not assigned and could be declared final |
| 6869 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
82 |
Avoid variables with short names like cq |
| 6870 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
82 |
Local variable 'cq' could be declared final |
| 6871 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
94 |
Avoid reassigning parameters such as 'jeecgOrderMain' |
| 6872 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
95 |
Avoid variables with short names like j |
| 6873 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
95 |
Local variable 'j' could be declared final |
| 6874 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
113 |
Avoid excessively long variable names like jeecgOrderMainPage |
| 6875 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
115 |
Avoid excessively long variable names like jeecgOrderProducList |
| 6876 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
115 |
Local variable 'jeecgOrderProducList' could be declared final |
| 6877 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
116 |
Avoid excessively long variable names like jeecgOrderCustomList |
| 6878 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
116 |
Local variable 'jeecgOrderCustomList' could be declared final |
| 6879 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
117 |
Avoid excessively long variable names like jeecgOrderCustomShow |
| 6880 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
117 |
Found 'DU'-anomaly for variable 'jeecgOrderCustomShow' (lines '117'-'130'). |
| 6881 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
117 |
Local variable 'jeecgOrderCustomShow' could be declared final |
| 6882 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
118 |
Avoid variables with short names like j |
| 6883 |
src/org/jeecgframework/web/demo/controller/test/JeecgOrderMainNoTagController.java |
137 |
Avoid reassigning parameters such as 'jeecgOrderMain' |
| 6884 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 6885 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
56 |
Variables that are final and static should be in all caps. |
| 6886 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
59 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6887 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
61 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6888 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
68 |
Parameter 'message' is not assigned and could be declared final |
| 6889 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
79 |
Parameter 'request' is not assigned and could be declared final |
| 6890 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
89 |
Parameter 'request' is not assigned and could be declared final |
| 6891 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
89 |
Parameter 'response' is not assigned and could be declared final |
| 6892 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
90 |
Avoid unused local variables such as 'session'. |
| 6893 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
90 |
Found 'DU'-anomaly for variable 'session' (lines '90'-'139'). |
| 6894 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
90 |
Local variable 'session' could be declared final |
| 6895 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
93 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '93'-'97'). |
| 6896 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
94 |
Found 'DD'-anomaly for variable 'fOut' (lines '94'-'116'). |
| 6897 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
99 |
Local variable 'browse' could be declared final |
| 6898 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
107 |
Local variable 'newtitle' could be declared final |
| 6899 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
113 |
Found 'DD'-anomaly for variable 'workbook' (lines '113'-'115'). |
| 6900 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
114 |
Local variable 'jpPersons' could be declared final |
| 6901 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
119 |
Avoid empty catch blocks |
| 6902 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
123 |
Avoid empty catch blocks |
| 6903 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
134 |
Avoid empty catch blocks |
| 6904 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
141 |
Parameter 'request' is not assigned and could be declared final |
| 6905 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
148 |
Avoid variables with short names like j |
| 6906 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
148 |
Local variable 'j' could be declared final |
| 6907 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
153 |
Found 'DD'-anomaly for variable 'isSuccess' (lines '153'-'158'). |
| 6908 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
165 |
Avoid using if...else statements without curly braces |
| 6909 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
167 |
Avoid using if...else statements without curly braces |
| 6910 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
181 |
Avoid variables with short names like j |
| 6911 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
223 |
Avoid empty catch blocks |
| 6912 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
238 |
Avoid variables with short names like cq |
| 6913 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
250 |
Avoid reassigning parameters such as 'jpPerson' |
| 6914 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
251 |
Avoid variables with short names like j |
| 6915 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
271 |
Avoid variables with short names like j |
| 6916 |
src/org/jeecgframework/web/demo/controller/test/JpPersonController.java |
291 |
Avoid reassigning parameters such as 'jpPerson' |
| 6917 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
2 |
Avoid unused imports such as 'java.util.List' |
| 6918 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
2 |
Avoid unused imports such as 'java.util.List' |
| 6919 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
22 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSDepart' |
| 6920 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
22 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSDepart' |
| 6921 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
44 |
Avoid unused private fields such as 'logger'. |
| 6922 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
44 |
Variables that are final and static should be in all caps. |
| 6923 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
47 |
Avoid excessively long variable names like optimisticLockingService |
| 6924 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
47 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6925 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
49 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6926 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
56 |
Parameter 'message' is not assigned and could be declared final |
| 6927 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
67 |
Parameter 'request' is not assigned and could be declared final |
| 6928 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
81 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 6929 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
81 |
Parameter 'optimisticLocking' is not assigned and could be declared final |
| 6930 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
81 |
Parameter 'request' is not assigned and could be declared final |
| 6931 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
82 |
Avoid variables with short names like cq |
| 6932 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
82 |
Local variable 'cq' could be declared final |
| 6933 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
96 |
Avoid reassigning parameters such as 'optimisticLocking' |
| 6934 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
97 |
Avoid variables with short names like j |
| 6935 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
97 |
Local variable 'j' could be declared final |
| 6936 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
117 |
Avoid variables with short names like j |
| 6937 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
117 |
Local variable 'j' could be declared final |
| 6938 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
121 |
Avoid variables with short names like t |
| 6939 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
121 |
Local variable 't' could be declared final |
| 6940 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
127 |
Avoid throwing raw exception types. |
| 6941 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
133 |
Avoid printStackTrace(); use a logger call instead. |
| 6942 |
src/org/jeecgframework/web/demo/controller/test/OptimisticLockingController.java |
150 |
Avoid reassigning parameters such as 'optimisticLocking' |
| 6943 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 6944 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
45 |
The class 'ReportDemoController' has a Cyclomatic Complexity of 5 (Highest = 12). |
| 6945 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
49 |
Avoid unused private fields such as 'logger'. |
| 6946 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
49 |
Variables that are final and static should be in all caps. |
| 6947 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
50 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 6948 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
53 |
Parameter 'systemService' is not assigned and could be declared final |
| 6949 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
59 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 6950 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
59 |
Parameter 'request' is not assigned and could be declared final |
| 6951 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
59 |
Parameter 'response' is not assigned and could be declared final |
| 6952 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
60 |
Local variable 'maplist' could be declared final |
| 6953 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
61 |
Found 'DU'-anomaly for variable 'countSutent' (lines '61'-'81'). |
| 6954 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
61 |
Local variable 'countSutent' could be declared final |
| 6955 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
63 |
Local variable 'personcount' could be declared final |
| 6956 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
64 |
Found 'DD'-anomaly for variable 'percentage' (lines '64'-'66'). |
| 6957 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
66 |
Avoid instantiating new objects inside loops |
| 6958 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
71 |
Found 'DD'-anomaly for variable 'count' (lines '71'-'73'). |
| 6959 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
71 |
Found 'DD'-anomaly for variable 'count' (lines '71'-'75'). |
| 6960 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
89 |
Parameter 'request' is not assigned and could be declared final |
| 6961 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
102 |
Local variable 'list' could be declared final |
| 6962 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
103 |
Avoid variables with short names like hc |
| 6963 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
103 |
Found 'DD'-anomaly for variable 'hc' (lines '103'-'109'). |
| 6964 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
104 |
Avoid variables with short names like sb |
| 6965 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
104 |
Local variable 'sb' could be declared final |
| 6966 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
104 |
StringBuffer constructor is initialized with size 16, but has at least 68 characters appended. |
| 6967 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
107 |
Found 'DU'-anomaly for variable 'count' (lines '107'-'131'). |
| 6968 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
108 |
Avoid variables with short names like lt |
| 6969 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
113 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 6970 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
115 |
Avoid instantiating new objects inside loops |
| 6971 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
119 |
Found 'DD'-anomaly for variable 'groupCount' (lines '119'-'119'). |
| 6972 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
119 |
Found 'DU'-anomaly for variable 'groupCount' (lines '119'-'131'). |
| 6973 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
120 |
Found 'DD'-anomaly for variable 'percentage' (lines '120'-'122'). |
| 6974 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
122 |
Avoid instantiating new objects inside loops |
| 6975 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
140 |
The method 'export' has a Cyclomatic Complexity of 12. |
| 6976 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
146 |
Found 'DD'-anomaly for variable 'filename' (lines '146'-'148'). |
| 6977 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
148 |
Prefer StringBuffer over += for concatenating strings |
| 6978 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
148 |
Prefer StringBuffer over += for concatenating strings |
| 6979 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
151 |
Avoid if (x != y) ..; else ..; |
| 6980 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
153 |
Found 'DD'-anomaly for variable 'ext' (lines '153'-'156'). |
| 6981 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
153 |
Found 'DD'-anomaly for variable 'ext' (lines '153'-'159'). |
| 6982 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
153 |
Found 'DD'-anomaly for variable 'ext' (lines '153'-'162'). |
| 6983 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
153 |
Found 'DD'-anomaly for variable 'ext' (lines '153'-'165'). |
| 6984 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
154 |
Avoid variables with short names like t |
| 6985 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
154 |
Found 'DD'-anomaly for variable 't' (lines '154'-'157'). |
| 6986 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
154 |
Found 'DD'-anomaly for variable 't' (lines '154'-'160'). |
| 6987 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
154 |
Found 'DD'-anomaly for variable 't' (lines '154'-'163'). |
| 6988 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
155 |
Position literals first in String comparisons |
| 6989 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
158 |
Position literals first in String comparisons |
| 6990 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
161 |
Position literals first in String comparisons |
| 6991 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
164 |
Avoid using if statements without curly braces |
| 6992 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
164 |
Position literals first in String comparisons |
| 6993 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
170 |
Avoid if (x != y) ..; else ..; |
| 6994 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
180 |
Avoid printStackTrace(); use a logger call instead. |
| 6995 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
182 |
Position literals first in String comparisons |
| 6996 |
src/org/jeecgframework/web/demo/controller/test/ReportDemoController.java |
189 |
Avoid using if...else statements without curly braces |
| 6997 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 6998 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
5 |
Avoid unused imports such as 'javax.imageio.stream.FileCacheImageInputStream' |
| 6999 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
5 |
Avoid unused imports such as 'javax.imageio.stream.FileCacheImageInputStream' |
| 7000 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
12 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSDocument' |
| 7001 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
12 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSDocument' |
| 7002 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
15 |
Avoid unused imports such as 'org.apache.commons.io.FileUtils' |
| 7003 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
15 |
Avoid unused imports such as 'org.apache.commons.io.FileUtils' |
| 7004 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
33 |
Avoid unused imports such as 'org.springframework.web.multipart.MultipartRequest' |
| 7005 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
33 |
Avoid unused imports such as 'org.springframework.web.multipart.MultipartRequest' |
| 7006 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
51 |
Avoid unused private fields such as 'logger'. |
| 7007 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
51 |
Variables that are final and static should be in all caps. |
| 7008 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
54 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7009 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
56 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7010 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
63 |
Parameter 'message' is not assigned and could be declared final |
| 7011 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
74 |
Parameter 'request' is not assigned and could be declared final |
| 7012 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
88 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 7013 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
88 |
Parameter 'request' is not assigned and could be declared final |
| 7014 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
88 |
Parameter 'response' is not assigned and could be declared final |
| 7015 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
89 |
Avoid variables with short names like cq |
| 7016 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
89 |
Local variable 'cq' could be declared final |
| 7017 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
106 |
Avoid reassigning parameters such as 'financeFile' |
| 7018 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
106 |
Avoid reassigning parameters such as 'financeFile' |
| 7019 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
107 |
Avoid variables with short names like j |
| 7020 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
107 |
Local variable 'j' could be declared final |
| 7021 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
108 |
Local variable 'attributes' could be declared final |
| 7022 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
109 |
Local variable 'fileKey' could be declared final |
| 7023 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
111 |
Local variable 'financeId' could be declared final |
| 7024 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
141 |
Avoid reassigning parameters such as 'tFinance' |
| 7025 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
142 |
Avoid variables with short names like j |
| 7026 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
161 |
Avoid variables with short names like j |
| 7027 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
164 |
Avoid variables with short names like t |
| 7028 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
170 |
Avoid printStackTrace(); use a logger call instead. |
| 7029 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
195 |
Do not add empty strings |
| 7030 |
src/org/jeecgframework/web/demo/controller/test/TFinanceController.java |
210 |
Avoid reassigning parameters such as 'tFinance' |
| 7031 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
4 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base' |
| 7032 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
32 |
Variables that are final and static should be in all caps. |
| 7033 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
34 |
Avoid unused private fields such as 'userService'. |
| 7034 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
34 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7035 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
34 |
Perhaps 'userService' could be replaced by a local variable. |
| 7036 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
35 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7037 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
38 |
Parameter 'systemService' is not assigned and could be declared final |
| 7038 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
43 |
Parameter 'userService' is not assigned and could be declared final |
| 7039 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
52 |
Parameter 'request' is not assigned and could be declared final |
| 7040 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
54 |
Local variable 'departList' could be declared final |
| 7041 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
57 |
Prefer StringBuffer over += for concatenating strings |
| 7042 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
59 |
Prefer StringBuffer over += for concatenating strings |
| 7043 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
65 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 7044 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
65 |
Parameter 'request' is not assigned and could be declared final |
| 7045 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
66 |
Avoid variables with short names like cq |
| 7046 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
66 |
Local variable 'cq' could be declared final |
| 7047 |
src/org/jeecgframework/web/demo/controller/test/UserNoPageController.java |
70 |
Local variable 'userstate' could be declared final |
| 7048 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 7049 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
5 |
Avoid unused imports such as 'java.util.List' |
| 7050 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
5 |
Avoid unused imports such as 'java.util.List' |
| 7051 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
29 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSDepart' |
| 7052 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
29 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSDepart' |
| 7053 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
33 |
Avoid unused imports such as 'org.jeecgframework.web.demo.entity.test.JeecgBlobDataEntity' |
| 7054 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
33 |
Avoid unused imports such as 'org.jeecgframework.web.demo.entity.test.JeecgBlobDataEntity' |
| 7055 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
52 |
Variables that are final and static should be in all caps. |
| 7056 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
55 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7057 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
57 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7058 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
64 |
Parameter 'message' is not assigned and could be declared final |
| 7059 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
75 |
Parameter 'request' is not assigned and could be declared final |
| 7060 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
88 |
Parameter 'request' is not assigned and could be declared final |
| 7061 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
102 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 7062 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
102 |
Parameter 'request' is not assigned and could be declared final |
| 7063 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
103 |
Avoid variables with short names like cq |
| 7064 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
103 |
Local variable 'cq' could be declared final |
| 7065 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
117 |
Avoid reassigning parameters such as 'webOffice' |
| 7066 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
118 |
Avoid variables with short names like j |
| 7067 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
118 |
Local variable 'j' could be declared final |
| 7068 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
138 |
Avoid variables with short names like j |
| 7069 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
138 |
Local variable 'j' could be declared final |
| 7070 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
141 |
Avoid variables with short names like t |
| 7071 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
141 |
Local variable 't' could be declared final |
| 7072 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
147 |
Avoid printStackTrace(); use a logger call instead. |
| 7073 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
164 |
Avoid reassigning parameters such as 'webOffice' |
| 7074 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
178 |
Avoid reassigning parameters such as 'webOffice' |
| 7075 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
198 |
Local variable 'obj' could be declared final |
| 7076 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
210 |
Avoid assignments in operands |
| 7077 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
210 |
Found 'DU'-anomaly for variable 'bytesRead' (lines '210'-'220'). |
| 7078 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
218 |
Avoid printStackTrace(); use a logger call instead. |
| 7079 |
src/org/jeecgframework/web/demo/controller/test/WebOfficeController.java |
224 |
Avoid variables with short names like j |
| 7080 |
src/org/jeecgframework/web/demo/dao/test/JeecgMinidaoDao.java |
22 |
Avoid modifiers which are implied by the context |
| 7081 |
src/org/jeecgframework/web/demo/dao/test/JeecgMinidaoDao.java |
26 |
Avoid modifiers which are implied by the context |
| 7082 |
src/org/jeecgframework/web/demo/entity/test/CKEditorEntity.java |
3 |
Avoid unused imports such as 'java.math.BigDecimal' |
| 7083 |
src/org/jeecgframework/web/demo/entity/test/CKEditorEntity.java |
3 |
Avoid unused imports such as 'java.math.BigDecimal' |
| 7084 |
src/org/jeecgframework/web/demo/entity/test/CKEditorEntity.java |
4 |
Avoid unused imports such as 'java.util.Date' |
| 7085 |
src/org/jeecgframework/web/demo/entity/test/CKEditorEntity.java |
4 |
Avoid unused imports such as 'java.util.Date' |
| 7086 |
src/org/jeecgframework/web/demo/entity/test/CKEditorEntity.java |
9 |
Avoid unused imports such as 'javax.persistence.GenerationType' |
| 7087 |
src/org/jeecgframework/web/demo/entity/test/CKEditorEntity.java |
9 |
Avoid unused imports such as 'javax.persistence.GenerationType' |
| 7088 |
src/org/jeecgframework/web/demo/entity/test/CKEditorEntity.java |
13 |
Avoid unused imports such as 'javax.persistence.SequenceGenerator' |
| 7089 |
src/org/jeecgframework/web/demo/entity/test/CKEditorEntity.java |
13 |
Avoid unused imports such as 'javax.persistence.SequenceGenerator' |
| 7090 |
src/org/jeecgframework/web/demo/entity/test/CKEditorEntity.java |
28 |
Avoid variables with short names like id |
| 7091 |
src/org/jeecgframework/web/demo/entity/test/CKEditorEntity.java |
49 |
Avoid variables with short names like id |
| 7092 |
src/org/jeecgframework/web/demo/entity/test/CKEditorEntity.java |
49 |
Parameter 'id' is not assigned and could be declared final |
| 7093 |
src/org/jeecgframework/web/demo/entity/test/CKEditorEntity.java |
58 |
Returning 'contents' may expose an internal array. |
| 7094 |
src/org/jeecgframework/web/demo/entity/test/CKEditorEntity.java |
65 |
Parameter 'contents' is not assigned and could be declared final |
| 7095 |
src/org/jeecgframework/web/demo/entity/test/CKEditorEntity.java |
65 |
The user-supplied array 'contents' is stored directly. |
| 7096 |
src/org/jeecgframework/web/demo/entity/test/CourseEntity.java |
39 |
Avoid variables with short names like id |
| 7097 |
src/org/jeecgframework/web/demo/entity/test/CourseEntity.java |
67 |
Avoid variables with short names like id |
| 7098 |
src/org/jeecgframework/web/demo/entity/test/CourseEntity.java |
67 |
Parameter 'id' is not assigned and could be declared final |
| 7099 |
src/org/jeecgframework/web/demo/entity/test/CourseEntity.java |
83 |
Parameter 'name' is not assigned and could be declared final |
| 7100 |
src/org/jeecgframework/web/demo/entity/test/CourseEntity.java |
98 |
Parameter 'teacher' is not assigned and could be declared final |
| 7101 |
src/org/jeecgframework/web/demo/entity/test/CourseEntity.java |
107 |
Parameter 'students' is not assigned and could be declared final |
| 7102 |
src/org/jeecgframework/web/demo/entity/test/FileMeta.java |
14 |
Parameter 'fileName' is not assigned and could be declared final |
| 7103 |
src/org/jeecgframework/web/demo/entity/test/FileMeta.java |
20 |
Parameter 'fileSize' is not assigned and could be declared final |
| 7104 |
src/org/jeecgframework/web/demo/entity/test/FileMeta.java |
26 |
Parameter 'fileType' is not assigned and could be declared final |
| 7105 |
src/org/jeecgframework/web/demo/entity/test/FileMeta.java |
30 |
Returning 'bytes' may expose an internal array. |
| 7106 |
src/org/jeecgframework/web/demo/entity/test/FileMeta.java |
32 |
Parameter 'bytes' is not assigned and could be declared final |
| 7107 |
src/org/jeecgframework/web/demo/entity/test/FileMeta.java |
32 |
The user-supplied array 'bytes' is stored directly. |
| 7108 |
src/org/jeecgframework/web/demo/entity/test/JeecgBlobDataEntity.java |
26 |
Avoid variables with short names like id |
| 7109 |
src/org/jeecgframework/web/demo/entity/test/JeecgBlobDataEntity.java |
69 |
Avoid variables with short names like id |
| 7110 |
src/org/jeecgframework/web/demo/entity/test/JeecgBlobDataEntity.java |
69 |
Parameter 'id' is not assigned and could be declared final |
| 7111 |
src/org/jeecgframework/web/demo/entity/test/JeecgBlobDataEntity.java |
85 |
Parameter 'userid' is not assigned and could be declared final |
| 7112 |
src/org/jeecgframework/web/demo/entity/test/JeecgBlobDataEntity.java |
101 |
Parameter 'businesskey' is not assigned and could be declared final |
| 7113 |
src/org/jeecgframework/web/demo/entity/test/JeecgBlobDataEntity.java |
117 |
Parameter 'infotypeid' is not assigned and could be declared final |
| 7114 |
src/org/jeecgframework/web/demo/entity/test/JeecgBlobDataEntity.java |
133 |
Parameter 'attachmenttitle' is not assigned and could be declared final |
| 7115 |
src/org/jeecgframework/web/demo/entity/test/JeecgDemo.java |
54 |
Parameter 'status' is not assigned and could be declared final |
| 7116 |
src/org/jeecgframework/web/demo/entity/test/JeecgDemo.java |
71 |
Parameter 'mobilePhone' is not assigned and could be declared final |
| 7117 |
src/org/jeecgframework/web/demo/entity/test/JeecgDemo.java |
87 |
Parameter 'officePhone' is not assigned and could be declared final |
| 7118 |
src/org/jeecgframework/web/demo/entity/test/JeecgDemo.java |
103 |
Parameter 'email' is not assigned and could be declared final |
| 7119 |
src/org/jeecgframework/web/demo/entity/test/JeecgDemo.java |
119 |
Parameter 'age' is not assigned and could be declared final |
| 7120 |
src/org/jeecgframework/web/demo/entity/test/JeecgDemoCkfinderEntity.java |
27 |
Avoid variables with short names like id |
| 7121 |
src/org/jeecgframework/web/demo/entity/test/JeecgDemoCkfinderEntity.java |
54 |
Avoid variables with short names like id |
| 7122 |
src/org/jeecgframework/web/demo/entity/test/JeecgDemoCkfinderEntity.java |
54 |
Parameter 'id' is not assigned and could be declared final |
| 7123 |
src/org/jeecgframework/web/demo/entity/test/JeecgDemoCkfinderEntity.java |
73 |
Parameter 'image' is not assigned and could be declared final |
| 7124 |
src/org/jeecgframework/web/demo/entity/test/JeecgDemoCkfinderEntity.java |
92 |
Parameter 'attachment' is not assigned and could be declared final |
| 7125 |
src/org/jeecgframework/web/demo/entity/test/JeecgDemoCkfinderEntity.java |
113 |
Parameter 'remark' is not assigned and could be declared final |
| 7126 |
src/org/jeecgframework/web/demo/entity/test/JeecgJdbcEntity.java |
4 |
Avoid unused imports such as 'java.util.Date' |
| 7127 |
src/org/jeecgframework/web/demo/entity/test/JeecgJdbcEntity.java |
4 |
Avoid unused imports such as 'java.util.Date' |
| 7128 |
src/org/jeecgframework/web/demo/entity/test/JeecgJdbcEntity.java |
9 |
Avoid unused imports such as 'javax.persistence.GenerationType' |
| 7129 |
src/org/jeecgframework/web/demo/entity/test/JeecgJdbcEntity.java |
9 |
Avoid unused imports such as 'javax.persistence.GenerationType' |
| 7130 |
src/org/jeecgframework/web/demo/entity/test/JeecgJdbcEntity.java |
13 |
Avoid unused imports such as 'javax.persistence.SequenceGenerator' |
| 7131 |
src/org/jeecgframework/web/demo/entity/test/JeecgJdbcEntity.java |
13 |
Avoid unused imports such as 'javax.persistence.SequenceGenerator' |
| 7132 |
src/org/jeecgframework/web/demo/entity/test/JeecgJdbcEntity.java |
28 |
Avoid variables with short names like id |
| 7133 |
src/org/jeecgframework/web/demo/entity/test/JeecgJdbcEntity.java |
67 |
Avoid variables with short names like id |
| 7134 |
src/org/jeecgframework/web/demo/entity/test/JeecgJdbcEntity.java |
67 |
Parameter 'id' is not assigned and could be declared final |
| 7135 |
src/org/jeecgframework/web/demo/entity/test/JeecgJdbcEntity.java |
83 |
Parameter 'age' is not assigned and could be declared final |
| 7136 |
src/org/jeecgframework/web/demo/entity/test/JeecgJdbcEntity.java |
99 |
Parameter 'birthday' is not assigned and could be declared final |
| 7137 |
src/org/jeecgframework/web/demo/entity/test/JeecgJdbcEntity.java |
115 |
Parameter 'createTime' is not assigned and could be declared final |
| 7138 |
src/org/jeecgframework/web/demo/entity/test/JeecgJdbcEntity.java |
131 |
Parameter 'depId' is not assigned and could be declared final |
| 7139 |
src/org/jeecgframework/web/demo/entity/test/JeecgMatterBom.java |
89 |
Parameter 'address' is not assigned and could be declared final |
| 7140 |
src/org/jeecgframework/web/demo/entity/test/JeecgMatterBom.java |
118 |
Parameter 'code' is not assigned and could be declared final |
| 7141 |
src/org/jeecgframework/web/demo/entity/test/JeecgMatterBom.java |
147 |
Parameter 'name' is not assigned and could be declared final |
| 7142 |
src/org/jeecgframework/web/demo/entity/test/JeecgMatterBom.java |
176 |
Parameter 'parent' is not assigned and could be declared final |
| 7143 |
src/org/jeecgframework/web/demo/entity/test/JeecgMatterBom.java |
206 |
Parameter 'children' is not assigned and could be declared final |
| 7144 |
src/org/jeecgframework/web/demo/entity/test/JeecgMinidaoEntity.java |
30 |
Avoid variables with short names like id |
| 7145 |
src/org/jeecgframework/web/demo/entity/test/JeecgMinidaoEntity.java |
73 |
Avoid variables with short names like id |
| 7146 |
src/org/jeecgframework/web/demo/entity/test/JeecgMinidaoEntity.java |
73 |
Parameter 'id' is not assigned and could be declared final |
| 7147 |
src/org/jeecgframework/web/demo/entity/test/JeecgMinidaoEntity.java |
89 |
Parameter 'age' is not assigned and could be declared final |
| 7148 |
src/org/jeecgframework/web/demo/entity/test/JeecgMinidaoEntity.java |
105 |
Parameter 'birthday' is not assigned and could be declared final |
| 7149 |
src/org/jeecgframework/web/demo/entity/test/JeecgMinidaoEntity.java |
121 |
Parameter 'content' is not assigned and could be declared final |
| 7150 |
src/org/jeecgframework/web/demo/entity/test/JeecgMinidaoEntity.java |
137 |
Parameter 'createTime' is not assigned and could be declared final |
| 7151 |
src/org/jeecgframework/web/demo/entity/test/JeecgNoteEntity.java |
4 |
Avoid unused imports such as 'java.util.Date' |
| 7152 |
src/org/jeecgframework/web/demo/entity/test/JeecgNoteEntity.java |
4 |
Avoid unused imports such as 'java.util.Date' |
| 7153 |
src/org/jeecgframework/web/demo/entity/test/JeecgNoteEntity.java |
9 |
Avoid unused imports such as 'javax.persistence.GenerationType' |
| 7154 |
src/org/jeecgframework/web/demo/entity/test/JeecgNoteEntity.java |
9 |
Avoid unused imports such as 'javax.persistence.GenerationType' |
| 7155 |
src/org/jeecgframework/web/demo/entity/test/JeecgNoteEntity.java |
13 |
Avoid unused imports such as 'javax.persistence.SequenceGenerator' |
| 7156 |
src/org/jeecgframework/web/demo/entity/test/JeecgNoteEntity.java |
13 |
Avoid unused imports such as 'javax.persistence.SequenceGenerator' |
| 7157 |
src/org/jeecgframework/web/demo/entity/test/JeecgNoteEntity.java |
28 |
Avoid variables with short names like id |
| 7158 |
src/org/jeecgframework/web/demo/entity/test/JeecgNoteEntity.java |
57 |
Avoid variables with short names like id |
| 7159 |
src/org/jeecgframework/web/demo/entity/test/JeecgNoteEntity.java |
57 |
Parameter 'id' is not assigned and could be declared final |
| 7160 |
src/org/jeecgframework/web/demo/entity/test/JeecgNoteEntity.java |
73 |
Parameter 'age' is not assigned and could be declared final |
| 7161 |
src/org/jeecgframework/web/demo/entity/test/JeecgNoteEntity.java |
89 |
Parameter 'birthday' is not assigned and could be declared final |
| 7162 |
src/org/jeecgframework/web/demo/entity/test/JeecgNoteEntity.java |
105 |
Parameter 'createdt' is not assigned and could be declared final |
| 7163 |
src/org/jeecgframework/web/demo/entity/test/JeecgNoteEntity.java |
121 |
Parameter 'name' is not assigned and could be declared final |
| 7164 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderCustomEntity.java |
22 |
Too many fields |
| 7165 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderCustomEntity.java |
24 |
Avoid variables with short names like id |
| 7166 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderCustomEntity.java |
73 |
Avoid variables with short names like id |
| 7167 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderCustomEntity.java |
73 |
Parameter 'id' is not assigned and could be declared final |
| 7168 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderCustomEntity.java |
89 |
Parameter 'goOrderCode' is not assigned and could be declared final |
| 7169 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderCustomEntity.java |
105 |
Parameter 'gocCusName' is not assigned and could be declared final |
| 7170 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderCustomEntity.java |
121 |
Parameter 'gocSex' is not assigned and could be declared final |
| 7171 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderCustomEntity.java |
137 |
Parameter 'gocIdcard' is not assigned and could be declared final |
| 7172 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderMainEntity.java |
24 |
Too many fields |
| 7173 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderMainEntity.java |
26 |
Avoid variables with short names like id |
| 7174 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderMainEntity.java |
79 |
Avoid variables with short names like id |
| 7175 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderMainEntity.java |
79 |
Parameter 'id' is not assigned and could be declared final |
| 7176 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderMainEntity.java |
95 |
Parameter 'goOrderCode' is not assigned and could be declared final |
| 7177 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderMainEntity.java |
111 |
Parameter 'goderType' is not assigned and could be declared final |
| 7178 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderMainEntity.java |
127 |
Parameter 'usertype' is not assigned and could be declared final |
| 7179 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderMainEntity.java |
143 |
Parameter 'goContactName' is not assigned and could be declared final |
| 7180 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderProductEntity.java |
24 |
Too many fields |
| 7181 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderProductEntity.java |
26 |
Avoid variables with short names like id |
| 7182 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderProductEntity.java |
75 |
Avoid variables with short names like id |
| 7183 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderProductEntity.java |
75 |
Parameter 'id' is not assigned and could be declared final |
| 7184 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderProductEntity.java |
91 |
Parameter 'goOrderCode' is not assigned and could be declared final |
| 7185 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderProductEntity.java |
107 |
Parameter 'gopProductType' is not assigned and could be declared final |
| 7186 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderProductEntity.java |
123 |
Parameter 'gopProductName' is not assigned and could be declared final |
| 7187 |
src/org/jeecgframework/web/demo/entity/test/JeecgOrderProductEntity.java |
139 |
Parameter 'gopCount' is not assigned and could be declared final |
| 7188 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
30 |
Avoid variables with short names like id |
| 7189 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
46 |
Avoid excessively long variable names like dateFormaterCreatedt |
| 7190 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
46 |
Use explicit scoping instead of the default package private level |
| 7191 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
46 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 7192 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
47 |
Avoid excessively long variable names like dateFormaterBirthday |
| 7193 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
47 |
Use explicit scoping instead of the default package private level |
| 7194 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
47 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 7195 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
49 |
Avoid if (x != y) ..; else ..; |
| 7196 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
50 |
A method should have only one exit point, and that should be the last statement in the method |
| 7197 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
50 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 7198 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
52 |
Avoid using if...else statements without curly braces |
| 7199 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
54 |
Parameter 'createdt' is not assigned and could be declared final |
| 7200 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
57 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 7201 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
59 |
Avoid printStackTrace(); use a logger call instead. |
| 7202 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
64 |
Avoid if (x != y) ..; else ..; |
| 7203 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
65 |
A method should have only one exit point, and that should be the last statement in the method |
| 7204 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
65 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 7205 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
67 |
Avoid using if...else statements without curly braces |
| 7206 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
69 |
Parameter 'birthday' is not assigned and could be declared final |
| 7207 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
72 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 7208 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
74 |
Avoid printStackTrace(); use a logger call instead. |
| 7209 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
95 |
Avoid variables with short names like id |
| 7210 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
95 |
Parameter 'id' is not assigned and could be declared final |
| 7211 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
111 |
Parameter 'age' is not assigned and could be declared final |
| 7212 |
src/org/jeecgframework/web/demo/entity/test/JpPersonEntity.java |
127 |
Parameter 'birthday' is not assigned and could be declared final |
| 7213 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
3 |
Avoid unused imports such as 'java.math.BigDecimal' |
| 7214 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
3 |
Avoid unused imports such as 'java.math.BigDecimal' |
| 7215 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
4 |
Avoid unused imports such as 'java.util.Date' |
| 7216 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
4 |
Avoid unused imports such as 'java.util.Date' |
| 7217 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
9 |
Avoid unused imports such as 'javax.persistence.GenerationType' |
| 7218 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
9 |
Avoid unused imports such as 'javax.persistence.GenerationType' |
| 7219 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
15 |
Avoid unused imports such as 'org.hibernate.annotations.OptimisticLock' |
| 7220 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
15 |
Avoid unused imports such as 'org.hibernate.annotations.OptimisticLock' |
| 7221 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
17 |
Avoid unused imports such as 'javax.persistence.SequenceGenerator' |
| 7222 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
17 |
Avoid unused imports such as 'javax.persistence.SequenceGenerator' |
| 7223 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
32 |
Avoid variables with short names like id |
| 7224 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
59 |
Avoid variables with short names like id |
| 7225 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
59 |
Parameter 'id' is not assigned and could be declared final |
| 7226 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
75 |
Parameter 'name' is not assigned and could be declared final |
| 7227 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
91 |
Parameter 'age' is not assigned and could be declared final |
| 7228 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
107 |
Parameter 'account' is not assigned and could be declared final |
| 7229 |
src/org/jeecgframework/web/demo/entity/test/OptimisticLockingEntity.java |
124 |
Parameter 'ver' is not assigned and could be declared final |
| 7230 |
src/org/jeecgframework/web/demo/entity/test/StudentEntity.java |
3 |
Avoid unused imports such as 'java.math.BigDecimal' |
| 7231 |
src/org/jeecgframework/web/demo/entity/test/StudentEntity.java |
3 |
Avoid unused imports such as 'java.math.BigDecimal' |
| 7232 |
src/org/jeecgframework/web/demo/entity/test/StudentEntity.java |
10 |
Avoid unused imports such as 'javax.persistence.GenerationType' |
| 7233 |
src/org/jeecgframework/web/demo/entity/test/StudentEntity.java |
10 |
Avoid unused imports such as 'javax.persistence.GenerationType' |
| 7234 |
src/org/jeecgframework/web/demo/entity/test/StudentEntity.java |
21 |
Avoid unused imports such as 'javax.persistence.SequenceGenerator' |
| 7235 |
src/org/jeecgframework/web/demo/entity/test/StudentEntity.java |
21 |
Avoid unused imports such as 'javax.persistence.SequenceGenerator' |
| 7236 |
src/org/jeecgframework/web/demo/entity/test/StudentEntity.java |
38 |
Avoid variables with short names like id |
| 7237 |
src/org/jeecgframework/web/demo/entity/test/StudentEntity.java |
68 |
Avoid variables with short names like id |
| 7238 |
src/org/jeecgframework/web/demo/entity/test/StudentEntity.java |
68 |
Parameter 'id' is not assigned and could be declared final |
| 7239 |
src/org/jeecgframework/web/demo/entity/test/StudentEntity.java |
84 |
Parameter 'name' is not assigned and could be declared final |
| 7240 |
src/org/jeecgframework/web/demo/entity/test/StudentEntity.java |
100 |
Parameter 'sex' is not assigned and could be declared final |
| 7241 |
src/org/jeecgframework/web/demo/entity/test/StudentEntity.java |
110 |
Parameter 'course' is not assigned and could be declared final |
| 7242 |
src/org/jeecgframework/web/demo/entity/test/StudentEntity.java |
117 |
Parameter 'sex' is not assigned and could be declared final |
| 7243 |
src/org/jeecgframework/web/demo/entity/test/StudentEntity.java |
118 |
Position literals first in String comparisons |
| 7244 |
src/org/jeecgframework/web/demo/entity/test/TFinanceEntity.java |
26 |
Too many fields |
| 7245 |
src/org/jeecgframework/web/demo/entity/test/TFinanceEntity.java |
28 |
Avoid variables with short names like id |
| 7246 |
src/org/jeecgframework/web/demo/entity/test/TFinanceEntity.java |
80 |
Avoid variables with short names like id |
| 7247 |
src/org/jeecgframework/web/demo/entity/test/TFinanceEntity.java |
80 |
Parameter 'id' is not assigned and could be declared final |
| 7248 |
src/org/jeecgframework/web/demo/entity/test/TFinanceEntity.java |
96 |
Parameter 'category' is not assigned and could be declared final |
| 7249 |
src/org/jeecgframework/web/demo/entity/test/TFinanceEntity.java |
112 |
Parameter 'happenyear' is not assigned and could be declared final |
| 7250 |
src/org/jeecgframework/web/demo/entity/test/TFinanceEntity.java |
128 |
Parameter 'paytime' is not assigned and could be declared final |
| 7251 |
src/org/jeecgframework/web/demo/entity/test/TFinanceEntity.java |
144 |
Parameter 'collectorg' is not assigned and could be declared final |
| 7252 |
src/org/jeecgframework/web/demo/entity/test/TFinanceFilesEntity.java |
36 |
Parameter 'finance' is not assigned and could be declared final |
| 7253 |
src/org/jeecgframework/web/demo/entity/test/TSStudent.java |
11 |
Classes implementing Serializable should set a serialVersionUID |
| 7254 |
src/org/jeecgframework/web/demo/entity/test/TSStudent.java |
19 |
Parameter 'name' is not assigned and could be declared final |
| 7255 |
src/org/jeecgframework/web/demo/entity/test/TSStudent.java |
26 |
Parameter 'sex' is not assigned and could be declared final |
| 7256 |
src/org/jeecgframework/web/demo/entity/test/TSStudent.java |
33 |
Parameter 'className' is not assigned and could be declared final |
| 7257 |
src/org/jeecgframework/web/demo/entity/test/TeacherEntity.java |
3 |
Avoid unused imports such as 'java.math.BigDecimal' |
| 7258 |
src/org/jeecgframework/web/demo/entity/test/TeacherEntity.java |
3 |
Avoid unused imports such as 'java.math.BigDecimal' |
| 7259 |
src/org/jeecgframework/web/demo/entity/test/TeacherEntity.java |
4 |
Avoid unused imports such as 'java.util.Date' |
| 7260 |
src/org/jeecgframework/web/demo/entity/test/TeacherEntity.java |
4 |
Avoid unused imports such as 'java.util.Date' |
| 7261 |
src/org/jeecgframework/web/demo/entity/test/TeacherEntity.java |
9 |
Avoid unused imports such as 'javax.persistence.GenerationType' |
| 7262 |
src/org/jeecgframework/web/demo/entity/test/TeacherEntity.java |
9 |
Avoid unused imports such as 'javax.persistence.GenerationType' |
| 7263 |
src/org/jeecgframework/web/demo/entity/test/TeacherEntity.java |
13 |
Avoid unused imports such as 'org.apache.commons.lang.StringUtils' |
| 7264 |
src/org/jeecgframework/web/demo/entity/test/TeacherEntity.java |
13 |
Avoid unused imports such as 'org.apache.commons.lang.StringUtils' |
| 7265 |
src/org/jeecgframework/web/demo/entity/test/TeacherEntity.java |
19 |
Avoid unused imports such as 'javax.persistence.SequenceGenerator' |
| 7266 |
src/org/jeecgframework/web/demo/entity/test/TeacherEntity.java |
19 |
Avoid unused imports such as 'javax.persistence.SequenceGenerator' |
| 7267 |
src/org/jeecgframework/web/demo/entity/test/TeacherEntity.java |
36 |
Avoid variables with short names like id |
| 7268 |
src/org/jeecgframework/web/demo/entity/test/TeacherEntity.java |
62 |
Avoid variables with short names like id |
| 7269 |
src/org/jeecgframework/web/demo/entity/test/TeacherEntity.java |
62 |
Parameter 'id' is not assigned and could be declared final |
| 7270 |
src/org/jeecgframework/web/demo/entity/test/TeacherEntity.java |
78 |
Parameter 'name' is not assigned and could be declared final |
| 7271 |
src/org/jeecgframework/web/demo/entity/test/TeacherEntity.java |
89 |
Parameter 'pic' is not assigned and could be declared final |
| 7272 |
src/org/jeecgframework/web/demo/entity/test/WebOfficeEntity.java |
25 |
Avoid variables with short names like id |
| 7273 |
src/org/jeecgframework/web/demo/entity/test/WebOfficeEntity.java |
53 |
Avoid variables with short names like id |
| 7274 |
src/org/jeecgframework/web/demo/entity/test/WebOfficeEntity.java |
53 |
Parameter 'id' is not assigned and could be declared final |
| 7275 |
src/org/jeecgframework/web/demo/entity/test/WebOfficeEntity.java |
69 |
Parameter 'docid' is not assigned and could be declared final |
| 7276 |
src/org/jeecgframework/web/demo/entity/test/WebOfficeEntity.java |
85 |
Parameter 'doctitle' is not assigned and could be declared final |
| 7277 |
src/org/jeecgframework/web/demo/entity/test/WebOfficeEntity.java |
101 |
Parameter 'doctype' is not assigned and could be declared final |
| 7278 |
src/org/jeecgframework/web/demo/entity/test/WebOfficeEntity.java |
117 |
Parameter 'docdate' is not assigned and could be declared final |
| 7279 |
src/org/jeecgframework/web/demo/page/JeecgOrderMainPage.java |
20 |
Avoid excessively long variable names like jeecgOrderCustomList |
| 7280 |
src/org/jeecgframework/web/demo/page/JeecgOrderMainPage.java |
24 |
Avoid excessively long variable names like jeecgOrderCustomList |
| 7281 |
src/org/jeecgframework/web/demo/page/JeecgOrderMainPage.java |
24 |
Parameter 'jeecgOrderCustomList' is not assigned and could be declared final |
| 7282 |
src/org/jeecgframework/web/demo/page/JeecgOrderMainPage.java |
28 |
Avoid excessively long variable names like jeecgOrderProductList |
| 7283 |
src/org/jeecgframework/web/demo/page/JeecgOrderMainPage.java |
32 |
Avoid excessively long variable names like jeecgOrderProductList |
| 7284 |
src/org/jeecgframework/web/demo/page/JeecgOrderMainPage.java |
32 |
Parameter 'jeecgOrderProductList' is not assigned and could be declared final |
| 7285 |
src/org/jeecgframework/web/demo/service/impl/test/CourseServiceImpl.java |
16 |
Parameter 'course' is not assigned and could be declared final |
| 7286 |
src/org/jeecgframework/web/demo/service/impl/test/CourseServiceImpl.java |
27 |
Parameter 'course' is not assigned and could be declared final |
| 7287 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgBlobDataServiceImpl.java |
20 |
Parameter 'documentTitle' is not assigned and could be declared final |
| 7288 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgBlobDataServiceImpl.java |
20 |
Parameter 'file' is not assigned and could be declared final |
| 7289 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgBlobDataServiceImpl.java |
21 |
Local variable 'obj' could be declared final |
| 7290 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgBlobDataServiceImpl.java |
22 |
Local variable 'lobHelper' could be declared final |
| 7291 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgBlobDataServiceImpl.java |
28 |
Avoid printStackTrace(); use a logger call instead. |
| 7292 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgBlobDataServiceImpl.java |
31 |
Local variable 'sFileName' could be declared final |
| 7293 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgBlobDataServiceImpl.java |
32 |
Local variable 'iPos' could be declared final |
| 7294 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgDemoCkfinderServiceImpl.java |
11 |
Each class should declare at least one constructor |
| 7295 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgDemoServiceImpl.java |
12 |
Each class should declare at least one constructor |
| 7296 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
26 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7297 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
33 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 7298 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
33 |
Parameter 'pageObj' is not assigned and could be declared final |
| 7299 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
35 |
Local variable 'sqlWhere' could be declared final |
| 7300 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
40 |
Prefer StringBuffer over += for concatenating strings |
| 7301 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
40 |
The String literal " where" appears 6 times in this file; the first occurrence is on line 40 |
| 7302 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
42 |
Local variable 'iCount' could be declared final |
| 7303 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
47 |
Prefer StringBuffer over += for concatenating strings |
| 7304 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
50 |
Local variable 'list' could be declared final |
| 7305 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
59 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 7306 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
59 |
Parameter 'pageObj' is not assigned and could be declared final |
| 7307 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
60 |
Local variable 'sqlWhere' could be declared final |
| 7308 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
65 |
Prefer StringBuffer over += for concatenating strings |
| 7309 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
67 |
Local variable 'iCount' could be declared final |
| 7310 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
72 |
Prefer StringBuffer over += for concatenating strings |
| 7311 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
77 |
Found 'DD'-anomaly for variable 'obj' (lines '77'-'80'). |
| 7312 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
77 |
Found 'DU'-anomaly for variable 'obj' (lines '77'-'108'). |
| 7313 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
80 |
Avoid instantiating new objects inside loops |
| 7314 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
87 |
Position literals first in String comparisons |
| 7315 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
101 |
Avoid printStackTrace(); use a logger call instead. |
| 7316 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
113 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 7317 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
119 |
Prefer StringBuffer over += for concatenating strings |
| 7318 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
142 |
Consider simply returning the value vs storing it in local variable 'jObject' |
| 7319 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
147 |
Use explicit scoping instead of the default package private level |
| 7320 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
176 |
Avoid variables with short names like m |
| 7321 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
176 |
Found 'DD'-anomaly for variable 'm' (lines '176'-'176'). |
| 7322 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
176 |
Found 'DU'-anomaly for variable 'm' (lines '176'-'198'). |
| 7323 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
197 |
Consider simply returning the value vs storing it in local variable 'jObject' |
| 7324 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
202 |
Avoid modifiers which are implied by the context |
| 7325 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
206 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7326 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
206 |
Use explicit scoping instead of the default package private level |
| 7327 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
207 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7328 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
207 |
Use explicit scoping instead of the default package private level |
| 7329 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
208 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7330 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
208 |
Use explicit scoping instead of the default package private level |
| 7331 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
214 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 7332 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
224 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 7333 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
252 |
A method should have only one exit point, and that should be the last statement in the method |
| 7334 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
254 |
Avoid if (x != y) ..; else ..; |
| 7335 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
255 |
A method should have only one exit point, and that should be the last statement in the method |
| 7336 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
267 |
A method should have only one exit point, and that should be the last statement in the method |
| 7337 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgJdbcServiceImpl.java |
269 |
A method should have only one exit point, and that should be the last statement in the method |
| 7338 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgMatterBomServiceImpl.java |
19 |
Each class should declare at least one constructor |
| 7339 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgMinidaoServiceImpl.java |
20 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7340 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgMinidaoServiceImpl.java |
22 |
Parameter 'jeecgMinidao' is not assigned and could be declared final |
| 7341 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgMinidaoServiceImpl.java |
22 |
Parameter 'page' is not assigned and could be declared final |
| 7342 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgMinidaoServiceImpl.java |
22 |
Parameter 'rows' is not assigned and could be declared final |
| 7343 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgMinidaoServiceImpl.java |
23 |
Local variable 'entities' could be declared final |
| 7344 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgMinidaoServiceImpl.java |
24 |
Consider simply returning the value vs storing it in local variable 'entities' |
| 7345 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgMinidaoServiceImpl.java |
27 |
Avoid variables with short names like id |
| 7346 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgMinidaoServiceImpl.java |
27 |
Parameter 'clazz' is not assigned and could be declared final |
| 7347 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgMinidaoServiceImpl.java |
27 |
Parameter 'id' is not assigned and could be declared final |
| 7348 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgMinidaoServiceImpl.java |
28 |
Local variable 'jeecgMinidao' could be declared final |
| 7349 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgMinidaoServiceImpl.java |
29 |
Consider simply returning the value vs storing it in local variable 'jeecgMinidao' |
| 7350 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgNoteServiceImpl.java |
11 |
Each class should declare at least one constructor |
| 7351 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgOrderMainServiceImpl.java |
19 |
Parameter 'jeecgOrderMain' is not assigned and could be declared final |
| 7352 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgOrderMainServiceImpl.java |
20 |
Avoid excessively long variable names like jeecgOrderProducList |
| 7353 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgOrderMainServiceImpl.java |
20 |
Parameter 'jeecgOrderProducList' is not assigned and could be declared final |
| 7354 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgOrderMainServiceImpl.java |
21 |
Avoid excessively long variable names like jeecgOrderCustomList |
| 7355 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgOrderMainServiceImpl.java |
21 |
Parameter 'jeecgOrderCustomList' is not assigned and could be declared final |
| 7356 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgOrderMainServiceImpl.java |
39 |
Parameter 'jeecgOrderMain' is not assigned and could be declared final |
| 7357 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgOrderMainServiceImpl.java |
40 |
Avoid excessively long variable names like jeecgOrderProducList |
| 7358 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgOrderMainServiceImpl.java |
40 |
Parameter 'jeecgOrderProducList' is not assigned and could be declared final |
| 7359 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgOrderMainServiceImpl.java |
41 |
Avoid excessively long variable names like jeecgOrderCustomList |
| 7360 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgOrderMainServiceImpl.java |
42 |
Avoid excessively long variable names like jeecgOrderCustomShow |
| 7361 |
src/org/jeecgframework/web/demo/service/impl/test/JeecgOrderMainServiceImpl.java |
46 |
The String literal "goOrderCode" appears 4 times in this file; the first occurrence is on line 46 |
| 7362 |
src/org/jeecgframework/web/demo/service/impl/test/JpPersonServiceImpl.java |
11 |
Each class should declare at least one constructor |
| 7363 |
src/org/jeecgframework/web/demo/service/impl/test/OptimisticLockingServiceImpl.java |
15 |
Avoid using short method names |
| 7364 |
src/org/jeecgframework/web/demo/service/impl/test/OptimisticLockingServiceImpl.java |
16 |
Local variable 'session1' could be declared final |
| 7365 |
src/org/jeecgframework/web/demo/service/impl/test/OptimisticLockingServiceImpl.java |
17 |
Local variable 'session2' could be declared final |
| 7366 |
src/org/jeecgframework/web/demo/service/impl/test/OptimisticLockingServiceImpl.java |
18 |
Local variable 'stu1' could be declared final |
| 7367 |
src/org/jeecgframework/web/demo/service/impl/test/OptimisticLockingServiceImpl.java |
19 |
Local variable 'stu2' could be declared final |
| 7368 |
src/org/jeecgframework/web/demo/service/impl/test/OptimisticLockingServiceImpl.java |
24 |
Local variable 'tx1' could be declared final |
| 7369 |
src/org/jeecgframework/web/demo/service/impl/test/TFinanceServiceImpl.java |
5 |
Avoid unused imports such as 'org.jeecgframework.core.util.ResourceUtil' |
| 7370 |
src/org/jeecgframework/web/demo/service/impl/test/TFinanceServiceImpl.java |
5 |
Avoid unused imports such as 'org.jeecgframework.core.util.ResourceUtil' |
| 7371 |
src/org/jeecgframework/web/demo/service/impl/test/TFinanceServiceImpl.java |
13 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSAttachment' |
| 7372 |
src/org/jeecgframework/web/demo/service/impl/test/TFinanceServiceImpl.java |
13 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSAttachment' |
| 7373 |
src/org/jeecgframework/web/demo/service/impl/test/TFinanceServiceImpl.java |
26 |
Parameter 'file' is not assigned and could be declared final |
| 7374 |
src/org/jeecgframework/web/demo/service/impl/test/TFinanceServiceImpl.java |
29 |
Local variable 'sql' could be declared final |
| 7375 |
src/org/jeecgframework/web/demo/service/impl/test/TFinanceServiceImpl.java |
30 |
Local variable 'attachmentMap' could be declared final |
| 7376 |
src/org/jeecgframework/web/demo/service/impl/test/TFinanceServiceImpl.java |
32 |
Local variable 'realpath' could be declared final |
| 7377 |
src/org/jeecgframework/web/demo/service/impl/test/TFinanceServiceImpl.java |
33 |
Local variable 'fileName' could be declared final |
| 7378 |
src/org/jeecgframework/web/demo/service/impl/test/TFinanceServiceImpl.java |
36 |
Local variable 'realPath' could be declared final |
| 7379 |
src/org/jeecgframework/web/demo/service/impl/test/TFinanceServiceImpl.java |
47 |
Parameter 'finance' is not assigned and could be declared final |
| 7380 |
src/org/jeecgframework/web/demo/service/impl/test/WebOfficeServiceImpl.java |
22 |
Parameter 'docObj' is not assigned and could be declared final |
| 7381 |
src/org/jeecgframework/web/demo/service/impl/test/WebOfficeServiceImpl.java |
22 |
Parameter 'file' is not assigned and could be declared final |
| 7382 |
src/org/jeecgframework/web/demo/service/impl/test/WebOfficeServiceImpl.java |
23 |
Found 'DD'-anomaly for variable 'obj' (lines '23'-'25'). |
| 7383 |
src/org/jeecgframework/web/demo/service/impl/test/WebOfficeServiceImpl.java |
23 |
Found 'DD'-anomaly for variable 'obj' (lines '23'-'30'). |
| 7384 |
src/org/jeecgframework/web/demo/service/impl/test/WebOfficeServiceImpl.java |
32 |
Local variable 'sFileName' could be declared final |
| 7385 |
src/org/jeecgframework/web/demo/service/impl/test/WebOfficeServiceImpl.java |
33 |
Local variable 'iPos' could be declared final |
| 7386 |
src/org/jeecgframework/web/demo/service/impl/test/WebOfficeServiceImpl.java |
39 |
Local variable 'lobHelper' could be declared final |
| 7387 |
src/org/jeecgframework/web/demo/service/impl/test/WebOfficeServiceImpl.java |
45 |
Avoid printStackTrace(); use a logger call instead. |
| 7388 |
src/org/jeecgframework/web/demo/service/test/JeecgBlobDataServiceI.java |
7 |
Avoid modifiers which are implied by the context |
| 7389 |
src/org/jeecgframework/web/demo/service/test/JeecgJdbcServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 7390 |
src/org/jeecgframework/web/demo/service/test/JeecgJdbcServiceI.java |
11 |
Avoid modifiers which are implied by the context |
| 7391 |
src/org/jeecgframework/web/demo/service/test/JeecgJdbcServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 7392 |
src/org/jeecgframework/web/demo/service/test/JeecgJdbcServiceI.java |
13 |
Avoid modifiers which are implied by the context |
| 7393 |
src/org/jeecgframework/web/demo/service/test/JeecgMinidaoServiceI.java |
13 |
Avoid modifiers which are implied by the context |
| 7394 |
src/org/jeecgframework/web/demo/service/test/JeecgMinidaoServiceI.java |
15 |
Avoid modifiers which are implied by the context |
| 7395 |
src/org/jeecgframework/web/demo/service/test/JeecgMinidaoServiceI.java |
15 |
Avoid variables with short names like id |
| 7396 |
src/org/jeecgframework/web/demo/service/test/JeecgMinidaoServiceI.java |
17 |
Avoid modifiers which are implied by the context |
| 7397 |
src/org/jeecgframework/web/demo/service/test/JeecgMinidaoServiceI.java |
19 |
Avoid modifiers which are implied by the context |
| 7398 |
src/org/jeecgframework/web/demo/service/test/JeecgMinidaoServiceI.java |
21 |
Avoid modifiers which are implied by the context |
| 7399 |
src/org/jeecgframework/web/demo/service/test/JeecgOrderMainServiceI.java |
17 |
Avoid excessively long variable names like jeecgOrderCustomList |
| 7400 |
src/org/jeecgframework/web/demo/service/test/JeecgOrderMainServiceI.java |
17 |
Avoid excessively long variable names like jeecgOrderProducList |
| 7401 |
src/org/jeecgframework/web/demo/service/test/JeecgOrderMainServiceI.java |
17 |
Avoid modifiers which are implied by the context |
| 7402 |
src/org/jeecgframework/web/demo/service/test/JeecgOrderMainServiceI.java |
22 |
Avoid excessively long variable names like jeecgOrderCustomList |
| 7403 |
src/org/jeecgframework/web/demo/service/test/JeecgOrderMainServiceI.java |
22 |
Avoid excessively long variable names like jeecgOrderCustomShow |
| 7404 |
src/org/jeecgframework/web/demo/service/test/JeecgOrderMainServiceI.java |
22 |
Avoid excessively long variable names like jeecgOrderProducList |
| 7405 |
src/org/jeecgframework/web/demo/service/test/JeecgOrderMainServiceI.java |
22 |
Avoid modifiers which are implied by the context |
| 7406 |
src/org/jeecgframework/web/demo/service/test/JeecgOrderMainServiceI.java |
23 |
Avoid modifiers which are implied by the context |
| 7407 |
src/org/jeecgframework/web/demo/service/test/OptimisticLockingServiceI.java |
6 |
Avoid modifiers which are implied by the context |
| 7408 |
src/org/jeecgframework/web/demo/service/test/OptimisticLockingServiceI.java |
6 |
Avoid using short method names |
| 7409 |
src/org/jeecgframework/web/demo/service/test/TaskDemoServiceI.java |
5 |
Avoid modifiers which are implied by the context |
| 7410 |
src/org/jeecgframework/web/demo/service/test/WebOfficeServiceI.java |
9 |
Avoid modifiers which are implied by the context |
| 7411 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
38 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7412 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
41 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7413 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
46 |
Local variable 'listUsers' could be declared final |
| 7414 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
47 |
Consider simply returning the value vs storing it in local variable 'listUsers' |
| 7415 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
52 |
Avoid variables with short names like id |
| 7416 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
52 |
Parameter 'id' is not assigned and could be declared final |
| 7417 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
53 |
Local variable 'task' could be declared final |
| 7418 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
55 |
A method should have only one exit point, and that should be the last statement in the method |
| 7419 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
62 |
Parameter 'uriBuilder' is not assigned and could be declared final |
| 7420 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
62 |
Parameter 'user' is not assigned and could be declared final |
| 7421 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
64 |
Local variable 'failures' could be declared final |
| 7422 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
66 |
A method should have only one exit point, and that should be the last statement in the method |
| 7423 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
73 |
Avoid variables with short names like id |
| 7424 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
73 |
Local variable 'id' could be declared final |
| 7425 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
74 |
Local variable 'uri' could be declared final |
| 7426 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
82 |
Parameter 'user' is not assigned and could be declared final |
| 7427 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
86 |
A method should have only one exit point, and that should be the last statement in the method |
| 7428 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
98 |
Avoid variables with short names like id |
| 7429 |
src/org/jeecgframework/web/rest/controller/UserRestController.java |
98 |
Parameter 'id' is not assigned and could be declared final |
| 7430 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 7431 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
23 |
Avoid unused imports such as 'org.jeecgframework.core.util.ImportUtil' |
| 7432 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
23 |
Avoid unused imports such as 'org.jeecgframework.core.util.ImportUtil' |
| 7433 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
55 |
Avoid unused private fields such as 'logger'. |
| 7434 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
55 |
Variables that are final and static should be in all caps. |
| 7435 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
56 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7436 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
57 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7437 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
57 |
Perhaps 'message' could be replaced by a local variable. |
| 7438 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
60 |
Parameter 'systemService' is not assigned and could be declared final |
| 7439 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
68 |
Parameter 'request' is not assigned and could be declared final |
| 7440 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
69 |
Local variable 'turn' could be declared final |
| 7441 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
79 |
Parameter 'request' is not assigned and could be declared final |
| 7442 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
80 |
Local variable 'fileid' could be declared final |
| 7443 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
81 |
Local variable 'subclassname' could be declared final |
| 7444 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
81 |
The String literal "subclassname" appears 5 times in this file; the first occurrence is on line 81 |
| 7445 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
82 |
Found 'DU'-anomaly for variable 'contentfield' (lines '82'-'104'). |
| 7446 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
82 |
Local variable 'contentfield' could be declared final |
| 7447 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
83 |
Local variable 'fileClass' could be declared final |
| 7448 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
88 |
The String literal "realpath" appears 5 times in this file; the first occurrence is on line 88 |
| 7449 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
90 |
A method should have only one exit point, and that should be the last statement in the method |
| 7450 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
97 |
A method should have only one exit point, and that should be the last statement in the method |
| 7451 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
112 |
Parameter 'request' is not assigned and could be declared final |
| 7452 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
112 |
Parameter 'response' is not assigned and could be declared final |
| 7453 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
163 |
Found 'DD'-anomaly for variable 'fileName' (lines '163'-'174'). |
| 7454 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
173 |
Avoid variables with short names like mf |
| 7455 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
176 |
Avoid instantiating new objects inside loops |
| 7456 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
180 |
Avoid printStackTrace(); use a logger call instead. |
| 7457 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
196 |
Avoid unused local variables such as 'jsonp'. |
| 7458 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
196 |
Found 'DU'-anomaly for variable 'jsonp' (lines '196'-'226'). |
| 7459 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
201 |
Found 'DU'-anomaly for variable 'fieldArr' (lines '201'-'226'). |
| 7460 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
203 |
Found 'DD'-anomaly for variable 'allFieldArr' (lines '203'-'205'). |
| 7461 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
205 |
Found 'DD'-anomaly for variable 'allFieldArr' (lines '205'-'207'). |
| 7462 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
205 |
Found 'DD'-anomaly for variable 'allFieldArr' (lines '205'-'209'). |
| 7463 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
206 |
System.arraycopy is more efficient |
| 7464 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
207 |
Found 'DD'-anomaly for variable 'allFieldArr' (lines '207'-'207'). |
| 7465 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
207 |
Found 'DD'-anomaly for variable 'allFieldArr' (lines '207'-'209'). |
| 7466 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
213 |
Found 'DD'-anomaly for variable 'str' (lines '213'-'214'). |
| 7467 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
214 |
Prefer StringBuffer over += for concatenating strings |
| 7468 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
223 |
Avoid printStackTrace(); use a logger call instead. |
| 7469 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
237 |
Avoid variables with short names like j |
| 7470 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
242 |
Do not add empty strings |
| 7471 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
257 |
Found 'DD'-anomaly for variable 'object' (lines '257'-'265'). |
| 7472 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
257 |
Found 'DU'-anomaly for variable 'object' (lines '257'-'278'). |
| 7473 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
260 |
The String literal "businessKey" appears 4 times in this file; the first occurrence is on line 260 |
| 7474 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
263 |
The String literal "typecode" appears 4 times in this file; the first occurrence is on line 263 |
| 7475 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
290 |
Avoid variables with short names like cq |
| 7476 |
src/org/jeecgframework/web/system/controller/core/CommonController.java |
293 |
The String literal "TBInfotype" appears 4 times in this file; the first occurrence is on line 293 |
| 7477 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
39 |
Avoid unused private fields such as 'logger'. |
| 7478 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
39 |
Variables that are final and static should be in all caps. |
| 7479 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
41 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7480 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
48 |
Parameter 'message' is not assigned and could be declared final |
| 7481 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
53 |
Parameter 'systemService' is not assigned and could be declared final |
| 7482 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
75 |
Parameter 'request' is not assigned and could be declared final |
| 7483 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
76 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 7484 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
76 |
Parameter 'response' is not assigned and could be declared final |
| 7485 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
77 |
Avoid variables with short names like cq |
| 7486 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
77 |
Local variable 'cq' could be declared final |
| 7487 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
91 |
Avoid reassigning parameters such as 'config' |
| 7488 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
92 |
Avoid variables with short names like j |
| 7489 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
92 |
Local variable 'j' could be declared final |
| 7490 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
113 |
Local variable 'tsConfig2' could be declared final |
| 7491 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
114 |
Avoid if (x != y) ..; else ..; |
| 7492 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
130 |
Avoid variables with short names like j |
| 7493 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
130 |
Local variable 'j' could be declared final |
| 7494 |
src/org/jeecgframework/web/system/controller/core/ConfigController.java |
144 |
Avoid reassigning parameters such as 'config' |
| 7495 |
src/org/jeecgframework/web/system/controller/core/DataSourceController.java |
24 |
Avoid unused private fields such as 'logger'. |
| 7496 |
src/org/jeecgframework/web/system/controller/core/DataSourceController.java |
24 |
Variables that are final and static should be in all caps. |
| 7497 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 7498 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
9 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSDemo' |
| 7499 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
9 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSDemo' |
| 7500 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
24 |
Avoid unused imports such as 'org.jeecgframework.core.util.RoletoJson' |
| 7501 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
24 |
Avoid unused imports such as 'org.jeecgframework.core.util.RoletoJson' |
| 7502 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
51 |
Avoid unused private fields such as 'logger'. |
| 7503 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
51 |
Variables that are final and static should be in all caps. |
| 7504 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
53 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7505 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
60 |
Parameter 'message' is not assigned and could be declared final |
| 7506 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
65 |
Parameter 'systemService' is not assigned and could be declared final |
| 7507 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
74 |
Parameter 'userService' is not assigned and could be declared final |
| 7508 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
98 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 7509 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
98 |
Parameter 'request' is not assigned and could be declared final |
| 7510 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
99 |
Avoid variables with short names like cq |
| 7511 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
99 |
Local variable 'cq' could be declared final |
| 7512 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
111 |
Avoid reassigning parameters such as 'depart' |
| 7513 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
112 |
Avoid variables with short names like j |
| 7514 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
112 |
Local variable 'j' could be declared final |
| 7515 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
125 |
Local variable 'users' could be declared final |
| 7516 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
126 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7517 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
145 |
Local variable 'pid' could be declared final |
| 7518 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
146 |
Position literals first in String comparisons |
| 7519 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
149 |
Avoid variables with short names like j |
| 7520 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
149 |
Local variable 'j' could be declared final |
| 7521 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
163 |
Avoid reassigning parameters such as 'depart' |
| 7522 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
183 |
Avoid reassigning parameters such as 'depart' |
| 7523 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
206 |
Avoid variables with short names like cq |
| 7524 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
218 |
Found 'DD'-anomaly for variable 'comboTrees' (lines '218'-'220'). |
| 7525 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
234 |
Avoid variables with short names like cq |
| 7526 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
249 |
Found 'DD'-anomaly for variable 'departList' (lines '249'-'250'). |
| 7527 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
251 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7528 |
src/org/jeecgframework/web/system/controller/core/DepartController.java |
258 |
Found 'DD'-anomaly for variable 'treeGrids' (lines '258'-'266'). |
| 7529 |
src/org/jeecgframework/web/system/controller/core/DuplicateCheckAction.java |
27 |
Avoid unused private fields such as 'logger'. |
| 7530 |
src/org/jeecgframework/web/system/controller/core/DuplicateCheckAction.java |
27 |
Variables that are final and static should be in all caps. |
| 7531 |
src/org/jeecgframework/web/system/controller/core/DuplicateCheckAction.java |
31 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7532 |
src/org/jeecgframework/web/system/controller/core/DuplicateCheckAction.java |
39 |
Avoid excessively long variable names like duplicateCheckPage |
| 7533 |
src/org/jeecgframework/web/system/controller/core/DuplicateCheckAction.java |
39 |
Parameter 'duplicateCheckPage' is not assigned and could be declared final |
| 7534 |
src/org/jeecgframework/web/system/controller/core/DuplicateCheckAction.java |
39 |
Parameter 'request' is not assigned and could be declared final |
| 7535 |
src/org/jeecgframework/web/system/controller/core/DuplicateCheckAction.java |
41 |
Avoid variables with short names like j |
| 7536 |
src/org/jeecgframework/web/system/controller/core/DuplicateCheckAction.java |
41 |
Local variable 'j' could be declared final |
| 7537 |
src/org/jeecgframework/web/system/controller/core/DuplicateCheckAction.java |
42 |
Found 'DD'-anomaly for variable 'num' (lines '42'-'48'). |
| 7538 |
src/org/jeecgframework/web/system/controller/core/DuplicateCheckAction.java |
42 |
Found 'DD'-anomaly for variable 'num' (lines '42'-'53'). |
| 7539 |
src/org/jeecgframework/web/system/controller/core/DuplicateCheckAction.java |
46 |
Local variable 'sql' could be declared final |
| 7540 |
src/org/jeecgframework/web/system/controller/core/DuplicateCheckAction.java |
51 |
Local variable 'sql' could be declared final |
| 7541 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 7542 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
4 |
Avoid unused imports such as 'java.util.HashMap' |
| 7543 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
4 |
Avoid unused imports such as 'java.util.HashMap' |
| 7544 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
6 |
Avoid unused imports such as 'java.util.Map' |
| 7545 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
6 |
Avoid unused imports such as 'java.util.Map' |
| 7546 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
11 |
Avoid unused imports such as 'org.hibernate.criterion.DetachedCriteria' |
| 7547 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
11 |
Avoid unused imports such as 'org.hibernate.criterion.DetachedCriteria' |
| 7548 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
49 |
This class has too many methods, consider refactoring it. |
| 7549 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
53 |
Avoid unused private fields such as 'logger'. |
| 7550 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
53 |
Variables that are final and static should be in all caps. |
| 7551 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
56 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7552 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
57 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7553 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
60 |
Parameter 'systemService' is not assigned and could be declared final |
| 7554 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
70 |
Parameter 'userService' is not assigned and could be declared final |
| 7555 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
90 |
Parameter 'functionId' is not assigned and could be declared final |
| 7556 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
90 |
Parameter 'request' is not assigned and could be declared final |
| 7557 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
91 |
The String literal "functionId" appears 4 times in this file; the first occurrence is on line 91 |
| 7558 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
105 |
Parameter 'request' is not assigned and could be declared final |
| 7559 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
107 |
Avoid variables with short names like cq |
| 7560 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
107 |
Local variable 'cq' could be declared final |
| 7561 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
124 |
Avoid variables with short names like cq |
| 7562 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
124 |
Local variable 'cq' could be declared final |
| 7563 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
125 |
Local variable 'functionId' could be declared final |
| 7564 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
127 |
The String literal "TSFunction.id" appears 5 times in this file; the first occurrence is on line 127 |
| 7565 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
141 |
Avoid reassigning parameters such as 'function' |
| 7566 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
142 |
Avoid variables with short names like j |
| 7567 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
142 |
Local variable 'j' could be declared final |
| 7568 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
179 |
Avoid reassigning parameters such as 'operation' |
| 7569 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
180 |
Avoid variables with short names like j |
| 7570 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
180 |
Local variable 'j' could be declared final |
| 7571 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
200 |
Avoid variables with short names like j |
| 7572 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
211 |
Do not add empty strings |
| 7573 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
223 |
Avoid unused local variables such as 'functionList'. |
| 7574 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
223 |
Found 'DU'-anomaly for variable 'functionList' (lines '223'-'245'). |
| 7575 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
230 |
Avoid unused local variables such as 'functionList'. |
| 7576 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
257 |
Position literals first in String comparisons |
| 7577 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
283 |
Avoid reassigning parameters such as 'function' |
| 7578 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
299 |
Do not use the short type |
| 7579 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
313 |
Avoid reassigning parameters such as 'operation' |
| 7580 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
344 |
The String literal "TSFunction" appears 4 times in this file; the first occurrence is on line 344 |
| 7581 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
350 |
Found 'DD'-anomaly for variable 'treeGrids' (lines '350'-'361'). |
| 7582 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
379 |
Avoid unused local variables such as 'functionList'. |
| 7583 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
379 |
Found 'DU'-anomaly for variable 'functionList' (lines '379'-'384'). |
| 7584 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
381 |
Avoid unused local variables such as 'treeGrids'. |
| 7585 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
381 |
Found 'DU'-anomaly for variable 'treeGrids' (lines '381'-'384'). |
| 7586 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
406 |
Found 'DD'-anomaly for variable 'comboTrees' (lines '406'-'409'). |
| 7587 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
422 |
Found 'DD'-anomaly for variable 'menuListMap' (lines '422'-'444'). |
| 7588 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
422 |
Found 'DD'-anomaly for variable 'menuListMap' (lines '422'-'452'). |
| 7589 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
435 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7590 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
438 |
Found 'DD'-anomaly for variable 'icon' (lines '438'-'440'). |
| 7591 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
438 |
Found 'DD'-anomaly for variable 'icon' (lines '438'-'442'). |
| 7592 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
439 |
Avoid if (x != y) ..; else ..; |
| 7593 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
444 |
Prefer StringBuffer over += for concatenating strings |
| 7594 |
src/org/jeecgframework/web/system/controller/core/FunctionController.java |
452 |
Prefer StringBuffer over += for concatenating strings |
| 7595 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 7596 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
48 |
This class has too many methods, consider refactoring it. |
| 7597 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
50 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7598 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
58 |
Parameter 'message' is not assigned and could be declared final |
| 7599 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
63 |
Parameter 'systemService' is not assigned and could be declared final |
| 7600 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
85 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 7601 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
85 |
Parameter 'icon' is not assigned and could be declared final |
| 7602 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
85 |
Parameter 'request' is not assigned and could be declared final |
| 7603 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
86 |
Avoid variables with short names like cq |
| 7604 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
86 |
Local variable 'cq' could be declared final |
| 7605 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
103 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 7606 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
103 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 7607 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
104 |
Avoid variables with short names like j |
| 7608 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
104 |
Local variable 'j' could be declared final |
| 7609 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
105 |
Local variable 'icon' could be declared final |
| 7610 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
106 |
Local variable 'iconType' could be declared final |
| 7611 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
107 |
Local variable 'iconName' could be declared final |
| 7612 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
108 |
Avoid variables with short names like id |
| 7613 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
139 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 7614 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
139 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 7615 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
140 |
Avoid variables with short names like j |
| 7616 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
143 |
Avoid variables with short names like id |
| 7617 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
144 |
Found 'DD'-anomaly for variable 'icon' (lines '144'-'146'). |
| 7618 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
176 |
Avoid empty catch blocks |
| 7619 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
189 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 7620 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
189 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 7621 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
192 |
Found 'DU'-anomaly for variable 'rootpath' (lines '192'-'211'). |
| 7622 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
197 |
Avoid instantiating new objects inside loops |
| 7623 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
201 |
Avoid instantiating new objects inside loops |
| 7624 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
225 |
Avoid printStackTrace(); use a logger call instead. |
| 7625 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
227 |
Avoid printStackTrace(); use a logger call instead. |
| 7626 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
240 |
Avoid reassigning parameters such as 'icon' |
| 7627 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
254 |
A method should have only one exit point, and that should be the last statement in the method |
| 7628 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
272 |
A method should have only one exit point, and that should be the last statement in the method |
| 7629 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
279 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7630 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
286 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7631 |
src/org/jeecgframework/web/system/controller/core/IconController.java |
302 |
Avoid reassigning parameters such as 'icon' |
| 7632 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
17 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 7633 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
23 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 7634 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
23 |
Parameter 'request' is not assigned and could be declared final |
| 7635 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
24 |
Local variable 'fileDirName' could be declared final |
| 7636 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
26 |
Local variable 'fileDir' could be declared final |
| 7637 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
31 |
Local variable 'list' could be declared final |
| 7638 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
33 |
Local variable 'icon' could be declared final |
| 7639 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
34 |
Local variable 'fileName' could be declared final |
| 7640 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
35 |
Avoid instantiating new objects inside loops |
| 7641 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
35 |
Found 'DD'-anomaly for variable 'tempFile' (lines '35'-'35'). |
| 7642 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
35 |
Found 'DU'-anomaly for variable 'tempFile' (lines '35'-'44'). |
| 7643 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
42 |
Avoid printStackTrace(); use a logger call instead. |
| 7644 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
47 |
Parameter 'data' is not assigned and could be declared final |
| 7645 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
47 |
Parameter 'file' is not assigned and could be declared final |
| 7646 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
48 |
Avoid using if statements without curly braces |
| 7647 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
49 |
Found 'DD'-anomaly for variable 'imageOutput' (lines '49'-'52'). |
| 7648 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
50 |
Avoid unused local variables such as 'fileName'. |
| 7649 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
50 |
Found 'DU'-anomaly for variable 'fileName' (lines '50'-'63'). |
| 7650 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
55 |
Avoid printStackTrace(); use a logger call instead. |
| 7651 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
60 |
Avoid printStackTrace(); use a logger call instead. |
| 7652 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
69 |
Parameter 'folderPath' is not assigned and could be declared final |
| 7653 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
75 |
Avoid printStackTrace(); use a logger call instead. |
| 7654 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
84 |
Found 'DD'-anomaly for variable 'flag' (lines '84'-'106'). |
| 7655 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
87 |
A method should have only one exit point, and that should be the last statement in the method |
| 7656 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
90 |
A method should have only one exit point, and that should be the last statement in the method |
| 7657 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
93 |
Found 'DD'-anomaly for variable 'temp' (lines '93'-'96'). |
| 7658 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
93 |
Found 'DD'-anomaly for variable 'temp' (lines '93'-'98'). |
| 7659 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
93 |
Found 'DU'-anomaly for variable 'temp' (lines '93'-'110'). |
| 7660 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
96 |
Avoid instantiating new objects inside loops |
| 7661 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
98 |
Avoid instantiating new objects inside loops |
| 7662 |
src/org/jeecgframework/web/system/controller/core/IconImageUtil.java |
106 |
Found 'DD'-anomaly for variable 'flag' (lines '106'-'106'). |
| 7663 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 7664 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
50 |
The class 'LogController' has a Cyclomatic Complexity of 5 (Highest = 12). |
| 7665 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
54 |
Avoid unused private fields such as 'logger'. |
| 7666 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
54 |
Variables that are final and static should be in all caps. |
| 7667 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
55 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7668 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
58 |
Parameter 'systemService' is not assigned and could be declared final |
| 7669 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
80 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 7670 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
80 |
Parameter 'request' is not assigned and could be declared final |
| 7671 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
80 |
Parameter 'response' is not assigned and could be declared final |
| 7672 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
81 |
Avoid variables with short names like cq |
| 7673 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
81 |
Local variable 'cq' could be declared final |
| 7674 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
82 |
Local variable 'loglevel' could be declared final |
| 7675 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
83 |
Avoid empty if statements |
| 7676 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
89 |
Local variable 'operatetime_begin' could be declared final |
| 7677 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
91 |
Found 'DD'-anomaly for variable 'beginValue' (lines '91'-'93'). |
| 7678 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
95 |
Avoid printStackTrace(); use a logger call instead. |
| 7679 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
102 |
Prefer StringBuffer over += for concatenating strings |
| 7680 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
104 |
Found 'DD'-anomaly for variable 'endValue' (lines '104'-'106'). |
| 7681 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
108 |
Avoid printStackTrace(); use a logger call instead. |
| 7682 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
123 |
Parameter 'request' is not assigned and could be declared final |
| 7683 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
135 |
A method should have only one exit point, and that should be the last statement in the method |
| 7684 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
137 |
A method should have only one exit point, and that should be the last statement in the method |
| 7685 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
150 |
Local variable 'list' could be declared final |
| 7686 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
151 |
Avoid variables with short names like hc |
| 7687 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
151 |
Found 'DD'-anomaly for variable 'hc' (lines '151'-'157'). |
| 7688 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
152 |
Avoid variables with short names like sb |
| 7689 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
152 |
Local variable 'sb' could be declared final |
| 7690 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
152 |
StringBuffer constructor is initialized with size 16, but has at least 58 characters appended. |
| 7691 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
155 |
Found 'DU'-anomaly for variable 'count' (lines '155'-'179'). |
| 7692 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
156 |
Avoid variables with short names like lt |
| 7693 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
161 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7694 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
163 |
Avoid instantiating new objects inside loops |
| 7695 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
167 |
Found 'DD'-anomaly for variable 'groupCount' (lines '167'-'167'). |
| 7696 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
167 |
Found 'DU'-anomaly for variable 'groupCount' (lines '167'-'179'). |
| 7697 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
168 |
Found 'DD'-anomaly for variable 'percentage' (lines '168'-'170'). |
| 7698 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
170 |
Avoid instantiating new objects inside loops |
| 7699 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
189 |
The method 'export' has a Cyclomatic Complexity of 12. |
| 7700 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
195 |
Found 'DD'-anomaly for variable 'filename' (lines '195'-'197'). |
| 7701 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
197 |
Prefer StringBuffer over += for concatenating strings |
| 7702 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
197 |
Prefer StringBuffer over += for concatenating strings |
| 7703 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
200 |
Avoid if (x != y) ..; else ..; |
| 7704 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
202 |
Found 'DD'-anomaly for variable 'ext' (lines '202'-'205'). |
| 7705 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
202 |
Found 'DD'-anomaly for variable 'ext' (lines '202'-'208'). |
| 7706 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
202 |
Found 'DD'-anomaly for variable 'ext' (lines '202'-'211'). |
| 7707 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
202 |
Found 'DD'-anomaly for variable 'ext' (lines '202'-'214'). |
| 7708 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
203 |
Avoid variables with short names like t |
| 7709 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
203 |
Found 'DD'-anomaly for variable 't' (lines '203'-'206'). |
| 7710 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
203 |
Found 'DD'-anomaly for variable 't' (lines '203'-'209'). |
| 7711 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
203 |
Found 'DD'-anomaly for variable 't' (lines '203'-'212'). |
| 7712 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
204 |
Position literals first in String comparisons |
| 7713 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
207 |
Position literals first in String comparisons |
| 7714 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
210 |
Position literals first in String comparisons |
| 7715 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
213 |
Avoid using if statements without curly braces |
| 7716 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
213 |
Position literals first in String comparisons |
| 7717 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
219 |
Avoid if (x != y) ..; else ..; |
| 7718 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
228 |
Avoid printStackTrace(); use a logger call instead. |
| 7719 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
230 |
Position literals first in String comparisons |
| 7720 |
src/org/jeecgframework/web/system/controller/core/LogController.java |
237 |
Avoid using if...else statements without curly braces |
| 7721 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 7722 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
8 |
Avoid unused imports such as 'java.util.Iterator' |
| 7723 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
8 |
Avoid unused imports such as 'java.util.Iterator' |
| 7724 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
11 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 7725 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
11 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 7726 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
62 |
The class 'LoginController' has a Cyclomatic Complexity of 4 (Highest = 14). |
| 7727 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
63 |
Avoid unused private fields such as 'log'. |
| 7728 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
63 |
Private field 'log' could be made final; it is only initialized in the declaration or constructor. |
| 7729 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
63 |
The Logger variable declaration does not contain the static and final modifiers |
| 7730 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
64 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7731 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
66 |
Avoid excessively long variable names like weixinAccountService |
| 7732 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
66 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7733 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
67 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7734 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
68 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7735 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
71 |
Parameter 'systemService' is not assigned and could be declared final |
| 7736 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
76 |
Parameter 'userService' is not assigned and could be declared final |
| 7737 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
93 |
Parameter 'request' is not assigned and could be declared final |
| 7738 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
94 |
Found 'DD'-anomaly for variable 'modelAndView' (lines '94'-'99'). |
| 7739 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
95 |
Local variable 'user' could be declared final |
| 7740 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
97 |
Local variable 'newPwd' could be declared final |
| 7741 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
100 |
The String literal "loginController.do?login" appears 5 times in this file; the first occurrence is on line 100 |
| 7742 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
113 |
Parameter 'req' is not assigned and could be declared final |
| 7743 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
113 |
Parameter 'user' is not assigned and could be declared final |
| 7744 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
114 |
Found 'DU'-anomaly for variable 'session' (lines '114'-'170'). |
| 7745 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
114 |
Local variable 'session' could be declared final |
| 7746 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
117 |
Avoid variables with short names like j |
| 7747 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
117 |
Local variable 'j' could be declared final |
| 7748 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
118 |
Local variable 'randCode' could be declared final |
| 7749 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
122 |
Avoid if (x != y) ..; else ..; |
| 7750 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
133 |
System.out.print is used |
| 7751 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
134 |
Avoid variables with short names like u |
| 7752 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
138 |
A method should have only one exit point, and that should be the last statement in the method |
| 7753 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
140 |
Avoid variables with short names like u2 |
| 7754 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
142 |
Avoid if (x != y) ..; else ..; |
| 7755 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
146 |
Do not use if statements that are always true or always false |
| 7756 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
179 |
The method 'login' has a Cyclomatic Complexity of 14. |
| 7757 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
179 |
The method login() has an NPath complexity of 757 |
| 7758 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
182 |
Found 'DU'-anomaly for variable 'roles' (lines '182'-'226'). |
| 7759 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
183 |
Avoid if (x != y) ..; else ..; |
| 7760 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
184 |
Avoid excessively long variable names like weixinAccountEntity |
| 7761 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
189 |
Prefer StringBuffer over += for concatenating strings |
| 7762 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
198 |
Found 'DD'-anomaly for variable 'indexStyle' (lines '198'-'205'). |
| 7763 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
205 |
Found 'DD'-anomaly for variable 'indexStyle' (lines '205'-'205'). |
| 7764 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
211 |
A method should have only one exit point, and that should be the last statement in the method |
| 7765 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
215 |
A method should have only one exit point, and that should be the last statement in the method |
| 7766 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
219 |
A method should have only one exit point, and that should be the last statement in the method |
| 7767 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
221 |
A method should have only one exit point, and that should be the last statement in the method |
| 7768 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
254 |
Found 'DU'-anomaly for variable 'session' (lines '254'-'269'). |
| 7769 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
280 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7770 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
285 |
Avoid instantiating new objects inside loops |
| 7771 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
290 |
Avoid variables with short names like c |
| 7772 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
292 |
Avoid instantiating new objects inside loops |
| 7773 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
354 |
Found 'DU'-anomaly for variable 'session' (lines '354'-'367'). |
| 7774 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
377 |
Method names should not contain underscores |
| 7775 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
379 |
Found 'DU'-anomaly for variable 'session' (lines '379'-'392'). |
| 7776 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
403 |
The method 'getPrimaryMenu' has a Cyclomatic Complexity of 12. |
| 7777 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
411 |
Prefer StringBuffer over += for concatenating strings |
| 7778 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
412 |
The String literal " </li> " appears 5 times in this file; the first occurrence is on line 412 |
| 7779 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
415 |
Prefer StringBuffer over += for concatenating strings |
| 7780 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
419 |
Prefer StringBuffer over += for concatenating strings |
| 7781 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
423 |
Prefer StringBuffer over += for concatenating strings |
| 7782 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
431 |
Avoid variables with short names like s |
| 7783 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
431 |
Found 'DD'-anomaly for variable 's' (lines '431'-'433'). |
| 7784 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
431 |
Found 'DD'-anomaly for variable 's' (lines '431'-'435'). |
| 7785 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
431 |
Found 'DD'-anomaly for variable 's' (lines '431'-'437'). |
| 7786 |
src/org/jeecgframework/web/system/controller/core/LoginController.java |
458 |
Avoid excessively long variable names like getPrimaryMenuForWebos |
| 7787 |
src/org/jeecgframework/web/system/controller/core/RepairController.java |
28 |
Avoid unused private fields such as 'logger'. |
| 7788 |
src/org/jeecgframework/web/system/controller/core/RepairController.java |
28 |
Variables that are final and static should be in all caps. |
| 7789 |
src/org/jeecgframework/web/system/controller/core/RepairController.java |
30 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7790 |
src/org/jeecgframework/web/system/controller/core/RepairController.java |
32 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7791 |
src/org/jeecgframework/web/system/controller/core/RepairController.java |
40 |
Parameter 'message' is not assigned and could be declared final |
| 7792 |
src/org/jeecgframework/web/system/controller/core/RepairController.java |
45 |
Parameter 'repairService' is not assigned and could be declared final |
| 7793 |
src/org/jeecgframework/web/system/controller/core/RepairController.java |
50 |
Parameter 'systemService' is not assigned and could be declared final |
| 7794 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 7795 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
59 |
This class has too many methods, consider refactoring it. |
| 7796 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
63 |
Variables that are final and static should be in all caps. |
| 7797 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
65 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7798 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
66 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7799 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
69 |
Parameter 'systemService' is not assigned and could be declared final |
| 7800 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
78 |
Parameter 'userService' is not assigned and could be declared final |
| 7801 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
102 |
Parameter 'request' is not assigned and could be declared final |
| 7802 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
102 |
Parameter 'role' is not assigned and could be declared final |
| 7803 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
103 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 7804 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
104 |
Avoid variables with short names like cq |
| 7805 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
104 |
Local variable 'cq' could be declared final |
| 7806 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
108 |
An empty statement (semicolon) not part of a loop |
| 7807 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
119 |
Avoid reassigning parameters such as 'role' |
| 7808 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
120 |
Avoid variables with short names like j |
| 7809 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
120 |
Local variable 'j' could be declared final |
| 7810 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
121 |
Local variable 'count' could be declared final |
| 7811 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
145 |
Avoid variables with short names like v |
| 7812 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
145 |
Local variable 'v' could be declared final |
| 7813 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
146 |
Local variable 'roleCode' could be declared final |
| 7814 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
149 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7815 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
161 |
The String literal "TSRole.id" appears 7 times in this file; the first occurrence is on line 161 |
| 7816 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
162 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7817 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
181 |
Avoid variables with short names like j |
| 7818 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
204 |
The String literal "roleId" appears 7 times in this file; the first occurrence is on line 204 |
| 7819 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
221 |
Avoid reassigning parameters such as 'role' |
| 7820 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
223 |
Avoid variables with short names like cq |
| 7821 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
225 |
The String literal "TSFunction.id" appears 5 times in this file; the first occurrence is on line 225 |
| 7822 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
235 |
Found 'DD'-anomaly for variable 'comboTrees' (lines '235'-'250'). |
| 7823 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
241 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7824 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
301 |
Avoid instantiating new objects inside loops |
| 7825 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
310 |
This for loop could be simplified to a while loop |
| 7826 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
326 |
Avoid reassigning parameters such as 'role' |
| 7827 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
359 |
Found 'DD'-anomaly for variable 'treeGrids' (lines '359'-'363'). |
| 7828 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
383 |
Found 'DD'-anomaly for variable 'aa' (lines '383'-'388'). |
| 7829 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
383 |
Found 'DD'-anomaly for variable 'aa' (lines '383'-'408'). |
| 7830 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
383 |
Found 'DU'-anomaly for variable 'aa' (lines '383'-'417'). |
| 7831 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
384 |
Found 'DD'-anomaly for variable 'bb' (lines '384'-'387'). |
| 7832 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
384 |
Found 'DU'-anomaly for variable 'bb' (lines '384'-'417'). |
| 7833 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
393 |
Found 'DD'-anomaly for variable 'cc' (lines '393'-'393'). |
| 7834 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
393 |
Found 'DU'-anomaly for variable 'cc' (lines '393'-'417'). |
| 7835 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
395 |
Prefer StringBuffer over += for concatenating strings |
| 7836 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
401 |
Found 'DD'-anomaly for variable 'aa' (lines '401'-'408'). |
| 7837 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
401 |
Found 'DU'-anomaly for variable 'aa' (lines '401'-'417'). |
| 7838 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
408 |
Found 'DD'-anomaly for variable 'aa' (lines '408'-'408'). |
| 7839 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
408 |
Found 'DU'-anomaly for variable 'aa' (lines '408'-'417'). |
| 7840 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
410 |
Found 'DU'-anomaly for variable 'bb' (lines '410'-'417'). |
| 7841 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
432 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7842 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
444 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7843 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
482 |
Found 'DD'-anomaly for variable 'operationcodes' (lines '482'-'484'). |
| 7844 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
484 |
Found 'DU'-anomaly for variable 'operationcodes' (lines '484'-'500'). |
| 7845 |
src/org/jeecgframework/web/system/controller/core/RoleController.java |
486 |
Avoid printStackTrace(); use a logger call instead. |
| 7846 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 7847 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
1 |
This class has a bunch of public methods and attributes |
| 7848 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
6 |
Avoid unused imports such as 'java.util.Iterator' |
| 7849 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
6 |
Avoid unused imports such as 'java.util.Iterator' |
| 7850 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
63 |
This class has too many methods, consider refactoring it. |
| 7851 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
64 |
Avoid unused private fields such as 'logger'. |
| 7852 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
64 |
Variables that are final and static should be in all caps. |
| 7853 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
66 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7854 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
73 |
Parameter 'message' is not assigned and could be declared final |
| 7855 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
78 |
Parameter 'systemService' is not assigned and could be declared final |
| 7856 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
87 |
Parameter 'userService' is not assigned and could be declared final |
| 7857 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
100 |
Parameter 'request' is not assigned and could be declared final |
| 7858 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
101 |
Local variable 'typegroupList' could be declared final |
| 7859 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
112 |
Parameter 'request' is not assigned and could be declared final |
| 7860 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
123 |
Local variable 'typegroupid' could be declared final |
| 7861 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
123 |
The String literal "typegroupid" appears 4 times in this file; the first occurrence is on line 123 |
| 7862 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
124 |
Local variable 'typegroup' could be declared final |
| 7863 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
135 |
Avoid variables with short names like cq |
| 7864 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
135 |
Local variable 'cq' could be declared final |
| 7865 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
152 |
Local variable 'typegroupid' could be declared final |
| 7866 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
154 |
Avoid variables with short names like cq |
| 7867 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
194 |
Avoid variables with short names like cq |
| 7868 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
196 |
Avoid if (x != y) ..; else ..; |
| 7869 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
202 |
Avoid instantiating new objects inside loops |
| 7870 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
212 |
Avoid instantiating new objects inside loops |
| 7871 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
230 |
Avoid variables with short names like id |
| 7872 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
231 |
Avoid variables with short names like j |
| 7873 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
232 |
This call to String.startsWith can be rewritten using String.charAt(0) |
| 7874 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
234 |
The String literal "±»É¾³ý ³É¹¦" appears 6 times in this file; the first occurrence is on line 234 |
| 7875 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
255 |
Avoid reassigning parameters such as 'typegroup' |
| 7876 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
274 |
Avoid reassigning parameters such as 'type' |
| 7877 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
299 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7878 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
317 |
The String literal "±»¸üгɹ¦" appears 4 times in this file; the first occurrence is on line 317 |
| 7879 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
321 |
The String literal "±»Ìí¼Ó³É¹¦" appears 4 times in this file; the first occurrence is on line 321 |
| 7880 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
347 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7881 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
387 |
Avoid reassigning parameters such as 'typegroup' |
| 7882 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
401 |
Avoid reassigning parameters such as 'type' |
| 7883 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
439 |
An empty statement (semicolon) not part of a loop |
| 7884 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
449 |
Avoid reassigning parameters such as 'depart' |
| 7885 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
470 |
Position literals first in String comparisons |
| 7886 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
525 |
Found 'DD'-anomaly for variable 'comboTrees' (lines '525'-'526'). |
| 7887 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
588 |
Avoid if (x != y) ..; else ..; |
| 7888 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
608 |
The String literal "roleid" appears 8 times in this file; the first occurrence is on line 608 |
| 7889 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
635 |
Found 'DD'-anomaly for variable 'comboTrees' (lines '635'-'649'). |
| 7890 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
641 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7891 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
666 |
Found 'DD'-anomaly for variable 'roleFunctions' (lines '666'-'668'). |
| 7892 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
666 |
Found 'DU'-anomaly for variable 'roleFunctions' (lines '666'-'678'). |
| 7893 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
667 |
Use equals() to compare strings instead of '==' or '!=' |
| 7894 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
670 |
Avoid instantiating new objects inside loops |
| 7895 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
731 |
Found 'DD'-anomaly for variable 'treeGrids' (lines '731'-'735'). |
| 7896 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
755 |
Found 'DD'-anomaly for variable 'aa' (lines '755'-'760'). |
| 7897 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
755 |
Found 'DD'-anomaly for variable 'aa' (lines '755'-'780'). |
| 7898 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
755 |
Found 'DU'-anomaly for variable 'aa' (lines '755'-'788'). |
| 7899 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
756 |
Found 'DD'-anomaly for variable 'bb' (lines '756'-'759'). |
| 7900 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
756 |
Found 'DU'-anomaly for variable 'bb' (lines '756'-'788'). |
| 7901 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
765 |
Found 'DD'-anomaly for variable 'cc' (lines '765'-'765'). |
| 7902 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
765 |
Found 'DU'-anomaly for variable 'cc' (lines '765'-'788'). |
| 7903 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
767 |
Prefer StringBuffer over += for concatenating strings |
| 7904 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
773 |
Found 'DD'-anomaly for variable 'aa' (lines '773'-'780'). |
| 7905 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
773 |
Found 'DU'-anomaly for variable 'aa' (lines '773'-'788'). |
| 7906 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
780 |
Found 'DD'-anomaly for variable 'aa' (lines '780'-'780'). |
| 7907 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
780 |
Found 'DU'-anomaly for variable 'aa' (lines '780'-'788'). |
| 7908 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
782 |
Found 'DU'-anomaly for variable 'bb' (lines '782'-'788'). |
| 7909 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
814 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7910 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
832 |
An empty statement (semicolon) not part of a loop |
| 7911 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
872 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 7912 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
872 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 7913 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
909 |
Do not add empty strings |
| 7914 |
src/org/jeecgframework/web/system/controller/core/SystemController.java |
945 |
Found 'DU'-anomaly for variable 'documentTitle' (lines '945'-'967'). |
| 7915 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7916 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
39 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7917 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
57 |
Parameter 'request' is not assigned and could be declared final |
| 7918 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
57 |
Parameter 'treegrid' is not assigned and could be declared final |
| 7919 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
58 |
Avoid variables with short names like cq |
| 7920 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
58 |
Local variable 'cq' could be declared final |
| 7921 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
68 |
Local variable 'territoryList' could be declared final |
| 7922 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
69 |
Found 'DD'-anomaly for variable 'treeGrids' (lines '69'-'79'). |
| 7923 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
70 |
Local variable 'treeGridModel' could be declared final |
| 7924 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
88 |
Avoid reassigning parameters such as 'territory' |
| 7925 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
88 |
Parameter 'req' is not assigned and could be declared final |
| 7926 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
89 |
Local variable 'functionid' could be declared final |
| 7927 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
105 |
Parameter 'comboTree' is not assigned and could be declared final |
| 7928 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
105 |
Parameter 'request' is not assigned and could be declared final |
| 7929 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
106 |
Avoid variables with short names like cq |
| 7930 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
106 |
Local variable 'cq' could be declared final |
| 7931 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
115 |
Found 'DD'-anomaly for variable 'comboTrees' (lines '115'-'117'). |
| 7932 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
126 |
Avoid variables with short names like j |
| 7933 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
135 |
Do not add empty strings |
| 7934 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
160 |
Avoid reassigning parameters such as 'territory' |
| 7935 |
src/org/jeecgframework/web/system/controller/core/TerritoryController.java |
161 |
Avoid variables with short names like j |
| 7936 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
44 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7937 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
46 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7938 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
48 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7939 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
55 |
Parameter 'message' is not assigned and could be declared final |
| 7940 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
66 |
Parameter 'request' is not assigned and could be declared final |
| 7941 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
80 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 7942 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
80 |
Parameter 'request' is not assigned and could be declared final |
| 7943 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
80 |
Parameter 'response' is not assigned and could be declared final |
| 7944 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
81 |
Avoid variables with short names like cq |
| 7945 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
81 |
Local variable 'cq' could be declared final |
| 7946 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
95 |
Avoid reassigning parameters such as 'timeTask' |
| 7947 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
96 |
Avoid variables with short names like j |
| 7948 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
96 |
Local variable 'j' could be declared final |
| 7949 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
115 |
Avoid variables with short names like j |
| 7950 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
115 |
Local variable 'j' could be declared final |
| 7951 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
116 |
Local variable 'trigger' could be declared final |
| 7952 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
121 |
A method should have only one exit point, and that should be the last statement in the method |
| 7953 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
125 |
Avoid variables with short names like t |
| 7954 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
125 |
Local variable 't' could be declared final |
| 7955 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
134 |
Avoid printStackTrace(); use a logger call instead. |
| 7956 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
152 |
Avoid reassigning parameters such as 'timeTask' |
| 7957 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
165 |
Avoid reassigning parameters such as 'timeTask' |
| 7958 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
166 |
Avoid variables with short names like j |
| 7959 |
src/org/jeecgframework/web/system/controller/core/TimeTaskController.java |
182 |
Avoid reassigning parameters such as 'timeTask' |
| 7960 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 7961 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
26 |
Avoid unused imports such as 'org.hibernate.criterion.DetachedCriteria' |
| 7962 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
26 |
Avoid unused imports such as 'org.hibernate.criterion.DetachedCriteria' |
| 7963 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
27 |
Avoid unused imports such as 'org.hibernate.criterion.Restrictions' |
| 7964 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
27 |
Avoid unused imports such as 'org.hibernate.criterion.Restrictions' |
| 7965 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
62 |
This class has too many methods, consider refactoring it. |
| 7966 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
67 |
Variables that are final and static should be in all caps. |
| 7967 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
69 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7968 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
70 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7969 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
71 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 7970 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
74 |
Parameter 'systemService' is not assigned and could be declared final |
| 7971 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
79 |
Parameter 'userService' is not assigned and could be declared final |
| 7972 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
91 |
Parameter 'request' is not assigned and could be declared final |
| 7973 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
91 |
Parameter 'response' is not assigned and could be declared final |
| 7974 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
92 |
Local variable 'sort' could be declared final |
| 7975 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
93 |
Avoid variables with short names like u |
| 7976 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
93 |
Local variable 'u' could be declared final |
| 7977 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
95 |
Local variable 'loginActionlist' could be declared final |
| 7978 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
96 |
Local variable 'rUsers' could be declared final |
| 7979 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
96 |
The String literal "TSUser.id" appears 6 times in this file; the first occurrence is on line 96 |
| 7980 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
98 |
Local variable 'role' could be declared final |
| 7981 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
100 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7982 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
109 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 7983 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
126 |
Avoid printStackTrace(); use a logger call instead. |
| 7984 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
136 |
Parameter 'request' is not assigned and could be declared final |
| 7985 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
149 |
The String literal "user" appears 5 times in this file; the first occurrence is on line 149 |
| 7986 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
191 |
Avoid variables with short names like j |
| 7987 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
194 |
Found 'DU'-anomaly for variable 'newpassword' (lines '194'-'210'). |
| 7988 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
196 |
Avoid if (x != y) ..; else ..; |
| 7989 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
203 |
Avoid printStackTrace(); use a logger call instead. |
| 7990 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
220 |
Avoid reassigning parameters such as 'user' |
| 7991 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
235 |
Avoid variables with short names like j |
| 7992 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
236 |
Avoid variables with short names like id |
| 7993 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
237 |
Found 'DU'-anomaly for variable 'password' (lines '237'-'252'). |
| 7994 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
245 |
The String literal "Óû§: " appears 4 times in this file; the first occurrence is on line 245 |
| 7995 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
264 |
Avoid variables with short names like id |
| 7996 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
271 |
A method should have only one exit point, and that should be the last statement in the method |
| 7997 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
273 |
Avoid if (x != y) ..; else ..; |
| 7998 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
298 |
Found 'DD'-anomaly for variable 'comboBoxs' (lines '298'-'309'). |
| 7999 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
302 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 8000 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
322 |
Found 'DD'-anomaly for variable 'comboBoxs' (lines '322'-'332'). |
| 8001 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
364 |
Avoid reassigning parameters such as 'user' |
| 8002 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
369 |
A method should have only one exit point, and that should be the last statement in the method |
| 8003 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
372 |
Found 'DU'-anomaly for variable 'roleUser' (lines '372'-'390'). |
| 8004 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
373 |
Avoid if (x != y) ..; else ..; |
| 8005 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
374 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 8006 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
413 |
The String literal "userName" appears 5 times in this file; the first occurrence is on line 413 |
| 8007 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
414 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 8008 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
435 |
Found 'DD'-anomaly for variable 'roleid' (lines '435'-'464'). |
| 8009 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
435 |
Found 'DU'-anomaly for variable 'roleid' (lines '435'-'486'). |
| 8010 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
435 |
The String literal "roleid" appears 4 times in this file; the first occurrence is on line 435 |
| 8011 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
437 |
Found 'DU'-anomaly for variable 'password' (lines '437'-'486'). |
| 8012 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
457 |
Avoid if (x != y) ..; else ..; |
| 8013 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
491 |
Avoid instantiating new objects inside loops |
| 8014 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
533 |
Avoid reassigning parameters such as 'user' |
| 8015 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
536 |
Avoid if (x != y) ..; else ..; |
| 8016 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
559 |
Prefer StringBuffer over += for concatenating strings |
| 8017 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
560 |
Prefer StringBuffer over += for concatenating strings |
| 8018 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
609 |
Found 'DU'-anomaly for variable 'userid' (lines '609'-'622'). |
| 8019 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
614 |
Prefer StringBuffer over += for concatenating strings |
| 8020 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
643 |
Found 'DD'-anomaly for variable 'modelAndView' (lines '643'-'645'). |
| 8021 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
643 |
Found 'DD'-anomaly for variable 'modelAndView' (lines '643'-'647'). |
| 8022 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
644 |
Position literals first in String comparisons |
| 8023 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
673 |
JUnit 4 tests that execute tests should use the @Test annotation |
| 8024 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
675 |
Avoid unused local variables such as 'jString'. |
| 8025 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
675 |
Found 'DU'-anomaly for variable 'jString' (lines '675'-'685'). |
| 8026 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
712 |
JUnit 4 tests that execute tests should use the @Test annotation |
| 8027 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
765 |
JUnit 4 tests that execute tests should use the @Test annotation |
| 8028 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
782 |
A method should have only one exit point, and that should be the last statement in the method |
| 8029 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
784 |
Found 'DD'-anomaly for variable 'indexStyle' (lines '784'-'791'). |
| 8030 |
src/org/jeecgframework/web/system/controller/core/UserController.java |
791 |
Found 'DD'-anomaly for variable 'indexStyle' (lines '791'-'791'). |
| 8031 |
src/org/jeecgframework/web/system/dao/JeecgDictDao.java |
49 |
Avoid modifiers which are implied by the context |
| 8032 |
src/org/jeecgframework/web/system/dao/JeecgDictDao.java |
62 |
Avoid modifiers which are implied by the context |
| 8033 |
src/org/jeecgframework/web/system/dao/repair/RepairDao.java |
14 |
Avoid modifiers which are implied by the context |
| 8034 |
src/org/jeecgframework/web/system/listener/CkfinderConfiguration.java |
19 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8035 |
src/org/jeecgframework/web/system/listener/CkfinderConfiguration.java |
19 |
Use explicit scoping instead of the default package private level |
| 8036 |
src/org/jeecgframework/web/system/listener/CkfinderConfiguration.java |
21 |
Parameter 'servletConfig' is not assigned and could be declared final |
| 8037 |
src/org/jeecgframework/web/system/listener/CkfinderConfiguration.java |
27 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 8038 |
src/org/jeecgframework/web/system/listener/CkfinderConfiguration.java |
27 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 8039 |
src/org/jeecgframework/web/system/listener/CkfinderConfiguration.java |
29 |
Local variable 'files' could be declared final |
| 8040 |
src/org/jeecgframework/web/system/listener/CkfinderConfiguration.java |
31 |
Avoid using if...else statements without curly braces |
| 8041 |
src/org/jeecgframework/web/system/listener/CkfinderConfiguration.java |
33 |
Avoid using if...else statements without curly braces |
| 8042 |
src/org/jeecgframework/web/system/listener/InitListener.java |
21 |
Document empty method |
| 8043 |
src/org/jeecgframework/web/system/listener/InitListener.java |
21 |
Parameter 'arg0' is not assigned and could be declared final |
| 8044 |
src/org/jeecgframework/web/system/listener/InitListener.java |
26 |
Parameter 'event' is not assigned and could be declared final |
| 8045 |
src/org/jeecgframework/web/system/listener/InitListener.java |
27 |
Avoid excessively long variable names like webApplicationContext |
| 8046 |
src/org/jeecgframework/web/system/listener/InitListener.java |
27 |
Local variable 'webApplicationContext' could be declared final |
| 8047 |
src/org/jeecgframework/web/system/listener/InitListener.java |
28 |
Local variable 'systemService' could be declared final |
| 8048 |
src/org/jeecgframework/web/system/listener/InitListener.java |
29 |
Found 'DU'-anomaly for variable 'menuInitService' (lines '29'-'46'). |
| 8049 |
src/org/jeecgframework/web/system/listener/InitListener.java |
29 |
Local variable 'menuInitService' could be declared final |
| 8050 |
src/org/jeecgframework/web/system/listener/OnlineListener.java |
22 |
Avoid unnecessary constructors - the compiler will generate these for you |
| 8051 |
src/org/jeecgframework/web/system/listener/OnlineListener.java |
22 |
Document empty constructor |
| 8052 |
src/org/jeecgframework/web/system/listener/OnlineListener.java |
26 |
Document empty method |
| 8053 |
src/org/jeecgframework/web/system/listener/OnlineListener.java |
26 |
Parameter 'httpSessionEvent' is not assigned and could be declared final |
| 8054 |
src/org/jeecgframework/web/system/listener/OnlineListener.java |
30 |
Parameter 'httpSessionEvent' is not assigned and could be declared final |
| 8055 |
src/org/jeecgframework/web/system/listener/OnlineListener.java |
38 |
Parameter 'evt' is not assigned and could be declared final |
| 8056 |
src/org/jeecgframework/web/system/listener/OnlineListener.java |
47 |
Avoid excessively long variable names like paramServletContextEvent |
| 8057 |
src/org/jeecgframework/web/system/listener/OnlineListener.java |
47 |
Document empty method |
| 8058 |
src/org/jeecgframework/web/system/listener/OnlineListener.java |
47 |
Parameter 'paramServletContextEvent' is not assigned and could be declared final |
| 8059 |
src/org/jeecgframework/web/system/manager/ClientManager.java |
16 |
A class which only has private constructors should be final |
| 8060 |
src/org/jeecgframework/web/system/manager/ClientManager.java |
28 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8061 |
src/org/jeecgframework/web/system/manager/ClientManager.java |
28 |
Private field 'map' could be made final; it is only initialized in the declaration or constructor. |
| 8062 |
src/org/jeecgframework/web/system/manager/ClientManager.java |
35 |
Parameter 'client' is not assigned and could be declared final |
| 8063 |
src/org/jeecgframework/web/system/manager/ClientManager.java |
35 |
Parameter 'sessionId' is not assigned and could be declared final |
| 8064 |
src/org/jeecgframework/web/system/manager/ClientManager.java |
41 |
Parameter 'sessionId' is not assigned and could be declared final |
| 8065 |
src/org/jeecgframework/web/system/manager/ClientManager.java |
49 |
Parameter 'sessionId' is not assigned and could be declared final |
| 8066 |
src/org/jeecgframework/web/system/manager/ClientSort.java |
10 |
Parameter 'now' is not assigned and could be declared final |
| 8067 |
src/org/jeecgframework/web/system/manager/ClientSort.java |
10 |
Parameter 'prev' is not assigned and could be declared final |
| 8068 |
src/org/jeecgframework/web/system/pojo/base/Client.java |
22 |
Avoid variables with short names like ip |
| 8069 |
src/org/jeecgframework/web/system/pojo/base/Client.java |
32 |
Parameter 'user' is not assigned and could be declared final |
| 8070 |
src/org/jeecgframework/web/system/pojo/base/Client.java |
41 |
Parameter 'functions' is not assigned and could be declared final |
| 8071 |
src/org/jeecgframework/web/system/pojo/base/Client.java |
49 |
Avoid variables with short names like ip |
| 8072 |
src/org/jeecgframework/web/system/pojo/base/Client.java |
49 |
Parameter 'ip' is not assigned and could be declared final |
| 8073 |
src/org/jeecgframework/web/system/pojo/base/Client.java |
57 |
Parameter 'logindatetime' is not assigned and could be declared final |
| 8074 |
src/org/jeecgframework/web/system/pojo/base/DictEntity.java |
34 |
Parameter 'typecode' is not assigned and could be declared final |
| 8075 |
src/org/jeecgframework/web/system/pojo/base/DictEntity.java |
40 |
Parameter 'typename' is not assigned and could be declared final |
| 8076 |
src/org/jeecgframework/web/system/pojo/base/DuplicateCheckPage.java |
37 |
Parameter 'rowObid' is not assigned and could be declared final |
| 8077 |
src/org/jeecgframework/web/system/pojo/base/DuplicateCheckPage.java |
53 |
Parameter 'tableName' is not assigned and could be declared final |
| 8078 |
src/org/jeecgframework/web/system/pojo/base/DuplicateCheckPage.java |
57 |
Parameter 'fieldName' is not assigned and could be declared final |
| 8079 |
src/org/jeecgframework/web/system/pojo/base/DuplicateCheckPage.java |
61 |
Parameter 'fieldVlaue' is not assigned and could be declared final |
| 8080 |
src/org/jeecgframework/web/system/pojo/base/TSAttachment.java |
34 |
Variables should start with a lowercase character |
| 8081 |
src/org/jeecgframework/web/system/pojo/base/TSAttachment.java |
50 |
Parameter 'extend' is not assigned and could be declared final |
| 8082 |
src/org/jeecgframework/web/system/pojo/base/TSAttachment.java |
60 |
Parameter 'TSUser' is not assigned and could be declared final |
| 8083 |
src/org/jeecgframework/web/system/pojo/base/TSAttachment.java |
69 |
Parameter 'businessKey' is not assigned and could be declared final |
| 8084 |
src/org/jeecgframework/web/system/pojo/base/TSAttachment.java |
78 |
Parameter 'attachmenttitle' is not assigned and could be declared final |
| 8085 |
src/org/jeecgframework/web/system/pojo/base/TSAttachment.java |
85 |
Returning 'attachmentcontent' may expose an internal array. |
| 8086 |
src/org/jeecgframework/web/system/pojo/base/TSAttachment.java |
88 |
Parameter 'attachmentcontent' is not assigned and could be declared final |
| 8087 |
src/org/jeecgframework/web/system/pojo/base/TSAttachment.java |
88 |
The user-supplied array 'attachmentcontent' is stored directly. |
| 8088 |
src/org/jeecgframework/web/system/pojo/base/TSBaseUser.java |
32 |
Variables should start with a lowercase character |
| 8089 |
src/org/jeecgframework/web/system/pojo/base/TSBaseUser.java |
36 |
Returning 'signature' may expose an internal array. |
| 8090 |
src/org/jeecgframework/web/system/pojo/base/TSBaseUser.java |
38 |
Parameter 'signature' is not assigned and could be declared final |
| 8091 |
src/org/jeecgframework/web/system/pojo/base/TSBaseUser.java |
38 |
The user-supplied array 'signature' is stored directly. |
| 8092 |
src/org/jeecgframework/web/system/pojo/base/TSBaseUser.java |
47 |
Parameter 'browser' is not assigned and could be declared final |
| 8093 |
src/org/jeecgframework/web/system/pojo/base/TSBaseUser.java |
56 |
Parameter 'userKey' is not assigned and could be declared final |
| 8094 |
src/org/jeecgframework/web/system/pojo/base/TSBaseUser.java |
65 |
Parameter 'status' is not assigned and could be declared final |
| 8095 |
src/org/jeecgframework/web/system/pojo/base/TSBaseUser.java |
72 |
Parameter 'activitiSync' is not assigned and could be declared final |
| 8096 |
src/org/jeecgframework/web/system/pojo/base/TSConfig.java |
7 |
Avoid unused imports such as 'javax.persistence.GeneratedValue' |
| 8097 |
src/org/jeecgframework/web/system/pojo/base/TSConfig.java |
7 |
Avoid unused imports such as 'javax.persistence.GeneratedValue' |
| 8098 |
src/org/jeecgframework/web/system/pojo/base/TSConfig.java |
8 |
Avoid unused imports such as 'javax.persistence.Id' |
| 8099 |
src/org/jeecgframework/web/system/pojo/base/TSConfig.java |
8 |
Avoid unused imports such as 'javax.persistence.Id' |
| 8100 |
src/org/jeecgframework/web/system/pojo/base/TSConfig.java |
13 |
Avoid unused imports such as 'org.hibernate.annotations.GenericGenerator' |
| 8101 |
src/org/jeecgframework/web/system/pojo/base/TSConfig.java |
13 |
Avoid unused imports such as 'org.hibernate.annotations.GenericGenerator' |
| 8102 |
src/org/jeecgframework/web/system/pojo/base/TSConfig.java |
23 |
Classes implementing Serializable should set a serialVersionUID |
| 8103 |
src/org/jeecgframework/web/system/pojo/base/TSConfig.java |
25 |
Variables should start with a lowercase character |
| 8104 |
src/org/jeecgframework/web/system/pojo/base/TSConfig.java |
37 |
Parameter 'TSUser' is not assigned and could be declared final |
| 8105 |
src/org/jeecgframework/web/system/pojo/base/TSConfig.java |
45 |
Parameter 'code' is not assigned and could be declared final |
| 8106 |
src/org/jeecgframework/web/system/pojo/base/TSConfig.java |
54 |
Parameter 'name' is not assigned and could be declared final |
| 8107 |
src/org/jeecgframework/web/system/pojo/base/TSConfig.java |
63 |
Parameter 'contents' is not assigned and could be declared final |
| 8108 |
src/org/jeecgframework/web/system/pojo/base/TSConfig.java |
72 |
Parameter 'note' is not assigned and could be declared final |
| 8109 |
src/org/jeecgframework/web/system/pojo/base/TSDemo.java |
23 |
Classes implementing Serializable should set a serialVersionUID |
| 8110 |
src/org/jeecgframework/web/system/pojo/base/TSDemo.java |
26 |
Avoid unused private fields such as 'TSDemo'. |
| 8111 |
src/org/jeecgframework/web/system/pojo/base/TSDemo.java |
26 |
It is somewhat confusing to have a field name matching the declaring class name |
| 8112 |
src/org/jeecgframework/web/system/pojo/base/TSDemo.java |
26 |
Variables should start with a lowercase character |
| 8113 |
src/org/jeecgframework/web/system/pojo/base/TSDemo.java |
35 |
Parameter 'demotitle' is not assigned and could be declared final |
| 8114 |
src/org/jeecgframework/web/system/pojo/base/TSDemo.java |
44 |
Parameter 'demourl' is not assigned and could be declared final |
| 8115 |
src/org/jeecgframework/web/system/pojo/base/TSDemo.java |
54 |
Parameter 'tSDemo' is not assigned and could be declared final |
| 8116 |
src/org/jeecgframework/web/system/pojo/base/TSDemo.java |
63 |
Parameter 'demoorder' is not assigned and could be declared final |
| 8117 |
src/org/jeecgframework/web/system/pojo/base/TSDemo.java |
72 |
Parameter 'tsDemos' is not assigned and could be declared final |
| 8118 |
src/org/jeecgframework/web/system/pojo/base/TSDepart.java |
23 |
Classes implementing Serializable should set a serialVersionUID |
| 8119 |
src/org/jeecgframework/web/system/pojo/base/TSDepart.java |
24 |
Variables should start with a lowercase character |
| 8120 |
src/org/jeecgframework/web/system/pojo/base/TSDepart.java |
27 |
Variables should start with a lowercase character |
| 8121 |
src/org/jeecgframework/web/system/pojo/base/TSDepart.java |
35 |
Parameter 'TSPDepart' is not assigned and could be declared final |
| 8122 |
src/org/jeecgframework/web/system/pojo/base/TSDepart.java |
44 |
Parameter 'departname' is not assigned and could be declared final |
| 8123 |
src/org/jeecgframework/web/system/pojo/base/TSDepart.java |
53 |
Parameter 'description' is not assigned and could be declared final |
| 8124 |
src/org/jeecgframework/web/system/pojo/base/TSDepart.java |
62 |
Parameter 'tSDeparts' is not assigned and could be declared final |
| 8125 |
src/org/jeecgframework/web/system/pojo/base/TSDocument.java |
19 |
Classes implementing Serializable should set a serialVersionUID |
| 8126 |
src/org/jeecgframework/web/system/pojo/base/TSDocument.java |
24 |
Variables should start with a lowercase character |
| 8127 |
src/org/jeecgframework/web/system/pojo/base/TSDocument.java |
30 |
Parameter 'tSType' is not assigned and could be declared final |
| 8128 |
src/org/jeecgframework/web/system/pojo/base/TSDocument.java |
37 |
Parameter 'documentTitle' is not assigned and could be declared final |
| 8129 |
src/org/jeecgframework/web/system/pojo/base/TSDocument.java |
42 |
Returning 'pictureIndex' may expose an internal array. |
| 8130 |
src/org/jeecgframework/web/system/pojo/base/TSDocument.java |
44 |
Parameter 'pictureIndex' is not assigned and could be declared final |
| 8131 |
src/org/jeecgframework/web/system/pojo/base/TSDocument.java |
44 |
The user-supplied array 'pictureIndex' is stored directly. |
| 8132 |
src/org/jeecgframework/web/system/pojo/base/TSDocument.java |
51 |
Parameter 'documentState' is not assigned and could be declared final |
| 8133 |
src/org/jeecgframework/web/system/pojo/base/TSDocument.java |
58 |
Parameter 'showHome' is not assigned and could be declared final |
| 8134 |
src/org/jeecgframework/web/system/pojo/base/TSFileno.java |
19 |
Classes implementing Serializable should set a serialVersionUID |
| 8135 |
src/org/jeecgframework/web/system/pojo/base/TSFileno.java |
30 |
Parameter 'filenoBefore' is not assigned and could be declared final |
| 8136 |
src/org/jeecgframework/web/system/pojo/base/TSFileno.java |
38 |
Parameter 'filenoNum' is not assigned and could be declared final |
| 8137 |
src/org/jeecgframework/web/system/pojo/base/TSFileno.java |
47 |
Parameter 'filenoType' is not assigned and could be declared final |
| 8138 |
src/org/jeecgframework/web/system/pojo/base/TSFileno.java |
56 |
Parameter 'filenoYear' is not assigned and could be declared final |
| 8139 |
src/org/jeecgframework/web/system/pojo/base/TSFunction.java |
14 |
Avoid unused imports such as 'org.hibernate.annotations.Fetch' |
| 8140 |
src/org/jeecgframework/web/system/pojo/base/TSFunction.java |
14 |
Avoid unused imports such as 'org.hibernate.annotations.Fetch' |
| 8141 |
src/org/jeecgframework/web/system/pojo/base/TSFunction.java |
23 |
Classes implementing Serializable should set a serialVersionUID |
| 8142 |
src/org/jeecgframework/web/system/pojo/base/TSFunction.java |
24 |
Avoid unused private fields such as 'TSFunction'. |
| 8143 |
src/org/jeecgframework/web/system/pojo/base/TSFunction.java |
24 |
It is somewhat confusing to have a field name matching the declaring class name |
| 8144 |
src/org/jeecgframework/web/system/pojo/base/TSFunction.java |
24 |
Variables should start with a lowercase character |
| 8145 |
src/org/jeecgframework/web/system/pojo/base/TSFunction.java |
30 |
Variables should start with a lowercase character |
| 8146 |
src/org/jeecgframework/web/system/pojo/base/TSFunction.java |
31 |
Variables should start with a lowercase character |
| 8147 |
src/org/jeecgframework/web/system/pojo/base/TSFunction.java |
37 |
Parameter 'TSIconDesk' is not assigned and could be declared final |
| 8148 |
src/org/jeecgframework/web/system/pojo/base/TSFunction.java |
41 |
Variables should start with a lowercase character |
| 8149 |
src/org/jeecgframework/web/system/pojo/base/TSFunction.java |
47 |
Parameter 'tSIcon' is not assigned and could be declared final |
| 8150 |
src/org/jeecgframework/web/system/pojo/base/TSFunction.java |
56 |
Parameter 'TSFunction' is not assigned and could be declared final |
| 8151 |
src/org/jeecgframework/web/system/pojo/base/TSFunction.java |
65 |
Parameter 'functionName' is not assigned and could be declared final |
| 8152 |
src/org/jeecgframework/web/system/pojo/base/TSFunction.java |
74 |
Parameter 'functionLevel' is not assigned and could be declared final |
| 8153 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
4 |
Avoid unused imports such as 'javax.persistence.GenerationType.SEQUENCE' |
| 8154 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
4 |
Avoid unused imports such as 'javax.persistence.GenerationType.SEQUENCE' |
| 8155 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
6 |
Avoid unused imports such as 'java.util.HashSet' |
| 8156 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
6 |
Avoid unused imports such as 'java.util.HashSet' |
| 8157 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
7 |
Avoid unused imports such as 'java.util.Set' |
| 8158 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
7 |
Avoid unused imports such as 'java.util.Set' |
| 8159 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
9 |
Avoid unused imports such as 'javax.persistence.CascadeType' |
| 8160 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
9 |
Avoid unused imports such as 'javax.persistence.CascadeType' |
| 8161 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
12 |
Avoid unused imports such as 'javax.persistence.FetchType' |
| 8162 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
12 |
Avoid unused imports such as 'javax.persistence.FetchType' |
| 8163 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
28 |
Classes implementing Serializable should set a serialVersionUID |
| 8164 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
40 |
Parameter 'iconName' is not assigned and could be declared final |
| 8165 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
49 |
Parameter 'iconType' is not assigned and could be declared final |
| 8166 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
58 |
Parameter 'iconPath' is not assigned and could be declared final |
| 8167 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
65 |
Parameter 'iconClas' is not assigned and could be declared final |
| 8168 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
69 |
Parameter 'iconContent' is not assigned and could be declared final |
| 8169 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
69 |
The user-supplied array 'iconContent' is stored directly. |
| 8170 |
src/org/jeecgframework/web/system/pojo/base/TSIcon.java |
74 |
Returning 'iconContent' may expose an internal array. |
| 8171 |
src/org/jeecgframework/web/system/pojo/base/TSLog.java |
20 |
Classes implementing Serializable should set a serialVersionUID |
| 8172 |
src/org/jeecgframework/web/system/pojo/base/TSLog.java |
21 |
Variables should start with a lowercase character |
| 8173 |
src/org/jeecgframework/web/system/pojo/base/TSLog.java |
35 |
Parameter 'TSUser' is not assigned and could be declared final |
| 8174 |
src/org/jeecgframework/web/system/pojo/base/TSLog.java |
44 |
Parameter 'loglevel' is not assigned and could be declared final |
| 8175 |
src/org/jeecgframework/web/system/pojo/base/TSLog.java |
53 |
Parameter 'operatetime' is not assigned and could be declared final |
| 8176 |
src/org/jeecgframework/web/system/pojo/base/TSLog.java |
62 |
Parameter 'operatetype' is not assigned and could be declared final |
| 8177 |
src/org/jeecgframework/web/system/pojo/base/TSLog.java |
71 |
Parameter 'logcontent' is not assigned and could be declared final |
| 8178 |
src/org/jeecgframework/web/system/pojo/base/TSOperation.java |
18 |
Classes implementing Serializable should set a serialVersionUID |
| 8179 |
src/org/jeecgframework/web/system/pojo/base/TSOperation.java |
23 |
Variables should start with a lowercase character |
| 8180 |
src/org/jeecgframework/web/system/pojo/base/TSOperation.java |
24 |
Variables should start with a lowercase character |
| 8181 |
src/org/jeecgframework/web/system/pojo/base/TSOperation.java |
31 |
Parameter 'operationname' is not assigned and could be declared final |
| 8182 |
src/org/jeecgframework/web/system/pojo/base/TSOperation.java |
40 |
Parameter 'operationcode' is not assigned and could be declared final |
| 8183 |
src/org/jeecgframework/web/system/pojo/base/TSOperation.java |
49 |
Parameter 'operationicon' is not assigned and could be declared final |
| 8184 |
src/org/jeecgframework/web/system/pojo/base/TSOperation.java |
58 |
Parameter 'status' is not assigned and could be declared final |
| 8185 |
src/org/jeecgframework/web/system/pojo/base/TSOperation.java |
67 |
Parameter 'tSIcon' is not assigned and could be declared final |
| 8186 |
src/org/jeecgframework/web/system/pojo/base/TSOpinTemplate.java |
4 |
Avoid unused imports such as 'java.util.HashSet' |
| 8187 |
src/org/jeecgframework/web/system/pojo/base/TSOpinTemplate.java |
4 |
Avoid unused imports such as 'java.util.HashSet' |
| 8188 |
src/org/jeecgframework/web/system/pojo/base/TSOpinTemplate.java |
5 |
Avoid unused imports such as 'java.util.Set' |
| 8189 |
src/org/jeecgframework/web/system/pojo/base/TSOpinTemplate.java |
5 |
Avoid unused imports such as 'java.util.Set' |
| 8190 |
src/org/jeecgframework/web/system/pojo/base/TSOpinTemplate.java |
7 |
Avoid unused imports such as 'javax.persistence.CascadeType' |
| 8191 |
src/org/jeecgframework/web/system/pojo/base/TSOpinTemplate.java |
7 |
Avoid unused imports such as 'javax.persistence.CascadeType' |
| 8192 |
src/org/jeecgframework/web/system/pojo/base/TSOpinTemplate.java |
10 |
Avoid unused imports such as 'javax.persistence.FetchType' |
| 8193 |
src/org/jeecgframework/web/system/pojo/base/TSOpinTemplate.java |
10 |
Avoid unused imports such as 'javax.persistence.FetchType' |
| 8194 |
src/org/jeecgframework/web/system/pojo/base/TSOpinTemplate.java |
11 |
Avoid unused imports such as 'javax.persistence.GeneratedValue' |
| 8195 |
src/org/jeecgframework/web/system/pojo/base/TSOpinTemplate.java |
11 |
Avoid unused imports such as 'javax.persistence.GeneratedValue' |
| 8196 |
src/org/jeecgframework/web/system/pojo/base/TSOpinTemplate.java |
27 |
Classes implementing Serializable should set a serialVersionUID |
| 8197 |
src/org/jeecgframework/web/system/pojo/base/TSOpinTemplate.java |
34 |
Parameter 'descript' is not assigned and could be declared final |
| 8198 |
src/org/jeecgframework/web/system/pojo/base/TSRole.java |
3 |
Avoid unused imports such as 'javax.persistence.GenerationType.SEQUENCE' |
| 8199 |
src/org/jeecgframework/web/system/pojo/base/TSRole.java |
3 |
Avoid unused imports such as 'javax.persistence.GenerationType.SEQUENCE' |
| 8200 |
src/org/jeecgframework/web/system/pojo/base/TSRole.java |
7 |
Avoid unused imports such as 'javax.persistence.GeneratedValue' |
| 8201 |
src/org/jeecgframework/web/system/pojo/base/TSRole.java |
7 |
Avoid unused imports such as 'javax.persistence.GeneratedValue' |
| 8202 |
src/org/jeecgframework/web/system/pojo/base/TSRole.java |
8 |
Avoid unused imports such as 'javax.persistence.Id' |
| 8203 |
src/org/jeecgframework/web/system/pojo/base/TSRole.java |
8 |
Avoid unused imports such as 'javax.persistence.Id' |
| 8204 |
src/org/jeecgframework/web/system/pojo/base/TSRole.java |
9 |
Avoid unused imports such as 'javax.persistence.SequenceGenerator' |
| 8205 |
src/org/jeecgframework/web/system/pojo/base/TSRole.java |
9 |
Avoid unused imports such as 'javax.persistence.SequenceGenerator' |
| 8206 |
src/org/jeecgframework/web/system/pojo/base/TSRole.java |
12 |
Avoid unused imports such as 'org.hibernate.annotations.GenericGenerator' |
| 8207 |
src/org/jeecgframework/web/system/pojo/base/TSRole.java |
12 |
Avoid unused imports such as 'org.hibernate.annotations.GenericGenerator' |
| 8208 |
src/org/jeecgframework/web/system/pojo/base/TSRole.java |
21 |
Classes implementing Serializable should set a serialVersionUID |
| 8209 |
src/org/jeecgframework/web/system/pojo/base/TSRole.java |
29 |
Parameter 'roleName' is not assigned and could be declared final |
| 8210 |
src/org/jeecgframework/web/system/pojo/base/TSRole.java |
37 |
Parameter 'roleCode' is not assigned and could be declared final |
| 8211 |
src/org/jeecgframework/web/system/pojo/base/TSRoleFunction.java |
6 |
Avoid unused imports such as 'javax.persistence.GeneratedValue' |
| 8212 |
src/org/jeecgframework/web/system/pojo/base/TSRoleFunction.java |
6 |
Avoid unused imports such as 'javax.persistence.GeneratedValue' |
| 8213 |
src/org/jeecgframework/web/system/pojo/base/TSRoleFunction.java |
7 |
Avoid unused imports such as 'javax.persistence.Id' |
| 8214 |
src/org/jeecgframework/web/system/pojo/base/TSRoleFunction.java |
7 |
Avoid unused imports such as 'javax.persistence.Id' |
| 8215 |
src/org/jeecgframework/web/system/pojo/base/TSRoleFunction.java |
12 |
Avoid unused imports such as 'org.hibernate.annotations.GenericGenerator' |
| 8216 |
src/org/jeecgframework/web/system/pojo/base/TSRoleFunction.java |
12 |
Avoid unused imports such as 'org.hibernate.annotations.GenericGenerator' |
| 8217 |
src/org/jeecgframework/web/system/pojo/base/TSRoleFunction.java |
21 |
Classes implementing Serializable should set a serialVersionUID |
| 8218 |
src/org/jeecgframework/web/system/pojo/base/TSRoleFunction.java |
22 |
Variables should start with a lowercase character |
| 8219 |
src/org/jeecgframework/web/system/pojo/base/TSRoleFunction.java |
23 |
Variables should start with a lowercase character |
| 8220 |
src/org/jeecgframework/web/system/pojo/base/TSRoleFunction.java |
32 |
Parameter 'TSFunction' is not assigned and could be declared final |
| 8221 |
src/org/jeecgframework/web/system/pojo/base/TSRoleFunction.java |
42 |
Parameter 'TSRole' is not assigned and could be declared final |
| 8222 |
src/org/jeecgframework/web/system/pojo/base/TSRoleFunction.java |
51 |
Parameter 'operation' is not assigned and could be declared final |
| 8223 |
src/org/jeecgframework/web/system/pojo/base/TSRoleUser.java |
3 |
Avoid unused imports such as 'javax.persistence.Column' |
| 8224 |
src/org/jeecgframework/web/system/pojo/base/TSRoleUser.java |
3 |
Avoid unused imports such as 'javax.persistence.Column' |
| 8225 |
src/org/jeecgframework/web/system/pojo/base/TSRoleUser.java |
6 |
Avoid unused imports such as 'javax.persistence.GeneratedValue' |
| 8226 |
src/org/jeecgframework/web/system/pojo/base/TSRoleUser.java |
6 |
Avoid unused imports such as 'javax.persistence.GeneratedValue' |
| 8227 |
src/org/jeecgframework/web/system/pojo/base/TSRoleUser.java |
7 |
Avoid unused imports such as 'javax.persistence.Id' |
| 8228 |
src/org/jeecgframework/web/system/pojo/base/TSRoleUser.java |
7 |
Avoid unused imports such as 'javax.persistence.Id' |
| 8229 |
src/org/jeecgframework/web/system/pojo/base/TSRoleUser.java |
12 |
Avoid unused imports such as 'org.hibernate.annotations.GenericGenerator' |
| 8230 |
src/org/jeecgframework/web/system/pojo/base/TSRoleUser.java |
12 |
Avoid unused imports such as 'org.hibernate.annotations.GenericGenerator' |
| 8231 |
src/org/jeecgframework/web/system/pojo/base/TSRoleUser.java |
21 |
Classes implementing Serializable should set a serialVersionUID |
| 8232 |
src/org/jeecgframework/web/system/pojo/base/TSRoleUser.java |
22 |
Variables should start with a lowercase character |
| 8233 |
src/org/jeecgframework/web/system/pojo/base/TSRoleUser.java |
23 |
Variables should start with a lowercase character |
| 8234 |
src/org/jeecgframework/web/system/pojo/base/TSRoleUser.java |
31 |
Parameter 'TSUser' is not assigned and could be declared final |
| 8235 |
src/org/jeecgframework/web/system/pojo/base/TSRoleUser.java |
41 |
Parameter 'TSRole' is not assigned and could be declared final |
| 8236 |
src/org/jeecgframework/web/system/pojo/base/TSTerritory.java |
24 |
Avoid unused private fields such as 'TSTerritory'. |
| 8237 |
src/org/jeecgframework/web/system/pojo/base/TSTerritory.java |
24 |
It is somewhat confusing to have a field name matching the declaring class name |
| 8238 |
src/org/jeecgframework/web/system/pojo/base/TSTerritory.java |
24 |
Variables should start with a lowercase character |
| 8239 |
src/org/jeecgframework/web/system/pojo/base/TSTerritory.java |
32 |
Variables should start with a lowercase character |
| 8240 |
src/org/jeecgframework/web/system/pojo/base/TSTerritory.java |
40 |
Parameter 'TSTerritory' is not assigned and could be declared final |
| 8241 |
src/org/jeecgframework/web/system/pojo/base/TSTerritory.java |
47 |
Parameter 'TSTerritorys' is not assigned and could be declared final |
| 8242 |
src/org/jeecgframework/web/system/pojo/base/TSTerritory.java |
55 |
Parameter 'territoryName' is not assigned and could be declared final |
| 8243 |
src/org/jeecgframework/web/system/pojo/base/TSTerritory.java |
64 |
Parameter 'territorySort' is not assigned and could be declared final |
| 8244 |
src/org/jeecgframework/web/system/pojo/base/TSTerritory.java |
71 |
Parameter 'territoryLevel' is not assigned and could be declared final |
| 8245 |
src/org/jeecgframework/web/system/pojo/base/TSTimeTaskEntity.java |
28 |
Avoid variables with short names like id |
| 8246 |
src/org/jeecgframework/web/system/pojo/base/TSTimeTaskEntity.java |
69 |
Avoid variables with short names like id |
| 8247 |
src/org/jeecgframework/web/system/pojo/base/TSTimeTaskEntity.java |
69 |
Parameter 'id' is not assigned and could be declared final |
| 8248 |
src/org/jeecgframework/web/system/pojo/base/TSTimeTaskEntity.java |
85 |
Parameter 'taskId' is not assigned and could be declared final |
| 8249 |
src/org/jeecgframework/web/system/pojo/base/TSTimeTaskEntity.java |
101 |
Parameter 'taskDescribe' is not assigned and could be declared final |
| 8250 |
src/org/jeecgframework/web/system/pojo/base/TSTimeTaskEntity.java |
117 |
Parameter 'cronExpression' is not assigned and could be declared final |
| 8251 |
src/org/jeecgframework/web/system/pojo/base/TSTimeTaskEntity.java |
133 |
Parameter 'isEffect' is not assigned and could be declared final |
| 8252 |
src/org/jeecgframework/web/system/pojo/base/TSType.java |
24 |
Classes implementing Serializable should set a serialVersionUID |
| 8253 |
src/org/jeecgframework/web/system/pojo/base/TSType.java |
26 |
Variables should start with a lowercase character |
| 8254 |
src/org/jeecgframework/web/system/pojo/base/TSType.java |
27 |
Avoid unused private fields such as 'TSType'. |
| 8255 |
src/org/jeecgframework/web/system/pojo/base/TSType.java |
27 |
It is somewhat confusing to have a field name matching the declaring class name |
| 8256 |
src/org/jeecgframework/web/system/pojo/base/TSType.java |
27 |
Variables should start with a lowercase character |
| 8257 |
src/org/jeecgframework/web/system/pojo/base/TSType.java |
31 |
Variables should start with a lowercase character |
| 8258 |
src/org/jeecgframework/web/system/pojo/base/TSType.java |
39 |
Parameter 'TSTypegroup' is not assigned and could be declared final |
| 8259 |
src/org/jeecgframework/web/system/pojo/base/TSType.java |
49 |
Parameter 'TSType' is not assigned and could be declared final |
| 8260 |
src/org/jeecgframework/web/system/pojo/base/TSType.java |
58 |
Parameter 'typename' is not assigned and could be declared final |
| 8261 |
src/org/jeecgframework/web/system/pojo/base/TSType.java |
67 |
Parameter 'typecode' is not assigned and could be declared final |
| 8262 |
src/org/jeecgframework/web/system/pojo/base/TSType.java |
86 |
Parameter 'TSTypes' is not assigned and could be declared final |
| 8263 |
src/org/jeecgframework/web/system/pojo/base/TSTypegroup.java |
23 |
Classes implementing Serializable should set a serialVersionUID |
| 8264 |
src/org/jeecgframework/web/system/pojo/base/TSTypegroup.java |
31 |
Variables should start with a lowercase character |
| 8265 |
src/org/jeecgframework/web/system/pojo/base/TSTypegroup.java |
37 |
Parameter 'typegroupname' is not assigned and could be declared final |
| 8266 |
src/org/jeecgframework/web/system/pojo/base/TSTypegroup.java |
46 |
Parameter 'typegroupcode' is not assigned and could be declared final |
| 8267 |
src/org/jeecgframework/web/system/pojo/base/TSTypegroup.java |
55 |
Parameter 'TSTypes' is not assigned and could be declared final |
| 8268 |
src/org/jeecgframework/web/system/pojo/base/TSUser.java |
28 |
Parameter 'signatureFile' is not assigned and could be declared final |
| 8269 |
src/org/jeecgframework/web/system/pojo/base/TSUser.java |
37 |
Parameter 'mobilePhone' is not assigned and could be declared final |
| 8270 |
src/org/jeecgframework/web/system/pojo/base/TSUser.java |
46 |
Parameter 'officePhone' is not assigned and could be declared final |
| 8271 |
src/org/jeecgframework/web/system/pojo/base/TSUser.java |
55 |
Parameter 'email' is not assigned and could be declared final |
| 8272 |
src/org/jeecgframework/web/system/pojo/base/TSUser.java |
64 |
Parameter 'openid' is not assigned and could be declared final |
| 8273 |
src/org/jeecgframework/web/system/pojo/base/TSVersion.java |
15 |
Classes implementing Serializable should set a serialVersionUID |
| 8274 |
src/org/jeecgframework/web/system/pojo/base/TSVersion.java |
24 |
Parameter 'versionName' is not assigned and could be declared final |
| 8275 |
src/org/jeecgframework/web/system/pojo/base/TSVersion.java |
32 |
Parameter 'versionCode' is not assigned and could be declared final |
| 8276 |
src/org/jeecgframework/web/system/pojo/base/TSVersion.java |
39 |
Parameter 'loginPage' is not assigned and could be declared final |
| 8277 |
src/org/jeecgframework/web/system/pojo/base/TSVersion.java |
46 |
Parameter 'versionNum' is not assigned and could be declared final |
| 8278 |
src/org/jeecgframework/web/system/service/DeclareService.java |
16 |
Avoid modifiers which are implied by the context |
| 8279 |
src/org/jeecgframework/web/system/service/MenuInitService.java |
12 |
Avoid modifiers which are implied by the context |
| 8280 |
src/org/jeecgframework/web/system/service/RepairService.java |
17 |
Avoid modifiers which are implied by the context |
| 8281 |
src/org/jeecgframework/web/system/service/RepairService.java |
24 |
Avoid modifiers which are implied by the context |
| 8282 |
src/org/jeecgframework/web/system/service/SystemService.java |
29 |
Avoid modifiers which are implied by the context |
| 8283 |
src/org/jeecgframework/web/system/service/SystemService.java |
37 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 8284 |
src/org/jeecgframework/web/system/service/SystemService.java |
37 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 8285 |
src/org/jeecgframework/web/system/service/SystemService.java |
37 |
Avoid modifiers which are implied by the context |
| 8286 |
src/org/jeecgframework/web/system/service/SystemService.java |
45 |
Avoid modifiers which are implied by the context |
| 8287 |
src/org/jeecgframework/web/system/service/SystemService.java |
52 |
Avoid modifiers which are implied by the context |
| 8288 |
src/org/jeecgframework/web/system/service/SystemService.java |
59 |
Avoid modifiers which are implied by the context |
| 8289 |
src/org/jeecgframework/web/system/service/SystemService.java |
100 |
Avoid variables with short names like id |
| 8290 |
src/org/jeecgframework/web/system/service/UserService.java |
13 |
Avoid modifiers which are implied by the context |
| 8291 |
src/org/jeecgframework/web/system/service/UserService.java |
14 |
Avoid modifiers which are implied by the context |
| 8292 |
src/org/jeecgframework/web/system/service/UserService.java |
15 |
Avoid modifiers which are implied by the context |
| 8293 |
src/org/jeecgframework/web/system/service/UserService.java |
23 |
Avoid modifiers which are implied by the context |
| 8294 |
src/org/jeecgframework/web/system/service/UserService.java |
23 |
Avoid variables with short names like id |
| 8295 |
src/org/jeecgframework/web/system/service/impl/DeclareServiceImpl.java |
17 |
Parameter 'businessKey' is not assigned and could be declared final |
| 8296 |
src/org/jeecgframework/web/system/service/impl/DeclareServiceImpl.java |
17 |
Parameter 'description' is not assigned and could be declared final |
| 8297 |
src/org/jeecgframework/web/system/service/impl/DeclareServiceImpl.java |
19 |
Local variable 'hql' could be declared final |
| 8298 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
26 |
The class 'MenuInitServiceImpl' has a Cyclomatic Complexity of 26 (Highest = 25). |
| 8299 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
34 |
Avoid really long methods. |
| 8300 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
34 |
The method 'initMenu' has a Cyclomatic Complexity of 25. |
| 8301 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
34 |
The method initMenu() has an NPath complexity of 20648628 |
| 8302 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
45 |
Local variable 'functionList' could be declared final |
| 8303 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
46 |
Local variable 'operationList' could be declared final |
| 8304 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
48 |
Local variable 'functionMap' could be declared final |
| 8305 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
49 |
Local variable 'operationMap' could be declared final |
| 8306 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
53 |
Avoid instantiating new objects inside loops |
| 8307 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
53 |
Local variable 'key' could be declared final |
| 8308 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
63 |
Avoid instantiating new objects inside loops |
| 8309 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
79 |
Avoid instantiating new objects inside loops |
| 8310 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
86 |
Found 'DD'-anomaly for variable 'function' (lines '86'-'111'). |
| 8311 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
86 |
Found 'DD'-anomaly for variable 'function' (lines '86'-'89'). |
| 8312 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
88 |
Avoid if (x != y) ..; else ..; |
| 8313 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
89 |
Avoid instantiating new objects inside loops |
| 8314 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
100 |
Avoid if (x != y) ..; else ..; |
| 8315 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
108 |
Avoid variables with short names like id |
| 8316 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
111 |
Found 'DU'-anomaly for variable 'function' (lines '111'-'162'). |
| 8317 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
122 |
Avoid instantiating new objects inside loops |
| 8318 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
126 |
Found 'DD'-anomaly for variable 'code' (lines '126'-'129'). |
| 8319 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
126 |
Found 'DD'-anomaly for variable 'code' (lines '126'-'131'). |
| 8320 |
src/org/jeecgframework/web/system/service/impl/MenuInitServiceImpl.java |
126 |
Found 'DD'-anomaly for variable 'code' (lines '126'-'133'). |
| 8321 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
38 |
The type has an NCSS line count of 2871 |
| 8322 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
40 |
Avoid really long classes. |
| 8323 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
41 |
This class has too many methods, consider refactoring it. |
| 8324 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
44 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8325 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
96 |
Use block level rather than method level synchronization |
| 8326 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
131 |
Local variable 'task' could be declared final |
| 8327 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
145 |
Avoid really long methods. |
| 8328 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
146 |
Local variable 'order_main' could be declared final |
| 8329 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
147 |
The String literal "jform_order_main" appears 4 times in this file; the first occurrence is on line 147 |
| 8330 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
151 |
The String literal "group" appears 11 times in this file; the first occurrence is on line 151 |
| 8331 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
154 |
The String literal "admin" appears 51 times in this file; the first occurrence is on line 154 |
| 8332 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
156 |
The String literal "UUID" appears 5 times in this file; the first occurrence is on line 156 |
| 8333 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
159 |
The String literal "¹ÜÀíÔ±" appears 49 times in this file; the first occurrence is on line 159 |
| 8334 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
166 |
Local variable 'leave' could be declared final |
| 8335 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
246 |
Local variable 'customer' could be declared final |
| 8336 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
267 |
Local variable 'ticket' could be declared final |
| 8337 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
315 |
Avoid really long methods. |
| 8338 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
315 |
The method repairCgFormField() has an NCSS line count of 1015 |
| 8339 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
319 |
Avoid excessively long variable names like jform_order_main_id |
| 8340 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
344 |
Avoid excessively long variable names like jform_order_main_order_code |
| 8341 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
369 |
Avoid excessively long variable names like jform_order_main_order_date |
| 8342 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
394 |
Avoid excessively long variable names like jform_order_main_order_money |
| 8343 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
419 |
Avoid excessively long variable names like jform_order_main_content |
| 8344 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
1789 |
Avoid really long methods. |
| 8345 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
1789 |
The method repairLog() has an NCSS line count of 904 |
| 8346 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
1796 |
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! |
| 8347 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
1800 |
Do not use the short type |
| 8348 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
1801 |
Do not use the short type |
| 8349 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
1807 |
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! |
| 8350 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
1811 |
Do not use the short type |
| 8351 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
1812 |
Do not use the short type |
| 8352 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
1818 |
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! |
| 8353 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
1822 |
Do not use the short type |
| 8354 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
1829 |
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! |
| 8355 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
1840 |
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! |
| 8356 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
2893 |
Avoid printStackTrace(); use a logger call instead. |
| 8357 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
2968 |
Found 'DU'-anomaly for variable 'admin' (lines '2,968'-'2,993'). |
| 8358 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
2970 |
Found 'DU'-anomaly for variable 'manager' (lines '2,970'-'2,993'). |
| 8359 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
2974 |
Avoid if (x != y) ..; else ..; |
| 8360 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
2975 |
Avoid instantiating new objects inside loops |
| 8361 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
2980 |
Avoid instantiating new objects inside loops |
| 8362 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
2986 |
Avoid instantiating new objects inside loops |
| 8363 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
3000 |
Found 'DU'-anomaly for variable 'admin' (lines '3,000'-'3,018'). |
| 8364 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
3002 |
Found 'DU'-anomaly for variable 'manager' (lines '3,002'-'3,018'). |
| 8365 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
3006 |
Avoid instantiating new objects inside loops |
| 8366 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
3007 |
Avoid instantiating new objects inside loops |
| 8367 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
3119 |
Avoid really long methods. |
| 8368 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
3119 |
The method repairType() has an NCSS line count of 131 |
| 8369 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
3218 |
Avoid variables with short names like no |
| 8370 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
3513 |
Parameter 'iconLabelName' is not assigned and could be declared final |
| 8371 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
3513 |
Parameter 'iconName' is not assigned and could be declared final |
| 8372 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
3530 |
Avoid really long methods. |
| 8373 |
src/org/jeecgframework/web/system/service/impl/RepairServiceImpl.java |
3530 |
The method repairMenu() has an NCSS line count of 350 |
| 8374 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
38 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8375 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
40 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 8376 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
40 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 8377 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
40 |
Parameter 'user' is not assigned and could be declared final |
| 8378 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
44 |
Avoid reassigning parameters such as 'dicText' |
| 8379 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
44 |
Parameter 'dicCode' is not assigned and could be declared final |
| 8380 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
44 |
Parameter 'dicTable' is not assigned and could be declared final |
| 8381 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
45 |
Found 'DD'-anomaly for variable 'dictList' (lines '45'-'48'). |
| 8382 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
45 |
Found 'DD'-anomaly for variable 'dictList' (lines '45'-'51'). |
| 8383 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
59 |
Parameter 'logcontent' is not assigned and could be declared final |
| 8384 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
59 |
Parameter 'loglevel' is not assigned and could be declared final |
| 8385 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
60 |
Local variable 'request' could be declared final |
| 8386 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
61 |
Local variable 'broswer' could be declared final |
| 8387 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
62 |
Local variable 'log' could be declared final |
| 8388 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
113 |
Local variable 'tsTypegroup' could be declared final |
| 8389 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
114 |
Consider simply returning the value vs storing it in local variable 'tsTypegroup' |
| 8390 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
119 |
Local variable 'typeGroups' could be declared final |
| 8391 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
153 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 8392 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
171 |
Avoid instantiating new objects inside loops |
| 8393 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
176 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 8394 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
189 |
Avoid variables with short names like id |
| 8395 |
src/org/jeecgframework/web/system/service/impl/SystemServiceImpl.java |
197 |
Found 'DU'-anomaly for variable 'session' (lines '197'-'205'). |
| 8396 |
src/org/jeecgframework/web/system/service/impl/TimeTaskServiceImpl.java |
12 |
Each class should declare at least one constructor |
| 8397 |
src/org/jeecgframework/web/system/service/impl/UserServiceImpl.java |
23 |
Parameter 'user' is not assigned and could be declared final |
| 8398 |
src/org/jeecgframework/web/system/service/impl/UserServiceImpl.java |
26 |
Parameter 'user' is not assigned and could be declared final |
| 8399 |
src/org/jeecgframework/web/system/service/impl/UserServiceImpl.java |
30 |
Parameter 'newPwd' is not assigned and could be declared final |
| 8400 |
src/org/jeecgframework/web/system/service/impl/UserServiceImpl.java |
30 |
Parameter 'user' is not assigned and could be declared final |
| 8401 |
src/org/jeecgframework/web/system/service/impl/UserServiceImpl.java |
34 |
Avoid variables with short names like id |
| 8402 |
src/org/jeecgframework/web/system/service/impl/UserServiceImpl.java |
34 |
Parameter 'id' is not assigned and could be declared final |
| 8403 |
src/org/jeecgframework/web/system/service/impl/UserServiceImpl.java |
35 |
Local variable 'criteria' could be declared final |
| 8404 |
src/org/jeecgframework/web/system/service/impl/UserServiceImpl.java |
37 |
Local variable 'allCounts' could be declared final |
| 8405 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
8 |
Avoid unused imports such as 'java.io.PrintStream' |
| 8406 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
8 |
Avoid unused imports such as 'java.io.PrintStream' |
| 8407 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
14 |
Avoid unused imports such as 'javax.servlet.http.HttpSession' |
| 8408 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
14 |
Avoid unused imports such as 'javax.servlet.http.HttpSession' |
| 8409 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
19 |
Avoid excessively long variable names like SESSION_KEY_OF_RAND_CODE |
| 8410 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
19 |
Avoid unused private fields such as 'SESSION_KEY_OF_RAND_CODE'. |
| 8411 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
20 |
Avoid unused private fields such as 'count'. |
| 8412 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
20 |
Variables that are final and static should be in all caps. |
| 8413 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
21 |
Avoid unused private fields such as 'width'. |
| 8414 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
21 |
Variables that are final and static should be in all caps. |
| 8415 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
22 |
Avoid unused private fields such as 'height'. |
| 8416 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
22 |
Variables that are final and static should be in all caps. |
| 8417 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
24 |
Parameter 'request' is not assigned and could be declared final |
| 8418 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
24 |
Parameter 'response' is not assigned and could be declared final |
| 8419 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
30 |
Local variable 'name' could be declared final |
| 8420 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
31 |
System.out.print is used |
| 8421 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
32 |
System.out.print is used |
| 8422 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
34 |
Local variable 'image' could be declared final |
| 8423 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
36 |
Local variable 'graphics' could be declared final |
| 8424 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
43 |
Local variable 'resultCode' could be declared final |
| 8425 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
48 |
Avoid instantiating new objects inside loops |
| 8426 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
60 |
Parameter 'request' is not assigned and could be declared final |
| 8427 |
src/org/jeecgframework/web/system/servlet/AwardsImageServlet.java |
60 |
Parameter 'response' is not assigned and could be declared final |
| 8428 |
src/org/jeecgframework/web/system/servlet/RandCodeImageEnum.java |
19 |
Parameter 'charStr' is not assigned and could be declared final |
| 8429 |
src/org/jeecgframework/web/system/servlet/RandCodeImageEnum.java |
24 |
Parameter 'codeLength' is not assigned and could be declared final |
| 8430 |
src/org/jeecgframework/web/system/servlet/RandCodeImageEnum.java |
26 |
Avoid variables with short names like sb |
| 8431 |
src/org/jeecgframework/web/system/servlet/RandCodeImageEnum.java |
26 |
Local variable 'sb' could be declared final |
| 8432 |
src/org/jeecgframework/web/system/servlet/RandCodeImageEnum.java |
27 |
Found 'DU'-anomaly for variable 'random' (lines '27'-'35'). |
| 8433 |
src/org/jeecgframework/web/system/servlet/RandCodeImageEnum.java |
27 |
Local variable 'random' could be declared final |
| 8434 |
src/org/jeecgframework/web/system/servlet/RandCodeImageEnum.java |
28 |
Found 'DU'-anomaly for variable 'sourseStr' (lines '28'-'35'). |
| 8435 |
src/org/jeecgframework/web/system/servlet/RandCodeImageEnum.java |
28 |
Local variable 'sourseStr' could be declared final |
| 8436 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
34 |
Avoid excessively long variable names like SESSION_KEY_OF_RAND_CODE |
| 8437 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
38 |
Variables that are final and static should be in all caps. |
| 8438 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
43 |
Variables that are final and static should be in all caps. |
| 8439 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
47 |
Variables that are final and static should be in all caps. |
| 8440 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
52 |
Variables that are final and static should be in all caps. |
| 8441 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
76 |
Found 'DU'-anomaly for variable 'random' (lines '76'-'111'). |
| 8442 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
81 |
Avoid variables with short names like x |
| 8443 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
82 |
Avoid variables with short names like y |
| 8444 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
83 |
Avoid variables with short names like xl |
| 8445 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
84 |
Avoid variables with short names like yl |
| 8446 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
99 |
Avoid instantiating new objects inside loops |
| 8447 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
125 |
Local variable 'randCodeLength' could be declared final |
| 8448 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
127 |
A method should have only one exit point, and that should be the last statement in the method |
| 8449 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
131 |
A method should have only one exit point, and that should be the last statement in the method |
| 8450 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
133 |
A method should have only one exit point, and that should be the last statement in the method |
| 8451 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
135 |
A method should have only one exit point, and that should be the last statement in the method |
| 8452 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
137 |
A method should have only one exit point, and that should be the last statement in the method |
| 8453 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
157 |
Avoid reassigning parameters such as 'bc' |
| 8454 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
157 |
Avoid reassigning parameters such as 'fc' |
| 8455 |
src/org/jeecgframework/web/system/servlet/RandCodeImageServlet.java |
157 |
Avoid variables with short names like bc |
| 8456 |
src/test/JeecgInitDB.java |
33 |
The class 'JeecgInitDB' has a Cyclomatic Complexity of 6 (Highest = 12). |
| 8457 |
src/test/JeecgInitDB.java |
34 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 8458 |
src/test/JeecgInitDB.java |
39 |
Singleton is not thread safe |
| 8459 |
src/test/JeecgInitDB.java |
46 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 8460 |
src/test/JeecgInitDB.java |
46 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 8461 |
src/test/JeecgInitDB.java |
46 |
Avoid really long methods. |
| 8462 |
src/test/JeecgInitDB.java |
46 |
Parameter 'args' is not assigned and could be declared final |
| 8463 |
src/test/JeecgInitDB.java |
46 |
The method 'main' has a Cyclomatic Complexity of 12. |
| 8464 |
src/test/JeecgInitDB.java |
46 |
The method main() has an NCSS line count of 161 |
| 8465 |
src/test/JeecgInitDB.java |
46 |
The method main() has an NPath complexity of 1025 |
| 8466 |
src/test/JeecgInitDB.java |
47 |
Local variable 'cfg' could be declared final |
| 8467 |
src/test/JeecgInitDB.java |
48 |
Local variable 'sql1' could be declared final |
| 8468 |
src/test/JeecgInitDB.java |
49 |
Local variable 'sql2' could be declared final |
| 8469 |
src/test/JeecgInitDB.java |
50 |
Local variable 'sql3' could be declared final |
| 8470 |
src/test/JeecgInitDB.java |
51 |
Local variable 'sql4' could be declared final |
| 8471 |
src/test/JeecgInitDB.java |
57 |
Found 'DU'-anomaly for variable 'sql10' (lines '57'-'244'). |
| 8472 |
src/test/JeecgInitDB.java |
59 |
Avoid variables with short names like st |
| 8473 |
src/test/JeecgInitDB.java |
59 |
Ensure that resources like this Statement object are closed after use |
| 8474 |
src/test/JeecgInitDB.java |
59 |
Found 'DD'-anomaly for variable 'st' (lines '59'-'66'). |
| 8475 |
src/test/JeecgInitDB.java |
60 |
Avoid variables with short names like rs |
| 8476 |
src/test/JeecgInitDB.java |
60 |
Ensure that resources like this ResultSet object are closed after use |
| 8477 |
src/test/JeecgInitDB.java |
60 |
Found 'DD'-anomaly for variable 'rs' (lines '60'-'67'). |
| 8478 |
src/test/JeecgInitDB.java |
68 |
Avoid variables with short names like i |
| 8479 |
src/test/JeecgInitDB.java |
68 |
Found 'DD'-anomaly for variable 'i' (lines '68'-'85'). |
| 8480 |
src/test/JeecgInitDB.java |
73 |
Avoid instantiating new objects inside loops |
| 8481 |
src/test/JeecgInitDB.java |
74 |
Do not add empty strings |
| 8482 |
src/test/JeecgInitDB.java |
80 |
Found 'DD'-anomaly for variable 'i' (lines '80'-'85'). |
| 8483 |
src/test/JeecgInitDB.java |
85 |
Found 'DD'-anomaly for variable 'i' (lines '85'-'104'). |
| 8484 |
src/test/JeecgInitDB.java |
89 |
Avoid instantiating new objects inside loops |
| 8485 |
src/test/JeecgInitDB.java |
90 |
Do not add empty strings |
| 8486 |
src/test/JeecgInitDB.java |
98 |
Found 'DD'-anomaly for variable 'i' (lines '98'-'104'). |
| 8487 |
src/test/JeecgInitDB.java |
104 |
Found 'DD'-anomaly for variable 'i' (lines '104'-'118'). |
| 8488 |
src/test/JeecgInitDB.java |
107 |
Avoid instantiating new objects inside loops |
| 8489 |
src/test/JeecgInitDB.java |
108 |
Do not add empty strings |
| 8490 |
src/test/JeecgInitDB.java |
112 |
Found 'DD'-anomaly for variable 'i' (lines '112'-'118'). |
| 8491 |
src/test/JeecgInitDB.java |
118 |
Found 'DD'-anomaly for variable 'i' (lines '118'-'133'). |
| 8492 |
src/test/JeecgInitDB.java |
122 |
Avoid instantiating new objects inside loops |
| 8493 |
src/test/JeecgInitDB.java |
123 |
Do not add empty strings |
| 8494 |
src/test/JeecgInitDB.java |
127 |
Found 'DD'-anomaly for variable 'i' (lines '127'-'133'). |
| 8495 |
src/test/JeecgInitDB.java |
133 |
Found 'DD'-anomaly for variable 'i' (lines '133'-'149'). |
| 8496 |
src/test/JeecgInitDB.java |
136 |
Avoid instantiating new objects inside loops |
| 8497 |
src/test/JeecgInitDB.java |
137 |
Do not add empty strings |
| 8498 |
src/test/JeecgInitDB.java |
143 |
Found 'DD'-anomaly for variable 'i' (lines '143'-'149'). |
| 8499 |
src/test/JeecgInitDB.java |
149 |
Found 'DD'-anomaly for variable 'i' (lines '149'-'164'). |
| 8500 |
src/test/JeecgInitDB.java |
158 |
Found 'DD'-anomaly for variable 'i' (lines '158'-'164'). |
| 8501 |
src/test/JeecgInitDB.java |
164 |
Found 'DD'-anomaly for variable 'i' (lines '164'-'180'). |
| 8502 |
src/test/JeecgInitDB.java |
174 |
Found 'DD'-anomaly for variable 'i' (lines '174'-'180'). |
| 8503 |
src/test/JeecgInitDB.java |
180 |
Found 'DD'-anomaly for variable 'i' (lines '180'-'195'). |
| 8504 |
src/test/JeecgInitDB.java |
189 |
Found 'DD'-anomaly for variable 'i' (lines '189'-'195'). |
| 8505 |
src/test/JeecgInitDB.java |
195 |
Found 'DD'-anomaly for variable 'i' (lines '195'-'216'). |
| 8506 |
src/test/JeecgInitDB.java |
210 |
Found 'DD'-anomaly for variable 'i' (lines '210'-'216'). |
| 8507 |
src/test/JeecgInitDB.java |
216 |
Found 'DU'-anomaly for variable 'i' (lines '216'-'244'). |
| 8508 |
src/test/JeecgInitDB.java |
232 |
Found 'DU'-anomaly for variable 'i' (lines '232'-'244'). |
| 8509 |
src/test/JeecgInitDB.java |
242 |
Avoid printStackTrace(); use a logger call instead. |
| 8510 |
src/test/JeecgInitDB.java |
246 |
Parameter 'cgformhead_id' is not assigned and could be declared final |
| 8511 |
src/test/JeecgInitDB.java |
246 |
Parameter 'sql10' is not assigned and could be declared final |
| 8512 |
src/test/JeecgInitDB.java |
247 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 8513 |
src/test/JeecgInitDB.java |
247 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 8514 |
src/test/JeecgInitDB.java |
249 |
Avoid variables with short names like st |
| 8515 |
src/test/JeecgInitDB.java |
249 |
Ensure that resources like this Statement object are closed after use |
| 8516 |
src/test/JeecgInitDB.java |
250 |
Avoid variables with short names like rs |
| 8517 |
src/test/JeecgInitDB.java |
250 |
Ensure that resources like this ResultSet object are closed after use |
| 8518 |
src/test/JeecgInitDB.java |
252 |
Avoid unused local variables such as 'i'. |
| 8519 |
src/test/JeecgInitDB.java |
252 |
Found 'DD'-anomaly for variable 'i' (lines '252'-'276'). |
| 8520 |
src/test/JeecgInitDB.java |
252 |
Found 'DU'-anomaly for variable 'i' (lines '252'-'279'). |
| 8521 |
src/test/JeecgInitDB.java |
276 |
Found 'DD'-anomaly for variable 'i' (lines '276'-'276'). |
| 8522 |
src/test/JeecgInitDB.java |
276 |
Found 'DU'-anomaly for variable 'i' (lines '276'-'279'). |
| 8523 |
src/test/JeecgOneGUI.java |
6 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 8524 |
src/test/JeecgOneGUI.java |
7 |
Parameter 'args' is not assigned and could be declared final |
| 8525 |
src/test/JeecgOneGUI.java |
9 |
Local variable 'codeWindow' could be declared final |
| 8526 |
src/test/JeecgOneToMainUtil.java |
10 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 8527 |
src/test/JeecgOneToMainUtil.java |
11 |
Parameter 'args' is not assigned and could be declared final |
| 8528 |
src/test/JeecgOneToMainUtil.java |
13 |
Local variable 'codeParamEntityIn' could be declared final |
| 8529 |
src/test/JeecgOneToMainUtil.java |
19 |
Local variable 'subTabParamIn' could be declared final |
| 8530 |
src/test/JeecgOneToMainUtil.java |
21 |
Avoid variables with short names like po |
| 8531 |
src/test/JeecgOneToMainUtil.java |
21 |
Local variable 'po' could be declared final |
| 8532 |
src/test/JeecgOneToMainUtil.java |
30 |
Local variable 'po2' could be declared final |
| 8533 |
src/weixin/alipay/config/AlipayConfig.java |
3 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 8534 |
src/weixin/alipay/config/AlipayConfig.java |
8 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 8535 |
src/weixin/alipay/config/AlipayConfig.java |
10 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 8536 |
src/weixin/alipay/config/AlipayConfig.java |
12 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 8537 |
src/weixin/alipay/config/AlipayConfig.java |
22 |
Method names should not contain underscores |
| 8538 |
src/weixin/alipay/core/WeixinPayCoreController.java |
13 |
Avoid unused private fields such as 'logger'. |
| 8539 |
src/weixin/alipay/core/WeixinPayCoreController.java |
13 |
Variables that are final and static should be in all caps. |
| 8540 |
src/weixin/alipay/core/WeixinPayCoreController.java |
17 |
Avoid unused private fields such as 'systemService'. |
| 8541 |
src/weixin/alipay/core/WeixinPayCoreController.java |
24 |
Parameter 'message' is not assigned and could be declared final |
| 8542 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
1 |
Package name contains upper case characters |
| 8543 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
21 |
Avoid unused imports such as 'org.apache.commons.httpclient.params.HttpClientParams' |
| 8544 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
21 |
Avoid unused imports such as 'org.apache.commons.httpclient.params.HttpClientParams' |
| 8545 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
22 |
Avoid unused imports such as 'org.apache.commons.httpclient.params.HttpConnectionManagerParams' |
| 8546 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
22 |
Avoid unused imports such as 'org.apache.commons.httpclient.params.HttpConnectionManagerParams' |
| 8547 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
26 |
A class which only has private constructors should be final |
| 8548 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
26 |
The class 'HttpProtocolHandler' has a Cyclomatic Complexity of 5 (Highest = 13). |
| 8549 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
28 |
The field name indicates a constant but its modifiers do not |
| 8550 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
28 |
Variables should start with a lowercase character |
| 8551 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
28 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 8552 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
30 |
Avoid excessively long variable names like defaultConnectionTimeout |
| 8553 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
30 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8554 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
30 |
Private field 'defaultConnectionTimeout' could be made final; it is only initialized in the declaration or constructor. |
| 8555 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
32 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8556 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
32 |
Private field 'defaultSoTimeout' could be made final; it is only initialized in the declaration or constructor. |
| 8557 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
34 |
Avoid excessively long variable names like defaultIdleConnTimeout |
| 8558 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
34 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8559 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
34 |
Private field 'defaultIdleConnTimeout' could be made final; it is only initialized in the declaration or constructor. |
| 8560 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
36 |
Avoid excessively long variable names like defaultMaxConnPerHost |
| 8561 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8562 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
36 |
Private field 'defaultMaxConnPerHost' could be made final; it is only initialized in the declaration or constructor. |
| 8563 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
38 |
Avoid excessively long variable names like defaultMaxTotalConn |
| 8564 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
38 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8565 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
38 |
Private field 'defaultMaxTotalConn' could be made final; it is only initialized in the declaration or constructor. |
| 8566 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
39 |
Avoid excessively long variable names like defaultHttpConnectionManagerTimeout |
| 8567 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
39 |
Avoid unused private fields such as 'defaultHttpConnectionManagerTimeout'. |
| 8568 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
39 |
Variables that are final and static should be in all caps. |
| 8569 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
41 |
It is somewhat confusing to have a field name matching the declaring class name |
| 8570 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
54 |
Local variable 'ict' could be declared final |
| 8571 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
61 |
Parameter 'request' is not assigned and could be declared final |
| 8572 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
61 |
Parameter 'strFilePath' is not assigned and could be declared final |
| 8573 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
61 |
Parameter 'strParaFileName' is not assigned and could be declared final |
| 8574 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
61 |
The method 'execute' has a Cyclomatic Complexity of 13. |
| 8575 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
61 |
The method execute() has an NPath complexity of 700 |
| 8576 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
64 |
Local variable 'httpclient' could be declared final |
| 8577 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
66 |
Found 'DD'-anomaly for variable 'connectionTimeout' (lines '66'-'68'). |
| 8578 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
72 |
Found 'DD'-anomaly for variable 'soTimeout' (lines '72'-'74'). |
| 8579 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
80 |
Found 'DD'-anomaly for variable 'charset' (lines '80'-'81'). |
| 8580 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
81 |
Prefer StringBuffer over += for concatenating strings |
| 8581 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
81 |
Prefer StringBuffer over += for concatenating strings |
| 8582 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
82 |
Found 'DD'-anomaly for variable 'method' (lines '82'-'85'). |
| 8583 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
82 |
Found 'DD'-anomaly for variable 'method' (lines '82'-'91'). |
| 8584 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
82 |
Found 'DD'-anomaly for variable 'method' (lines '82'-'97'). |
| 8585 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
89 |
Position literals first in String comparisons |
| 8586 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
89 |
Position literals first in String comparisons |
| 8587 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
98 |
Local variable 'parts' could be declared final |
| 8588 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
100 |
Avoid instantiating new objects inside loops |
| 8589 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
105 |
This call to Collection.toArray() may be optimizable |
| 8590 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
109 |
Local variable 'response' could be declared final |
| 8591 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
114 |
Avoid using if...else statements without curly braces |
| 8592 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
121 |
A method should have only one exit point, and that should be the last statement in the method |
| 8593 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
124 |
A method should have only one exit point, and that should be the last statement in the method |
| 8594 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
128 |
Avoid unused local variables such as 'localHttpResponse1'. |
| 8595 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
128 |
Local variable 'localHttpResponse1' could be declared final |
| 8596 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
129 |
A method should have only one exit point, and that should be the last statement in the method |
| 8597 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
136 |
Parameter 'nameValues' is not assigned and could be declared final |
| 8598 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
139 |
A method should have only one exit point, and that should be the last statement in the method |
| 8599 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
148 |
Avoid concatenating nonliterals in a StringBuffer constructor or append(). |
| 8600 |
src/weixin/alipay/httpClient/HttpProtocolHandler.java |
148 |
Avoid using if...else statements without curly braces |
| 8601 |
src/weixin/alipay/httpClient/HttpRequest.java |
1 |
Package name contains upper case characters |
| 8602 |
src/weixin/alipay/httpClient/HttpRequest.java |
25 |
Parameter 'resultType' is not assigned and could be declared final |
| 8603 |
src/weixin/alipay/httpClient/HttpRequest.java |
35 |
Parameter 'clientIp' is not assigned and could be declared final |
| 8604 |
src/weixin/alipay/httpClient/HttpRequest.java |
41 |
Returning 'parameters' may expose an internal array. |
| 8605 |
src/weixin/alipay/httpClient/HttpRequest.java |
44 |
Parameter 'parameters' is not assigned and could be declared final |
| 8606 |
src/weixin/alipay/httpClient/HttpRequest.java |
44 |
The user-supplied array 'parameters' is stored directly. |
| 8607 |
src/weixin/alipay/httpClient/HttpRequest.java |
52 |
Parameter 'queryString' is not assigned and could be declared final |
| 8608 |
src/weixin/alipay/httpClient/HttpRequest.java |
60 |
Parameter 'url' is not assigned and could be declared final |
| 8609 |
src/weixin/alipay/httpClient/HttpResponse.java |
1 |
Package name contains upper case characters |
| 8610 |
src/weixin/alipay/httpClient/HttpResponse.java |
15 |
Returning 'responseHeaders' may expose an internal array. |
| 8611 |
src/weixin/alipay/httpClient/HttpResponse.java |
18 |
Parameter 'responseHeaders' is not assigned and could be declared final |
| 8612 |
src/weixin/alipay/httpClient/HttpResponse.java |
18 |
The user-supplied array 'responseHeaders' is stored directly. |
| 8613 |
src/weixin/alipay/httpClient/HttpResponse.java |
22 |
Return an empty array rather than null. |
| 8614 |
src/weixin/alipay/httpClient/HttpResponse.java |
24 |
A method should have only one exit point, and that should be the last statement in the method |
| 8615 |
src/weixin/alipay/httpClient/HttpResponse.java |
24 |
Returning 'byteResult' may expose an internal array. |
| 8616 |
src/weixin/alipay/httpClient/HttpResponse.java |
27 |
A method should have only one exit point, and that should be the last statement in the method |
| 8617 |
src/weixin/alipay/httpClient/HttpResponse.java |
32 |
Parameter 'byteResult' is not assigned and could be declared final |
| 8618 |
src/weixin/alipay/httpClient/HttpResponse.java |
32 |
The user-supplied array 'byteResult' is stored directly. |
| 8619 |
src/weixin/alipay/httpClient/HttpResponse.java |
38 |
A method should have only one exit point, and that should be the last statement in the method |
| 8620 |
src/weixin/alipay/httpClient/HttpResponse.java |
41 |
A method should have only one exit point, and that should be the last statement in the method |
| 8621 |
src/weixin/alipay/httpClient/HttpResponse.java |
46 |
Parameter 'stringResult' is not assigned and could be declared final |
| 8622 |
src/weixin/alipay/httpClient/HttpResultType.java |
1 |
Package name contains upper case characters |
| 8623 |
src/weixin/alipay/sign/MD5.java |
7 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 8624 |
src/weixin/alipay/sign/MD5.java |
8 |
Avoid reassigning parameters such as 'text' |
| 8625 |
src/weixin/alipay/sign/MD5.java |
8 |
Parameter 'input_charset' is not assigned and could be declared final |
| 8626 |
src/weixin/alipay/sign/MD5.java |
8 |
Parameter 'key' is not assigned and could be declared final |
| 8627 |
src/weixin/alipay/sign/MD5.java |
14 |
Avoid reassigning parameters such as 'text' |
| 8628 |
src/weixin/alipay/sign/MD5.java |
14 |
Parameter 'input_charset' is not assigned and could be declared final |
| 8629 |
src/weixin/alipay/sign/MD5.java |
14 |
Parameter 'key' is not assigned and could be declared final |
| 8630 |
src/weixin/alipay/sign/MD5.java |
14 |
Parameter 'sign' is not assigned and could be declared final |
| 8631 |
src/weixin/alipay/sign/MD5.java |
17 |
Local variable 'mysign' could be declared final |
| 8632 |
src/weixin/alipay/sign/MD5.java |
19 |
A method should have only one exit point, and that should be the last statement in the method |
| 8633 |
src/weixin/alipay/sign/MD5.java |
27 |
Avoid using if statements without curly braces |
| 8634 |
src/weixin/alipay/sign/MD5.java |
28 |
A method should have only one exit point, and that should be the last statement in the method |
| 8635 |
src/weixin/alipay/sign/MD5.java |
31 |
Avoid empty catch blocks |
| 8636 |
src/weixin/alipay/sign/MD5.java |
33 |
Avoid throwing raw exception types. |
| 8637 |
src/weixin/alipay/util/AlipayCore.java |
17 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 8638 |
src/weixin/alipay/util/AlipayCore.java |
18 |
Parameter 'sArray' is not assigned and could be declared final |
| 8639 |
src/weixin/alipay/util/AlipayCore.java |
20 |
Local variable 'result' could be declared final |
| 8640 |
src/weixin/alipay/util/AlipayCore.java |
23 |
A method should have only one exit point, and that should be the last statement in the method |
| 8641 |
src/weixin/alipay/util/AlipayCore.java |
27 |
Local variable 'value' could be declared final |
| 8642 |
src/weixin/alipay/util/AlipayCore.java |
36 |
Parameter 'params' is not assigned and could be declared final |
| 8643 |
src/weixin/alipay/util/AlipayCore.java |
38 |
Local variable 'keys' could be declared final |
| 8644 |
src/weixin/alipay/util/AlipayCore.java |
41 |
Found 'DD'-anomaly for variable 'prestr' (lines '41'-'48'). |
| 8645 |
src/weixin/alipay/util/AlipayCore.java |
41 |
Found 'DD'-anomaly for variable 'prestr' (lines '41'-'50'). |
| 8646 |
src/weixin/alipay/util/AlipayCore.java |
44 |
Local variable 'key' could be declared final |
| 8647 |
src/weixin/alipay/util/AlipayCore.java |
45 |
Local variable 'value' could be declared final |
| 8648 |
src/weixin/alipay/util/AlipayCore.java |
48 |
Avoid using if...else statements without curly braces |
| 8649 |
src/weixin/alipay/util/AlipayCore.java |
48 |
Prefer StringBuffer over += for concatenating strings |
| 8650 |
src/weixin/alipay/util/AlipayCore.java |
50 |
Prefer StringBuffer over += for concatenating strings |
| 8651 |
src/weixin/alipay/util/AlipayCore.java |
57 |
Parameter 'sWord' is not assigned and could be declared final |
| 8652 |
src/weixin/alipay/util/AlipayCore.java |
59 |
Found 'DD'-anomaly for variable 'writer' (lines '59'-'61'). |
| 8653 |
src/weixin/alipay/util/AlipayCore.java |
64 |
Avoid printStackTrace(); use a logger call instead. |
| 8654 |
src/weixin/alipay/util/AlipayCore.java |
66 |
Avoid using if statements without curly braces |
| 8655 |
src/weixin/alipay/util/AlipayCore.java |
70 |
Avoid printStackTrace(); use a logger call instead. |
| 8656 |
src/weixin/alipay/util/AlipayCore.java |
75 |
Parameter 'file_digest_type' is not assigned and could be declared final |
| 8657 |
src/weixin/alipay/util/AlipayCore.java |
75 |
Parameter 'strFilePath' is not assigned and could be declared final |
| 8658 |
src/weixin/alipay/util/AlipayCore.java |
78 |
Found 'DU'-anomaly for variable 'file' (lines '78'-'87'). |
| 8659 |
src/weixin/alipay/util/AlipayCore.java |
79 |
Position literals first in String comparisons |
| 8660 |
src/weixin/alipay/util/AlipayCore.java |
80 |
A method should have only one exit point, and that should be the last statement in the method |
| 8661 |
src/weixin/alipay/util/AlipayCore.java |
82 |
Position literals first in String comparisons |
| 8662 |
src/weixin/alipay/util/AlipayCore.java |
83 |
A method should have only one exit point, and that should be the last statement in the method |
| 8663 |
src/weixin/alipay/util/AlipayNotify.java |
12 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 8664 |
src/weixin/alipay/util/AlipayNotify.java |
13 |
Avoid unused private fields such as 'HTTPS_VERIFY_URL'. |
| 8665 |
src/weixin/alipay/util/AlipayNotify.java |
15 |
Parameter 'params' is not assigned and could be declared final |
| 8666 |
src/weixin/alipay/util/AlipayNotify.java |
17 |
Found 'DD'-anomaly for variable 'responseTxt' (lines '17'-'20'). |
| 8667 |
src/weixin/alipay/util/AlipayNotify.java |
19 |
Local variable 'notify_id' could be declared final |
| 8668 |
src/weixin/alipay/util/AlipayNotify.java |
22 |
Found 'DD'-anomaly for variable 'sign' (lines '22'-'23'). |
| 8669 |
src/weixin/alipay/util/AlipayNotify.java |
23 |
Avoid using if statements without curly braces |
| 8670 |
src/weixin/alipay/util/AlipayNotify.java |
24 |
Local variable 'isSign' could be declared final |
| 8671 |
src/weixin/alipay/util/AlipayNotify.java |
26 |
Position literals first in String comparisons |
| 8672 |
src/weixin/alipay/util/AlipayNotify.java |
27 |
A method should have only one exit point, and that should be the last statement in the method |
| 8673 |
src/weixin/alipay/util/AlipayNotify.java |
32 |
Parameter 'Params' is not assigned and could be declared final |
| 8674 |
src/weixin/alipay/util/AlipayNotify.java |
32 |
Parameter 'sign' is not assigned and could be declared final |
| 8675 |
src/weixin/alipay/util/AlipayNotify.java |
34 |
Local variable 'sParaNew' could be declared final |
| 8676 |
src/weixin/alipay/util/AlipayNotify.java |
36 |
Found 'DU'-anomaly for variable 'preSignStr' (lines '36'-'43'). |
| 8677 |
src/weixin/alipay/util/AlipayNotify.java |
36 |
Local variable 'preSignStr' could be declared final |
| 8678 |
src/weixin/alipay/util/AlipayNotify.java |
38 |
Found 'DD'-anomaly for variable 'isSign' (lines '38'-'40'). |
| 8679 |
src/weixin/alipay/util/AlipayNotify.java |
39 |
Position literals first in String comparisons |
| 8680 |
src/weixin/alipay/util/AlipayNotify.java |
45 |
Parameter 'notify_id' is not assigned and could be declared final |
| 8681 |
src/weixin/alipay/util/AlipayNotify.java |
47 |
Local variable 'partner' could be declared final |
| 8682 |
src/weixin/alipay/util/AlipayNotify.java |
53 |
Parameter 'urlvalue' is not assigned and could be declared final |
| 8683 |
src/weixin/alipay/util/AlipayNotify.java |
55 |
Found 'DD'-anomaly for variable 'inputLine' (lines '55'-'62'). |
| 8684 |
src/weixin/alipay/util/AlipayNotify.java |
60 |
Avoid variables with short names like in |
| 8685 |
src/weixin/alipay/util/AlipayNotify.java |
62 |
Found 'DD'-anomaly for variable 'inputLine' (lines '62'-'65'). |
| 8686 |
src/weixin/alipay/util/AlipayNotify.java |
64 |
Avoid printStackTrace(); use a logger call instead. |
| 8687 |
src/weixin/alipay/util/AlipaySubmit.java |
22 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 8688 |
src/weixin/alipay/util/AlipaySubmit.java |
23 |
Avoid excessively long variable names like ALIPAY_GATEWAY_NEW |
| 8689 |
src/weixin/alipay/util/AlipaySubmit.java |
23 |
Avoid unused private fields such as 'ALIPAY_GATEWAY_NEW'. |
| 8690 |
src/weixin/alipay/util/AlipaySubmit.java |
25 |
Parameter 'sPara' is not assigned and could be declared final |
| 8691 |
src/weixin/alipay/util/AlipaySubmit.java |
26 |
Found 'DU'-anomaly for variable 'prestr' (lines '26'-'33'). |
| 8692 |
src/weixin/alipay/util/AlipaySubmit.java |
26 |
Local variable 'prestr' could be declared final |
| 8693 |
src/weixin/alipay/util/AlipaySubmit.java |
27 |
Found 'DD'-anomaly for variable 'mysign' (lines '27'-'29'). |
| 8694 |
src/weixin/alipay/util/AlipaySubmit.java |
28 |
Position literals first in String comparisons |
| 8695 |
src/weixin/alipay/util/AlipaySubmit.java |
36 |
Parameter 'sParaTemp' is not assigned and could be declared final |
| 8696 |
src/weixin/alipay/util/AlipaySubmit.java |
37 |
Local variable 'sPara' could be declared final |
| 8697 |
src/weixin/alipay/util/AlipaySubmit.java |
39 |
Local variable 'mysign' could be declared final |
| 8698 |
src/weixin/alipay/util/AlipaySubmit.java |
47 |
Parameter 'sParaTemp' is not assigned and could be declared final |
| 8699 |
src/weixin/alipay/util/AlipaySubmit.java |
48 |
Parameter 'strButtonName' is not assigned and could be declared final |
| 8700 |
src/weixin/alipay/util/AlipaySubmit.java |
48 |
Parameter 'strMethod' is not assigned and could be declared final |
| 8701 |
src/weixin/alipay/util/AlipaySubmit.java |
49 |
Local variable 'sPara' could be declared final |
| 8702 |
src/weixin/alipay/util/AlipaySubmit.java |
50 |
Local variable 'keys' could be declared final |
| 8703 |
src/weixin/alipay/util/AlipaySubmit.java |
52 |
StringBuffer constructor is initialized with size 16, but has at least 289 characters appended. |
| 8704 |
src/weixin/alipay/util/AlipaySubmit.java |
68 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 8705 |
src/weixin/alipay/util/AlipaySubmit.java |
80 |
StringBuffer constructor is initialized with size 16, but has at least 298 characters appended. |
| 8706 |
src/weixin/alipay/util/AlipaySubmit.java |
96 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 8707 |
src/weixin/alipay/util/AlipaySubmit.java |
106 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 8708 |
src/weixin/alipay/util/AlipaySubmit.java |
106 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 8709 |
src/weixin/alipay/util/AlipaySubmit.java |
109 |
Avoid excessively long variable names like httpProtocolHandler |
| 8710 |
src/weixin/alipay/util/AlipaySubmit.java |
123 |
A method should have only one exit point, and that should be the last statement in the method |
| 8711 |
src/weixin/alipay/util/AlipaySubmit.java |
133 |
Found 'DD'-anomaly for variable 'nameValuePair' (lines '133'-'136'). |
| 8712 |
src/weixin/alipay/util/AlipaySubmit.java |
134 |
Avoid variables with short names like i |
| 8713 |
src/weixin/alipay/util/AlipaySubmit.java |
134 |
Found 'DU'-anomaly for variable 'i' (lines '134'-'141'). |
| 8714 |
src/weixin/alipay/util/AlipaySubmit.java |
136 |
Avoid instantiating new objects inside loops |
| 8715 |
src/weixin/alipay/util/AlipaySubmit.java |
136 |
Found 'DD'-anomaly for variable 'nameValuePair' (lines '136'-'136'). |
| 8716 |
src/weixin/alipay/util/AlipaySubmit.java |
143 |
Method names should not contain underscores |
| 8717 |
src/weixin/alipay/util/GoPay.java |
9 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 8718 |
src/weixin/alipay/util/GoPay.java |
10 |
Parameter 'payParamsVo' is not assigned and could be declared final |
| 8719 |
src/weixin/alipay/util/GoPay.java |
12 |
Local variable 'payment_type' could be declared final |
| 8720 |
src/weixin/alipay/util/GoPay.java |
14 |
Local variable 'notify_url' could be declared final |
| 8721 |
src/weixin/alipay/util/GoPay.java |
16 |
Local variable 'return_url' could be declared final |
| 8722 |
src/weixin/alipay/util/GoPay.java |
18 |
Local variable 'seller_email' could be declared final |
| 8723 |
src/weixin/alipay/util/GoPay.java |
20 |
Local variable 'out_trade_no' could be declared final |
| 8724 |
src/weixin/alipay/util/GoPay.java |
72 |
Consider simply returning the value vs storing it in local variable 'sHtmlText' |
| 8725 |
src/weixin/alipay/util/UtilDate.java |
9 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 8726 |
src/weixin/alipay/util/UtilDate.java |
10 |
Variables that are final and static should be in all caps. |
| 8727 |
src/weixin/alipay/util/UtilDate.java |
11 |
Variables that are final and static should be in all caps. |
| 8728 |
src/weixin/alipay/util/UtilDate.java |
12 |
Variables that are final and static should be in all caps. |
| 8729 |
src/weixin/alipay/util/UtilDate.java |
16 |
Local variable 'date' could be declared final |
| 8730 |
src/weixin/alipay/util/UtilDate.java |
17 |
Avoid variables with short names like df |
| 8731 |
src/weixin/alipay/util/UtilDate.java |
17 |
Local variable 'df' could be declared final |
| 8732 |
src/weixin/alipay/util/UtilDate.java |
17 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 8733 |
src/weixin/alipay/util/UtilDate.java |
23 |
Local variable 'date' could be declared final |
| 8734 |
src/weixin/alipay/util/UtilDate.java |
24 |
Avoid variables with short names like df |
| 8735 |
src/weixin/alipay/util/UtilDate.java |
24 |
Local variable 'df' could be declared final |
| 8736 |
src/weixin/alipay/util/UtilDate.java |
24 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 8737 |
src/weixin/alipay/util/UtilDate.java |
30 |
Local variable 'date' could be declared final |
| 8738 |
src/weixin/alipay/util/UtilDate.java |
31 |
Avoid variables with short names like df |
| 8739 |
src/weixin/alipay/util/UtilDate.java |
31 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 8740 |
src/weixin/alipay/util/UtilDate.java |
38 |
Do not add empty strings |
| 8741 |
src/weixin/alipay/vo/PayParamsVo.java |
4 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8742 |
src/weixin/alipay/vo/PayParamsVo.java |
4 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 8743 |
src/weixin/alipay/vo/PayParamsVo.java |
5 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8744 |
src/weixin/alipay/vo/PayParamsVo.java |
5 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 8745 |
src/weixin/alipay/vo/PayParamsVo.java |
6 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8746 |
src/weixin/alipay/vo/PayParamsVo.java |
7 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8747 |
src/weixin/alipay/vo/PayParamsVo.java |
8 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8748 |
src/weixin/alipay/vo/PayParamsVo.java |
8 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 8749 |
src/weixin/alipay/vo/PayParamsVo.java |
9 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 8750 |
src/weixin/alipay/vo/PayParamsVo.java |
10 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 8751 |
src/weixin/alipay/vo/PayParamsVo.java |
18 |
Avoid unused private fields such as 'goodsCount'. |
| 8752 |
src/weixin/alipay/vo/PayParamsVo.java |
18 |
Perhaps 'goodsCount' could be replaced by a local variable. |
| 8753 |
src/weixin/alipay/vo/PayParamsVo.java |
18 |
Private field 'goodsCount' could be made final; it is only initialized in the declaration or constructor. |
| 8754 |
src/weixin/alipay/vo/PayParamsVo.java |
20 |
Avoid really long parameter lists. |
| 8755 |
src/weixin/alipay/vo/PayParamsVo.java |
20 |
Parameter 'out_trade_no' is not assigned and could be declared final |
| 8756 |
src/weixin/alipay/vo/PayParamsVo.java |
20 |
Parameter 'seller_email' is not assigned and could be declared final |
| 8757 |
src/weixin/alipay/vo/PayParamsVo.java |
21 |
Parameter 'logistics_fee' is not assigned and could be declared final |
| 8758 |
src/weixin/alipay/vo/PayParamsVo.java |
21 |
Parameter 'price' is not assigned and could be declared final |
| 8759 |
src/weixin/alipay/vo/PayParamsVo.java |
21 |
Parameter 'subject' is not assigned and could be declared final |
| 8760 |
src/weixin/bbs/bbsdata/DataCollectI.java |
7 |
Avoid modifiers which are implied by the context |
| 8761 |
src/weixin/bbs/bbsdata/impl/BbsAddPostDataCollect.java |
11 |
Parameter 'params' is not assigned and could be declared final |
| 8762 |
src/weixin/bbs/bbsdata/impl/BbsAddPostDataCollect.java |
13 |
Local variable 'res' could be declared final |
| 8763 |
src/weixin/bbs/bbsdata/impl/BbsIndexDataCollect.java |
17 |
Parameter 'params' is not assigned and could be declared final |
| 8764 |
src/weixin/bbs/bbsdata/impl/BbsIndexDataCollect.java |
19 |
Local variable 'bbsPostService' could be declared final |
| 8765 |
src/weixin/bbs/bbsdata/impl/BbsIndexDataCollect.java |
20 |
Avoid variables with short names like cq |
| 8766 |
src/weixin/bbs/bbsdata/impl/BbsIndexDataCollect.java |
20 |
Local variable 'cq' could be declared final |
| 8767 |
src/weixin/bbs/bbsdata/impl/BbsIndexDataCollect.java |
23 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 8768 |
src/weixin/bbs/bbsdata/impl/BbsIndexDataCollect.java |
23 |
Local variable 'bbsPosts' could be declared final |
| 8769 |
src/weixin/bbs/bbsdata/impl/BbsIndexDataCollect.java |
27 |
Local variable 'res' could be declared final |
| 8770 |
src/weixin/bbs/bbsdata/impl/BbsPostCommentCollect.java |
11 |
Parameter 'params' is not assigned and could be declared final |
| 8771 |
src/weixin/bbs/bbsdata/impl/BbsPostCommentCollect.java |
14 |
Local variable 'res' could be declared final |
| 8772 |
src/weixin/bbs/bbsdata/impl/BbsPostDataCollect.java |
13 |
Parameter 'params' is not assigned and could be declared final |
| 8773 |
src/weixin/bbs/bbsdata/impl/BbsPostDataCollect.java |
14 |
Local variable 'bbsPostService' could be declared final |
| 8774 |
src/weixin/bbs/bbsdata/impl/BbsPostDataCollect.java |
16 |
Avoid variables with short names like cq |
| 8775 |
src/weixin/bbs/bbsdata/impl/BbsPostDataCollect.java |
16 |
Local variable 'cq' could be declared final |
| 8776 |
src/weixin/bbs/bbsdata/impl/BbsPostDataCollect.java |
18 |
Local variable 'post' could be declared final |
| 8777 |
src/weixin/bbs/bbsdata/impl/BbsPostDataCollect.java |
23 |
Local variable 'res' could be declared final |
| 8778 |
src/weixin/bbs/common/BbsConstant.java |
3 |
An Interface should be used only to model a behaviour; consider converting this to a class. |
| 8779 |
src/weixin/bbs/common/BbsConstant.java |
3 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 8780 |
src/weixin/bbs/common/BbsConstant.java |
3 |
This abstract class does not have any abstract methods |
| 8781 |
src/weixin/bbs/common/BbsConstant.java |
5 |
Avoid modifiers which are implied by the context |
| 8782 |
src/weixin/bbs/common/BbsConstant.java |
6 |
Avoid modifiers which are implied by the context |
| 8783 |
src/weixin/bbs/common/BbsConstant.java |
7 |
Avoid modifiers which are implied by the context |
| 8784 |
src/weixin/bbs/common/BbsConstant.java |
8 |
Avoid modifiers which are implied by the context |
| 8785 |
src/weixin/bbs/common/BbsConstant.java |
9 |
Avoid modifiers which are implied by the context |
| 8786 |
src/weixin/bbs/common/BbsConstant.java |
10 |
Avoid excessively long variable names like BBS_DEFAULT_TEMPLATE |
| 8787 |
src/weixin/bbs/common/BbsConstant.java |
14 |
Avoid excessively long variable names like BBS_PAGE_ADD_COMMENT |
| 8788 |
src/weixin/bbs/common/BbsConstant.java |
18 |
Avoid excessively long variable names like BBS_DATA_LIST_POST |
| 8789 |
src/weixin/bbs/common/BbsDataContent.java |
6 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 8790 |
src/weixin/bbs/common/BbsDataContent.java |
8 |
Variables that are final and static should be in all caps. |
| 8791 |
src/weixin/bbs/common/BbsDataContent.java |
9 |
Variables that are final and static should be in all caps. |
| 8792 |
src/weixin/bbs/common/BbsDataContent.java |
11 |
Parameter 'key' is not assigned and could be declared final |
| 8793 |
src/weixin/bbs/common/BbsDataContent.java |
11 |
Parameter 'object' is not assigned and could be declared final |
| 8794 |
src/weixin/bbs/common/BbsDataContent.java |
15 |
Parameter 'key' is not assigned and could be declared final |
| 8795 |
src/weixin/bbs/controller/BbsController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 8796 |
src/weixin/bbs/controller/BbsController.java |
51 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8797 |
src/weixin/bbs/controller/BbsController.java |
54 |
Avoid excessively long variable names like weixinCmsSiteService |
| 8798 |
src/weixin/bbs/controller/BbsController.java |
54 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8799 |
src/weixin/bbs/controller/BbsController.java |
57 |
Avoid excessively long variable names like weixinCmsStyleService |
| 8800 |
src/weixin/bbs/controller/BbsController.java |
57 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8801 |
src/weixin/bbs/controller/BbsController.java |
60 |
Avoid excessively long variable names like weixinBbsPostService |
| 8802 |
src/weixin/bbs/controller/BbsController.java |
60 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8803 |
src/weixin/bbs/controller/BbsController.java |
63 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8804 |
src/weixin/bbs/controller/BbsController.java |
66 |
Avoid excessively long variable names like weixinPhotoAlbumService |
| 8805 |
src/weixin/bbs/controller/BbsController.java |
68 |
Avoid excessively long variable names like dataCollectContent |
| 8806 |
src/weixin/bbs/controller/BbsController.java |
74 |
Parameter 'message' is not assigned and could be declared final |
| 8807 |
src/weixin/bbs/controller/BbsController.java |
78 |
Avoid unused method parameters such as 'page'. |
| 8808 |
src/weixin/bbs/controller/BbsController.java |
78 |
Parameter 'page' is not assigned and could be declared final |
| 8809 |
src/weixin/bbs/controller/BbsController.java |
78 |
Parameter 'request' is not assigned and could be declared final |
| 8810 |
src/weixin/bbs/controller/BbsController.java |
79 |
Found 'DD'-anomaly for variable 'rootUrl' (lines '79'-'80'). |
| 8811 |
src/weixin/bbs/controller/BbsController.java |
86 |
Parameter 'request' is not assigned and could be declared final |
| 8812 |
src/weixin/bbs/controller/BbsController.java |
87 |
Parameter 'page' is not assigned and could be declared final |
| 8813 |
src/weixin/bbs/controller/BbsController.java |
88 |
Local variable 'params' could be declared final |
| 8814 |
src/weixin/bbs/controller/BbsController.java |
90 |
Local variable 'rootUrl' could be declared final |
| 8815 |
src/weixin/bbs/controller/BbsController.java |
91 |
Found 'DD'-anomaly for variable 'styleUrl' (lines '91'-'110'). |
| 8816 |
src/weixin/bbs/controller/BbsController.java |
91 |
Found 'DD'-anomaly for variable 'styleUrl' (lines '91'-'115'). |
| 8817 |
src/weixin/bbs/controller/BbsController.java |
91 |
Found 'DD'-anomaly for variable 'styleUrl' (lines '91'-'119'). |
| 8818 |
src/weixin/bbs/controller/BbsController.java |
93 |
Local variable 'weixinBbsEntity' could be declared final |
| 8819 |
src/weixin/bbs/controller/BbsController.java |
94 |
The String literal "accountid" appears 5 times in this file; the first occurrence is on line 94 |
| 8820 |
src/weixin/bbs/controller/BbsController.java |
97 |
Found 'DD'-anomaly for variable 'weixinCmsStyleEntity' (lines '97'-'103'). |
| 8821 |
src/weixin/bbs/controller/BbsController.java |
97 |
Found 'DU'-anomaly for variable 'weixinCmsStyleEntity' (lines '97'-'147'). |
| 8822 |
src/weixin/bbs/controller/BbsController.java |
99 |
Found 'DD'-anomaly for variable 'templateName' (lines '99'-'108'). |
| 8823 |
src/weixin/bbs/controller/BbsController.java |
99 |
Found 'DD'-anomaly for variable 'templateName' (lines '99'-'114'). |
| 8824 |
src/weixin/bbs/controller/BbsController.java |
99 |
Found 'DD'-anomaly for variable 'templateName' (lines '99'-'118'). |
| 8825 |
src/weixin/bbs/controller/BbsController.java |
101 |
Avoid if (x != y) ..; else ..; |
| 8826 |
src/weixin/bbs/controller/BbsController.java |
107 |
Avoid if (x != y) ..; else ..; |
| 8827 |
src/weixin/bbs/controller/BbsController.java |
123 |
Local variable 'cmsFreemarkerHelper' could be declared final |
| 8828 |
src/weixin/bbs/controller/BbsController.java |
127 |
Local variable 'bbsDataCollect' could be declared final |
| 8829 |
src/weixin/bbs/controller/BbsController.java |
136 |
Found 'DD'-anomaly for variable 'writer' (lines '136'-'138'). |
| 8830 |
src/weixin/bbs/controller/BbsController.java |
142 |
Avoid printStackTrace(); use a logger call instead. |
| 8831 |
src/weixin/bbs/controller/BbsController.java |
144 |
Avoid using if statements without curly braces |
| 8832 |
src/weixin/bbs/controller/BbsController.java |
165 |
Avoid variables with short names like j |
| 8833 |
src/weixin/bbs/controller/BbsController.java |
166 |
Avoid unused local variables such as 'postId'. |
| 8834 |
src/weixin/bbs/controller/BbsController.java |
166 |
Found 'DD'-anomaly for variable 'postId' (lines '166'-'174'). |
| 8835 |
src/weixin/bbs/controller/BbsController.java |
166 |
Found 'DD'-anomaly for variable 'postId' (lines '166'-'195'). |
| 8836 |
src/weixin/bbs/controller/BbsController.java |
166 |
Found 'DU'-anomaly for variable 'postId' (lines '166'-'202'). |
| 8837 |
src/weixin/bbs/controller/BbsController.java |
167 |
Found 'DU'-anomaly for variable 'fileId' (lines '167'-'202'). |
| 8838 |
src/weixin/bbs/controller/BbsController.java |
170 |
Avoid variables with short names like t |
| 8839 |
src/weixin/bbs/controller/BbsController.java |
174 |
Found 'DU'-anomaly for variable 'postId' (lines '174'-'202'). |
| 8840 |
src/weixin/bbs/controller/BbsController.java |
179 |
Avoid printStackTrace(); use a logger call instead. |
| 8841 |
src/weixin/bbs/controller/BbsController.java |
188 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 8842 |
src/weixin/bbs/controller/BbsController.java |
195 |
Found 'DU'-anomaly for variable 'postId' (lines '195'-'202'). |
| 8843 |
src/weixin/bbs/controller/BbsController.java |
207 |
Avoid variables with short names like em |
| 8844 |
src/weixin/bbs/controller/BbsController.java |
224 |
Avoid variables with short names like j |
| 8845 |
src/weixin/bbs/controller/BbsController.java |
239 |
Avoid reassigning parameters such as 'postImg' |
| 8846 |
src/weixin/bbs/controller/BbsController.java |
239 |
Avoid reassigning parameters such as 'postImg' |
| 8847 |
src/weixin/bbs/controller/BbsController.java |
240 |
Avoid variables with short names like j |
| 8848 |
src/weixin/bbs/controller/BbsController.java |
273 |
Avoid reassigning parameters such as 'postImg' |
| 8849 |
src/weixin/bbs/controller/WeixinBbsController.java |
31 |
Avoid unused private fields such as 'logger'. |
| 8850 |
src/weixin/bbs/controller/WeixinBbsController.java |
31 |
Variables that are final and static should be in all caps. |
| 8851 |
src/weixin/bbs/controller/WeixinBbsController.java |
34 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8852 |
src/weixin/bbs/controller/WeixinBbsController.java |
37 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8853 |
src/weixin/bbs/controller/WeixinBbsController.java |
42 |
Parameter 'message' is not assigned and could be declared final |
| 8854 |
src/weixin/bbs/controller/WeixinBbsController.java |
48 |
Parameter 'request' is not assigned and could be declared final |
| 8855 |
src/weixin/bbs/controller/WeixinBbsController.java |
54 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 8856 |
src/weixin/bbs/controller/WeixinBbsController.java |
54 |
Parameter 'request' is not assigned and could be declared final |
| 8857 |
src/weixin/bbs/controller/WeixinBbsController.java |
54 |
Parameter 'response' is not assigned and could be declared final |
| 8858 |
src/weixin/bbs/controller/WeixinBbsController.java |
56 |
Avoid variables with short names like cq |
| 8859 |
src/weixin/bbs/controller/WeixinBbsController.java |
56 |
Local variable 'cq' could be declared final |
| 8860 |
src/weixin/bbs/controller/WeixinBbsController.java |
66 |
Avoid reassigning parameters such as 'weixinCommunity' |
| 8861 |
src/weixin/bbs/controller/WeixinBbsController.java |
68 |
Avoid variables with short names like j |
| 8862 |
src/weixin/bbs/controller/WeixinBbsController.java |
68 |
Local variable 'j' could be declared final |
| 8863 |
src/weixin/bbs/controller/WeixinBbsController.java |
82 |
Avoid variables with short names like j |
| 8864 |
src/weixin/bbs/controller/WeixinBbsController.java |
82 |
Local variable 'j' could be declared final |
| 8865 |
src/weixin/bbs/controller/WeixinBbsController.java |
85 |
Avoid variables with short names like t |
| 8866 |
src/weixin/bbs/controller/WeixinBbsController.java |
85 |
Local variable 't' could be declared final |
| 8867 |
src/weixin/bbs/controller/WeixinBbsController.java |
91 |
Avoid printStackTrace(); use a logger call instead. |
| 8868 |
src/weixin/bbs/controller/WeixinBbsController.java |
96 |
Local variable 'accountId' could be declared final |
| 8869 |
src/weixin/bbs/controller/WeixinBbsController.java |
106 |
Avoid reassigning parameters such as 'weixinBbs' |
| 8870 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 8871 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
40 |
This class has too many methods, consider refactoring it. |
| 8872 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
41 |
Avoid unused private fields such as 'logger'. |
| 8873 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
41 |
Variables that are final and static should be in all caps. |
| 8874 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
44 |
Avoid excessively long variable names like weixinPhotoAlbumService |
| 8875 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
44 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8876 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
47 |
Avoid excessively long variable names like weixinBbsPostService |
| 8877 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
47 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8878 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
50 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 8879 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
55 |
Parameter 'message' is not assigned and could be declared final |
| 8880 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
61 |
Parameter 'request' is not assigned and could be declared final |
| 8881 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
67 |
Parameter 'request' is not assigned and could be declared final |
| 8882 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
69 |
Local variable 'uuid' could be declared final |
| 8883 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
75 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 8884 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
75 |
Parameter 'request' is not assigned and could be declared final |
| 8885 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
77 |
Avoid variables with short names like cq |
| 8886 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
77 |
Local variable 'cq' could be declared final |
| 8887 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
86 |
Avoid reassigning parameters such as 'weixinBbsPost' |
| 8888 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
88 |
Avoid variables with short names like j |
| 8889 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
88 |
Local variable 'j' could be declared final |
| 8890 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
102 |
Avoid variables with short names like j |
| 8891 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
102 |
Local variable 'j' could be declared final |
| 8892 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
103 |
Found 'DD'-anomaly for variable 'postId' (lines '103'-'109'). |
| 8893 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
103 |
Found 'DD'-anomaly for variable 'postId' (lines '103'-'127'). |
| 8894 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
106 |
Avoid variables with short names like t |
| 8895 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
106 |
Local variable 't' could be declared final |
| 8896 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
113 |
Avoid printStackTrace(); use a logger call instead. |
| 8897 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
120 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 8898 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
132 |
The String literal "postId" appears 5 times in this file; the first occurrence is on line 132 |
| 8899 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
139 |
Avoid reassigning parameters such as 'weixinBbsPost' |
| 8900 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
150 |
Avoid reassigning parameters such as 'postImg' |
| 8901 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
150 |
Avoid reassigning parameters such as 'postImg' |
| 8902 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
152 |
Avoid variables with short names like j |
| 8903 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
178 |
Avoid reassigning parameters such as 'postImg' |
| 8904 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
210 |
Avoid excessively long variable names like weixinBbsPostCommentEntity |
| 8905 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
224 |
Avoid excessively long variable names like weixinBbsPostCommentEntity |
| 8906 |
src/weixin/bbs/controller/WeixinBbsPostController.java |
239 |
Avoid excessively long variable names like weixinBbsPostCommentEntity |
| 8907 |
src/weixin/bbs/entity/WeixinBbsEntity.java |
18 |
Classes implementing Serializable should set a serialVersionUID |
| 8908 |
src/weixin/bbs/entity/WeixinBbsEntity.java |
21 |
Avoid variables with short names like id |
| 8909 |
src/weixin/bbs/entity/WeixinBbsEntity.java |
43 |
Avoid variables with short names like id |
| 8910 |
src/weixin/bbs/entity/WeixinBbsEntity.java |
43 |
Parameter 'id' is not assigned and could be declared final |
| 8911 |
src/weixin/bbs/entity/WeixinBbsEntity.java |
54 |
Parameter 'name' is not assigned and could be declared final |
| 8912 |
src/weixin/bbs/entity/WeixinBbsEntity.java |
65 |
Parameter 'nickName' is not assigned and could be declared final |
| 8913 |
src/weixin/bbs/entity/WeixinBbsEntity.java |
76 |
Parameter 'accessAuth' is not assigned and could be declared final |
| 8914 |
src/weixin/bbs/entity/WeixinBbsEntity.java |
87 |
Parameter 'postCheck' is not assigned and could be declared final |
| 8915 |
src/weixin/bbs/entity/WeixinBbsPostCommentEntity.java |
19 |
Classes implementing Serializable should set a serialVersionUID |
| 8916 |
src/weixin/bbs/entity/WeixinBbsPostCommentEntity.java |
22 |
Avoid variables with short names like id |
| 8917 |
src/weixin/bbs/entity/WeixinBbsPostCommentEntity.java |
40 |
Avoid variables with short names like id |
| 8918 |
src/weixin/bbs/entity/WeixinBbsPostCommentEntity.java |
40 |
Parameter 'id' is not assigned and could be declared final |
| 8919 |
src/weixin/bbs/entity/WeixinBbsPostCommentEntity.java |
51 |
Parameter 'commentPerson' is not assigned and could be declared final |
| 8920 |
src/weixin/bbs/entity/WeixinBbsPostCommentEntity.java |
62 |
Parameter 'comment' is not assigned and could be declared final |
| 8921 |
src/weixin/bbs/entity/WeixinBbsPostCommentEntity.java |
73 |
Parameter 'createDate' is not assigned and could be declared final |
| 8922 |
src/weixin/bbs/entity/WeixinBbsPostCommentEntity.java |
84 |
Parameter 'createBy' is not assigned and could be declared final |
| 8923 |
src/weixin/bbs/entity/WeixinBbsPostEntity.java |
24 |
Classes implementing Serializable should set a serialVersionUID |
| 8924 |
src/weixin/bbs/entity/WeixinBbsPostEntity.java |
24 |
Too many fields |
| 8925 |
src/weixin/bbs/entity/WeixinBbsPostEntity.java |
27 |
Avoid variables with short names like id |
| 8926 |
src/weixin/bbs/entity/WeixinBbsPostEntity.java |
53 |
Avoid variables with short names like id |
| 8927 |
src/weixin/bbs/entity/WeixinBbsPostEntity.java |
53 |
Parameter 'id' is not assigned and could be declared final |
| 8928 |
src/weixin/bbs/entity/WeixinBbsPostEntity.java |
64 |
Parameter 'title' is not assigned and could be declared final |
| 8929 |
src/weixin/bbs/entity/WeixinBbsPostEntity.java |
75 |
Parameter 'content' is not assigned and could be declared final |
| 8930 |
src/weixin/bbs/entity/WeixinBbsPostEntity.java |
86 |
Parameter 'postPerson' is not assigned and could be declared final |
| 8931 |
src/weixin/bbs/entity/WeixinBbsPostEntity.java |
97 |
Parameter 'status' is not assigned and could be declared final |
| 8932 |
src/weixin/bbs/entity/WeixinBbsPostImgEntity.java |
15 |
Classes implementing Serializable should set a serialVersionUID |
| 8933 |
src/weixin/bbs/entity/WeixinBbsPostImgEntity.java |
27 |
Parameter 'post' is not assigned and could be declared final |
| 8934 |
src/weixin/bbs/service/WeixinBbsPostServiceI.java |
9 |
Avoid excessively long variable names like paramWeixinBbsPostEntity |
| 8935 |
src/weixin/bbs/service/WeixinBbsPostServiceI.java |
9 |
Avoid modifiers which are implied by the context |
| 8936 |
src/weixin/bbs/service/WeixinBbsPostServiceI.java |
11 |
Avoid excessively long variable names like paramWeixinBbsPostCommentEntity |
| 8937 |
src/weixin/bbs/service/WeixinBbsPostServiceI.java |
11 |
Avoid modifiers which are implied by the context |
| 8938 |
src/weixin/bbs/service/WeixinBbsPostServiceI.java |
13 |
Avoid excessively long variable names like paramWeixinBbsPostEntity |
| 8939 |
src/weixin/bbs/service/WeixinBbsPostServiceI.java |
13 |
Avoid modifiers which are implied by the context |
| 8940 |
src/weixin/bbs/service/WeixinBbsServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 8941 |
src/weixin/bbs/service/impl/WeixinBbsPostServiceImpl.java |
20 |
Parameter 'post' is not assigned and could be declared final |
| 8942 |
src/weixin/bbs/service/impl/WeixinBbsPostServiceImpl.java |
22 |
Local variable 'topPosts' could be declared final |
| 8943 |
src/weixin/bbs/service/impl/WeixinBbsPostServiceImpl.java |
34 |
Parameter 'postComment' is not assigned and could be declared final |
| 8944 |
src/weixin/bbs/service/impl/WeixinBbsPostServiceImpl.java |
34 |
Parameter 'postId' is not assigned and could be declared final |
| 8945 |
src/weixin/bbs/service/impl/WeixinBbsPostServiceImpl.java |
36 |
Local variable 'bbsPost' could be declared final |
| 8946 |
src/weixin/bbs/service/impl/WeixinBbsPostServiceImpl.java |
38 |
Local variable 'bbs' could be declared final |
| 8947 |
src/weixin/bbs/service/impl/WeixinBbsPostServiceImpl.java |
45 |
Avoid reassigning parameters such as 'weixinBbsPost' |
| 8948 |
src/weixin/bbs/service/impl/WeixinBbsPostServiceImpl.java |
45 |
Parameter 'fileId' is not assigned and could be declared final |
| 8949 |
src/weixin/bbs/service/impl/WeixinBbsPostServiceImpl.java |
47 |
Local variable 'postId' could be declared final |
| 8950 |
src/weixin/bbs/service/impl/WeixinBbsPostServiceImpl.java |
51 |
Local variable 'fileIds' could be declared final |
| 8951 |
src/weixin/bbs/service/impl/WeixinBbsServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 8952 |
src/weixin/cms/cmsdata/CmsDataCollectI.java |
7 |
Avoid modifiers which are implied by the context |
| 8953 |
src/weixin/cms/cmsdata/impl/CmsArticleDataCollect.java |
5 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 8954 |
src/weixin/cms/cmsdata/impl/CmsArticleDataCollect.java |
5 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 8955 |
src/weixin/cms/cmsdata/impl/CmsArticleDataCollect.java |
14 |
Parameter 'params' is not assigned and could be declared final |
| 8956 |
src/weixin/cms/cmsdata/impl/CmsArticleDataCollect.java |
16 |
Local variable 'cmsArticleService' could be declared final |
| 8957 |
src/weixin/cms/cmsdata/impl/CmsArticleDataCollect.java |
18 |
Avoid if (x != y) ..; else ..; |
| 8958 |
src/weixin/cms/cmsdata/impl/CmsArticleDataCollect.java |
18 |
Local variable 'articleid' could be declared final |
| 8959 |
src/weixin/cms/cmsdata/impl/CmsArticleDataCollect.java |
19 |
Local variable 'cmsArticleEntity' could be declared final |
| 8960 |
src/weixin/cms/cmsdata/impl/CmsArticleDataCollect.java |
20 |
Local variable 'viewCount' could be declared final |
| 8961 |
src/weixin/cms/cmsdata/impl/CmsArticleDataCollect.java |
22 |
Avoid if (x != y) ..; else ..; |
| 8962 |
src/weixin/cms/cmsdata/impl/CmsArticleDataCollect.java |
29 |
Local variable 'res' could be declared final |
| 8963 |
src/weixin/cms/cmsdata/impl/CmsIndexDataCollect.java |
6 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 8964 |
src/weixin/cms/cmsdata/impl/CmsIndexDataCollect.java |
6 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 8965 |
src/weixin/cms/cmsdata/impl/CmsIndexDataCollect.java |
15 |
Parameter 'params' is not assigned and could be declared final |
| 8966 |
src/weixin/cms/cmsdata/impl/CmsIndexDataCollect.java |
17 |
Local variable 'adService' could be declared final |
| 8967 |
src/weixin/cms/cmsdata/impl/CmsIndexDataCollect.java |
18 |
Local variable 'cmsMenuService' could be declared final |
| 8968 |
src/weixin/cms/cmsdata/impl/CmsIndexDataCollect.java |
20 |
Local variable 'adList' could be declared final |
| 8969 |
src/weixin/cms/cmsdata/impl/CmsIndexDataCollect.java |
22 |
Local variable 'menuList' could be declared final |
| 8970 |
src/weixin/cms/cmsdata/impl/CmsIndexDataCollect.java |
24 |
Local variable 'res' could be declared final |
| 8971 |
src/weixin/cms/cmsdata/impl/CmsLeaveMsgDataCollect.java |
8 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 8972 |
src/weixin/cms/cmsdata/impl/CmsLeaveMsgDataCollect.java |
8 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 8973 |
src/weixin/cms/cmsdata/impl/CmsLeaveMsgDataCollect.java |
17 |
Parameter 'params' is not assigned and could be declared final |
| 8974 |
src/weixin/cms/cmsdata/impl/CmsLeaveMsgDataCollect.java |
19 |
Avoid excessively long variable names like weixinLeaveMsgServiceI |
| 8975 |
src/weixin/cms/cmsdata/impl/CmsLeaveMsgDataCollect.java |
19 |
Local variable 'weixinLeaveMsgServiceI' could be declared final |
| 8976 |
src/weixin/cms/cmsdata/impl/CmsLeaveMsgDataCollect.java |
21 |
Avoid variables with short names like cq |
| 8977 |
src/weixin/cms/cmsdata/impl/CmsLeaveMsgDataCollect.java |
21 |
Local variable 'cq' could be declared final |
| 8978 |
src/weixin/cms/cmsdata/impl/CmsLeaveMsgDataCollect.java |
23 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 8979 |
src/weixin/cms/cmsdata/impl/CmsLeaveMsgDataCollect.java |
23 |
Local variable 'leaveMsgList' could be declared final |
| 8980 |
src/weixin/cms/cmsdata/impl/CmsLeaveMsgDataCollect.java |
27 |
Local variable 'res' could be declared final |
| 8981 |
src/weixin/cms/cmsdata/impl/CmsMenuDataCollect.java |
8 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 8982 |
src/weixin/cms/cmsdata/impl/CmsMenuDataCollect.java |
8 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 8983 |
src/weixin/cms/cmsdata/impl/CmsMenuDataCollect.java |
19 |
Parameter 'params' is not assigned and could be declared final |
| 8984 |
src/weixin/cms/cmsdata/impl/CmsMenuDataCollect.java |
21 |
Found 'DU'-anomaly for variable 'cmsArticleService' (lines '21'-'59'). |
| 8985 |
src/weixin/cms/cmsdata/impl/CmsMenuDataCollect.java |
21 |
Local variable 'cmsArticleService' could be declared final |
| 8986 |
src/weixin/cms/cmsdata/impl/CmsMenuDataCollect.java |
22 |
Local variable 'cmsMenuService' could be declared final |
| 8987 |
src/weixin/cms/cmsdata/impl/CmsMenuDataCollect.java |
24 |
Avoid if (x != y) ..; else ..; |
| 8988 |
src/weixin/cms/cmsdata/impl/CmsMenuDataCollect.java |
24 |
Local variable 'menuid' could be declared final |
| 8989 |
src/weixin/cms/cmsdata/impl/CmsMenuDataCollect.java |
25 |
Local variable 'menuEntity' could be declared final |
| 8990 |
src/weixin/cms/cmsdata/impl/CmsMenuDataCollect.java |
26 |
Found 'DD'-anomaly for variable 'cmsArticleEntity' (lines '26'-'36'). |
| 8991 |
src/weixin/cms/cmsdata/impl/CmsMenuDataCollect.java |
26 |
Found 'DU'-anomaly for variable 'cmsArticleEntity' (lines '26'-'59'). |
| 8992 |
src/weixin/cms/cmsdata/impl/CmsMenuDataCollect.java |
27 |
Avoid if (x != y) ..; else ..; |
| 8993 |
src/weixin/cms/cmsdata/impl/CmsMenuDataCollect.java |
29 |
Avoid variables with short names like p |
| 8994 |
src/weixin/cms/cmsdata/impl/CmsMenuDataCollect.java |
29 |
Local variable 'p' could be declared final |
| 8995 |
src/weixin/cms/cmsdata/impl/CmsMenuDataCollect.java |
35 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 8996 |
src/weixin/cms/cmsdata/impl/CmsMenuDataCollect.java |
41 |
Avoid using if...else statements without curly braces |
| 8997 |
src/weixin/cms/cmsdata/impl/CmsPhotoAlbumDataCollect.java |
6 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 8998 |
src/weixin/cms/cmsdata/impl/CmsPhotoAlbumDataCollect.java |
6 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 8999 |
src/weixin/cms/cmsdata/impl/CmsPhotoAlbumDataCollect.java |
15 |
Parameter 'params' is not assigned and could be declared final |
| 9000 |
src/weixin/cms/cmsdata/impl/CmsPhotoAlbumDataCollect.java |
17 |
Avoid excessively long variable names like weixinPhotoAlbumService |
| 9001 |
src/weixin/cms/cmsdata/impl/CmsPhotoAlbumDataCollect.java |
17 |
Local variable 'weixinPhotoAlbumService' could be declared final |
| 9002 |
src/weixin/cms/cmsdata/impl/CmsPhotoAlbumDataCollect.java |
18 |
Avoid if (x != y) ..; else ..; |
| 9003 |
src/weixin/cms/cmsdata/impl/CmsPhotoAlbumDataCollect.java |
18 |
Local variable 'accountid' could be declared final |
| 9004 |
src/weixin/cms/cmsdata/impl/CmsPhotoAlbumDataCollect.java |
19 |
Local variable 'photoAlbumList' could be declared final |
| 9005 |
src/weixin/cms/cmsdata/impl/CmsPhotoAlbumDataCollect.java |
22 |
Local variable 'res' could be declared final |
| 9006 |
src/weixin/cms/cmsdata/impl/CmsPhotoDataCollect.java |
6 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 9007 |
src/weixin/cms/cmsdata/impl/CmsPhotoDataCollect.java |
6 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 9008 |
src/weixin/cms/cmsdata/impl/CmsPhotoDataCollect.java |
15 |
Parameter 'params' is not assigned and could be declared final |
| 9009 |
src/weixin/cms/cmsdata/impl/CmsPhotoDataCollect.java |
17 |
Avoid excessively long variable names like weixinPhotoAlbumService |
| 9010 |
src/weixin/cms/cmsdata/impl/CmsPhotoDataCollect.java |
17 |
Local variable 'weixinPhotoAlbumService' could be declared final |
| 9011 |
src/weixin/cms/cmsdata/impl/CmsPhotoDataCollect.java |
18 |
Avoid variables with short names like id |
| 9012 |
src/weixin/cms/cmsdata/impl/CmsPhotoDataCollect.java |
18 |
Local variable 'id' could be declared final |
| 9013 |
src/weixin/cms/cmsdata/impl/CmsPhotoDataCollect.java |
19 |
Local variable 'weixinPhotoAlbum' could be declared final |
| 9014 |
src/weixin/cms/cmsdata/impl/CmsPhotoDataCollect.java |
20 |
Local variable 'photos' could be declared final |
| 9015 |
src/weixin/cms/cmsdata/impl/CmsPhotoDataCollect.java |
24 |
Local variable 'res' could be declared final |
| 9016 |
src/weixin/cms/common/CmsConstant.java |
3 |
Each class should declare at least one constructor |
| 9017 |
src/weixin/cms/common/CmsConstant.java |
10 |
Avoid excessively long variable names like CMS_DEFAULT_TEMPLATE |
| 9018 |
src/weixin/cms/common/CmsConstant.java |
13 |
Avoid excessively long variable names like CMS_DATA_LIST_MENU |
| 9019 |
src/weixin/cms/common/CmsConstant.java |
14 |
Avoid excessively long variable names like CMS_DATA_LIST_ARTICLE |
| 9020 |
src/weixin/cms/common/CmsConstant.java |
16 |
Avoid excessively long variable names like CMS_DATA_STR_TITLE |
| 9021 |
src/weixin/cms/common/CmsConstant.java |
17 |
Avoid excessively long variable names like CMS_DATA_MAP_ARTICLE |
| 9022 |
src/weixin/cms/common/CmsDataContent.java |
7 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 9023 |
src/weixin/cms/common/CmsDataContent.java |
9 |
Variables that are final and static should be in all caps. |
| 9024 |
src/weixin/cms/common/CmsDataContent.java |
10 |
Variables that are final and static should be in all caps. |
| 9025 |
src/weixin/cms/common/CmsDataContent.java |
12 |
Parameter 'key' is not assigned and could be declared final |
| 9026 |
src/weixin/cms/common/CmsDataContent.java |
12 |
Parameter 'object' is not assigned and could be declared final |
| 9027 |
src/weixin/cms/common/CmsDataContent.java |
17 |
Parameter 'key' is not assigned and could be declared final |
| 9028 |
src/weixin/cms/controller/AdController.java |
30 |
Avoid unused private fields such as 'logger'. |
| 9029 |
src/weixin/cms/controller/AdController.java |
30 |
Variables that are final and static should be in all caps. |
| 9030 |
src/weixin/cms/controller/AdController.java |
33 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9031 |
src/weixin/cms/controller/AdController.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9032 |
src/weixin/cms/controller/AdController.java |
39 |
Avoid excessively long variable names like weixinAccountService |
| 9033 |
src/weixin/cms/controller/AdController.java |
39 |
Avoid unused private fields such as 'weixinAccountService'. |
| 9034 |
src/weixin/cms/controller/AdController.java |
44 |
Parameter 'message' is not assigned and could be declared final |
| 9035 |
src/weixin/cms/controller/AdController.java |
50 |
Avoid using short method names |
| 9036 |
src/weixin/cms/controller/AdController.java |
50 |
Parameter 'request' is not assigned and could be declared final |
| 9037 |
src/weixin/cms/controller/AdController.java |
56 |
Avoid variables with short names like ad |
| 9038 |
src/weixin/cms/controller/AdController.java |
56 |
Parameter 'ad' is not assigned and could be declared final |
| 9039 |
src/weixin/cms/controller/AdController.java |
56 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 9040 |
src/weixin/cms/controller/AdController.java |
56 |
Parameter 'request' is not assigned and could be declared final |
| 9041 |
src/weixin/cms/controller/AdController.java |
58 |
Avoid variables with short names like cq |
| 9042 |
src/weixin/cms/controller/AdController.java |
58 |
Local variable 'cq' could be declared final |
| 9043 |
src/weixin/cms/controller/AdController.java |
68 |
Avoid reassigning parameters such as 'ad' |
| 9044 |
src/weixin/cms/controller/AdController.java |
68 |
Avoid variables with short names like ad |
| 9045 |
src/weixin/cms/controller/AdController.java |
70 |
Avoid variables with short names like j |
| 9046 |
src/weixin/cms/controller/AdController.java |
70 |
Local variable 'j' could be declared final |
| 9047 |
src/weixin/cms/controller/AdController.java |
82 |
Avoid variables with short names like ad |
| 9048 |
src/weixin/cms/controller/AdController.java |
84 |
Local variable 'j' could be declared final |
| 9049 |
src/weixin/cms/controller/AdController.java |
85 |
Local variable 'accountId' could be declared final |
| 9050 |
src/weixin/cms/controller/AdController.java |
92 |
Local variable 't' could be declared final |
| 9051 |
src/weixin/cms/controller/AdController.java |
99 |
Avoid printStackTrace(); use a logger call instead. |
| 9052 |
src/weixin/cms/controller/AdController.java |
114 |
Avoid reassigning parameters such as 'ad' |
| 9053 |
src/weixin/cms/controller/CmsArticleController.java |
31 |
Avoid unused private fields such as 'logger'. |
| 9054 |
src/weixin/cms/controller/CmsArticleController.java |
31 |
Variables that are final and static should be in all caps. |
| 9055 |
src/weixin/cms/controller/CmsArticleController.java |
34 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9056 |
src/weixin/cms/controller/CmsArticleController.java |
37 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9057 |
src/weixin/cms/controller/CmsArticleController.java |
40 |
Avoid excessively long variable names like weixinAccountService |
| 9058 |
src/weixin/cms/controller/CmsArticleController.java |
40 |
Avoid unused private fields such as 'weixinAccountService'. |
| 9059 |
src/weixin/cms/controller/CmsArticleController.java |
45 |
Parameter 'message' is not assigned and could be declared final |
| 9060 |
src/weixin/cms/controller/CmsArticleController.java |
51 |
Parameter 'request' is not assigned and could be declared final |
| 9061 |
src/weixin/cms/controller/CmsArticleController.java |
58 |
Parameter 'cmsArticle' is not assigned and could be declared final |
| 9062 |
src/weixin/cms/controller/CmsArticleController.java |
58 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 9063 |
src/weixin/cms/controller/CmsArticleController.java |
58 |
Parameter 'request' is not assigned and could be declared final |
| 9064 |
src/weixin/cms/controller/CmsArticleController.java |
60 |
Avoid variables with short names like cq |
| 9065 |
src/weixin/cms/controller/CmsArticleController.java |
60 |
Local variable 'cq' could be declared final |
| 9066 |
src/weixin/cms/controller/CmsArticleController.java |
71 |
Avoid variables with short names like cq |
| 9067 |
src/weixin/cms/controller/CmsArticleController.java |
71 |
Local variable 'cq' could be declared final |
| 9068 |
src/weixin/cms/controller/CmsArticleController.java |
81 |
Avoid reassigning parameters such as 'cmsArticle' |
| 9069 |
src/weixin/cms/controller/CmsArticleController.java |
83 |
Avoid variables with short names like j |
| 9070 |
src/weixin/cms/controller/CmsArticleController.java |
83 |
Local variable 'j' could be declared final |
| 9071 |
src/weixin/cms/controller/CmsArticleController.java |
97 |
Avoid variables with short names like j |
| 9072 |
src/weixin/cms/controller/CmsArticleController.java |
97 |
Local variable 'j' could be declared final |
| 9073 |
src/weixin/cms/controller/CmsArticleController.java |
98 |
Local variable 'accountId' could be declared final |
| 9074 |
src/weixin/cms/controller/CmsArticleController.java |
105 |
Avoid variables with short names like t |
| 9075 |
src/weixin/cms/controller/CmsArticleController.java |
111 |
Avoid printStackTrace(); use a logger call instead. |
| 9076 |
src/weixin/cms/controller/CmsArticleController.java |
126 |
Avoid reassigning parameters such as 'cmsArticle' |
| 9077 |
src/weixin/cms/controller/CmsController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 9078 |
src/weixin/cms/controller/CmsController.java |
11 |
Avoid unused imports such as 'javax.servlet.Servlet' |
| 9079 |
src/weixin/cms/controller/CmsController.java |
11 |
Avoid unused imports such as 'javax.servlet.Servlet' |
| 9080 |
src/weixin/cms/controller/CmsController.java |
12 |
Avoid unused imports such as 'javax.servlet.ServletConfig' |
| 9081 |
src/weixin/cms/controller/CmsController.java |
12 |
Avoid unused imports such as 'javax.servlet.ServletConfig' |
| 9082 |
src/weixin/cms/controller/CmsController.java |
13 |
Avoid unused imports such as 'javax.servlet.ServletContext' |
| 9083 |
src/weixin/cms/controller/CmsController.java |
13 |
Avoid unused imports such as 'javax.servlet.ServletContext' |
| 9084 |
src/weixin/cms/controller/CmsController.java |
14 |
Avoid unused imports such as 'javax.servlet.ServletException' |
| 9085 |
src/weixin/cms/controller/CmsController.java |
14 |
Avoid unused imports such as 'javax.servlet.ServletException' |
| 9086 |
src/weixin/cms/controller/CmsController.java |
15 |
Avoid unused imports such as 'javax.servlet.ServletRequest' |
| 9087 |
src/weixin/cms/controller/CmsController.java |
15 |
Avoid unused imports such as 'javax.servlet.ServletRequest' |
| 9088 |
src/weixin/cms/controller/CmsController.java |
56 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9089 |
src/weixin/cms/controller/CmsController.java |
59 |
Avoid excessively long variable names like weixinCmsSiteService |
| 9090 |
src/weixin/cms/controller/CmsController.java |
59 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9091 |
src/weixin/cms/controller/CmsController.java |
62 |
Avoid excessively long variable names like weixinCmsStyleService |
| 9092 |
src/weixin/cms/controller/CmsController.java |
62 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9093 |
src/weixin/cms/controller/CmsController.java |
63 |
Avoid excessively long variable names like dataCollectContent |
| 9094 |
src/weixin/cms/controller/CmsController.java |
65 |
Avoid unused method parameters such as 'page'. |
| 9095 |
src/weixin/cms/controller/CmsController.java |
65 |
Avoid unused method parameters such as 'request'. |
| 9096 |
src/weixin/cms/controller/CmsController.java |
65 |
Parameter 'page' is not assigned and could be declared final |
| 9097 |
src/weixin/cms/controller/CmsController.java |
65 |
Parameter 'request' is not assigned and could be declared final |
| 9098 |
src/weixin/cms/controller/CmsController.java |
67 |
Found 'DD'-anomaly for variable 'rootUrl' (lines '67'-'72'). |
| 9099 |
src/weixin/cms/controller/CmsController.java |
68 |
Local variable 'bundler' could be declared final |
| 9100 |
src/weixin/cms/controller/CmsController.java |
79 |
Parameter 'page' is not assigned and could be declared final |
| 9101 |
src/weixin/cms/controller/CmsController.java |
79 |
Parameter 'request' is not assigned and could be declared final |
| 9102 |
src/weixin/cms/controller/CmsController.java |
79 |
Parameter 'response' is not assigned and could be declared final |
| 9103 |
src/weixin/cms/controller/CmsController.java |
81 |
Local variable 'params' could be declared final |
| 9104 |
src/weixin/cms/controller/CmsController.java |
83 |
Local variable 'rootUrl' could be declared final |
| 9105 |
src/weixin/cms/controller/CmsController.java |
84 |
Found 'DD'-anomaly for variable 'styleUrl' (lines '84'-'101'). |
| 9106 |
src/weixin/cms/controller/CmsController.java |
84 |
Found 'DD'-anomaly for variable 'styleUrl' (lines '84'-'105'). |
| 9107 |
src/weixin/cms/controller/CmsController.java |
84 |
Found 'DD'-anomaly for variable 'styleUrl' (lines '84'-'98'). |
| 9108 |
src/weixin/cms/controller/CmsController.java |
86 |
Avoid excessively long variable names like weixinCmsSiteEntity |
| 9109 |
src/weixin/cms/controller/CmsController.java |
86 |
Local variable 'weixinCmsSiteEntity' could be declared final |
| 9110 |
src/weixin/cms/controller/CmsController.java |
86 |
The String literal "accountid" appears 6 times in this file; the first occurrence is on line 86 |
| 9111 |
src/weixin/cms/controller/CmsController.java |
88 |
Avoid excessively long variable names like weixinCmsStyleEntity |
| 9112 |
src/weixin/cms/controller/CmsController.java |
90 |
Found 'DD'-anomaly for variable 'templateName' (lines '90'-'100'). |
| 9113 |
src/weixin/cms/controller/CmsController.java |
90 |
Found 'DD'-anomaly for variable 'templateName' (lines '90'-'104'). |
| 9114 |
src/weixin/cms/controller/CmsController.java |
90 |
Found 'DD'-anomaly for variable 'templateName' (lines '90'-'97'). |
| 9115 |
src/weixin/cms/controller/CmsController.java |
92 |
Avoid if (x != y) ..; else ..; |
| 9116 |
src/weixin/cms/controller/CmsController.java |
96 |
Avoid if (x != y) ..; else ..; |
| 9117 |
src/weixin/cms/controller/CmsController.java |
110 |
Local variable 'cmsFreemarkerHelper' could be declared final |
| 9118 |
src/weixin/cms/controller/CmsController.java |
127 |
Avoid printStackTrace(); use a logger call instead. |
| 9119 |
src/weixin/cms/controller/CmsController.java |
136 |
Found 'DD'-anomaly for variable 'styleUrl' (lines '136'-'141'). |
| 9120 |
src/weixin/cms/controller/CmsController.java |
138 |
Avoid unused local variables such as 'templateName'. |
| 9121 |
src/weixin/cms/controller/CmsController.java |
138 |
Found 'DD'-anomaly for variable 'templateName' (lines '138'-'140'). |
| 9122 |
src/weixin/cms/controller/CmsController.java |
140 |
Found 'DU'-anomaly for variable 'templateName' (lines '140'-'155'). |
| 9123 |
src/weixin/cms/controller/CmsController.java |
153 |
Avoid printStackTrace(); use a logger call instead. |
| 9124 |
src/weixin/cms/controller/CmsController.java |
172 |
Avoid variables with short names like em |
| 9125 |
src/weixin/cms/controller/CmsFrontController.java |
29 |
Avoid unused private fields such as 'logger'. |
| 9126 |
src/weixin/cms/controller/CmsFrontController.java |
29 |
Variables that are final and static should be in all caps. |
| 9127 |
src/weixin/cms/controller/CmsFrontController.java |
32 |
Avoid excessively long variable names like weixinLeaveMsgService |
| 9128 |
src/weixin/cms/controller/CmsFrontController.java |
32 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9129 |
src/weixin/cms/controller/CmsFrontController.java |
35 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9130 |
src/weixin/cms/controller/CmsFrontController.java |
40 |
Parameter 'message' is not assigned and could be declared final |
| 9131 |
src/weixin/cms/controller/CmsFrontController.java |
47 |
Parameter 'request' is not assigned and could be declared final |
| 9132 |
src/weixin/cms/controller/CmsFrontController.java |
47 |
Parameter 'weixinLeaveMsg' is not assigned and could be declared final |
| 9133 |
src/weixin/cms/controller/CmsFrontController.java |
49 |
Avoid variables with short names like j |
| 9134 |
src/weixin/cms/controller/CmsFrontController.java |
49 |
Local variable 'j' could be declared final |
| 9135 |
src/weixin/cms/controller/CmsFrontController.java |
50 |
Avoid variables with short names like id |
| 9136 |
src/weixin/cms/controller/CmsFrontController.java |
50 |
Found 'DD'-anomaly for variable 'id' (lines '50'-'65'). |
| 9137 |
src/weixin/cms/controller/CmsFrontController.java |
53 |
Avoid variables with short names like t |
| 9138 |
src/weixin/cms/controller/CmsFrontController.java |
53 |
Local variable 't' could be declared final |
| 9139 |
src/weixin/cms/controller/CmsFrontController.java |
59 |
Avoid printStackTrace(); use a logger call instead. |
| 9140 |
src/weixin/cms/controller/CmsFrontController.java |
69 |
Local variable 'att' could be declared final |
| 9141 |
src/weixin/cms/controller/CmsFrontController.java |
79 |
Avoid reassigning parameters such as 'weixinLeaveMsg' |
| 9142 |
src/weixin/cms/controller/CmsFrontController.java |
79 |
Parameter 'req' is not assigned and could be declared final |
| 9143 |
src/weixin/cms/controller/CmsMenuController.java |
32 |
Avoid unused private fields such as 'logger'. |
| 9144 |
src/weixin/cms/controller/CmsMenuController.java |
32 |
Variables that are final and static should be in all caps. |
| 9145 |
src/weixin/cms/controller/CmsMenuController.java |
35 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9146 |
src/weixin/cms/controller/CmsMenuController.java |
38 |
Avoid excessively long variable names like weixinAccountService |
| 9147 |
src/weixin/cms/controller/CmsMenuController.java |
38 |
Avoid unused private fields such as 'weixinAccountService'. |
| 9148 |
src/weixin/cms/controller/CmsMenuController.java |
41 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9149 |
src/weixin/cms/controller/CmsMenuController.java |
46 |
Parameter 'message' is not assigned and could be declared final |
| 9150 |
src/weixin/cms/controller/CmsMenuController.java |
52 |
Parameter 'accountid' is not assigned and could be declared final |
| 9151 |
src/weixin/cms/controller/CmsMenuController.java |
52 |
Parameter 'request' is not assigned and could be declared final |
| 9152 |
src/weixin/cms/controller/CmsMenuController.java |
52 |
Parameter 'userid' is not assigned and could be declared final |
| 9153 |
src/weixin/cms/controller/CmsMenuController.java |
54 |
Local variable 'columnList' could be declared final |
| 9154 |
src/weixin/cms/controller/CmsMenuController.java |
54 |
The String literal "accountid" appears 4 times in this file; the first occurrence is on line 54 |
| 9155 |
src/weixin/cms/controller/CmsMenuController.java |
56 |
Local variable 'adList' could be declared final |
| 9156 |
src/weixin/cms/controller/CmsMenuController.java |
66 |
Parameter 'request' is not assigned and could be declared final |
| 9157 |
src/weixin/cms/controller/CmsMenuController.java |
74 |
Avoid variables with short names like cq |
| 9158 |
src/weixin/cms/controller/CmsMenuController.java |
74 |
Local variable 'cq' could be declared final |
| 9159 |
src/weixin/cms/controller/CmsMenuController.java |
85 |
Avoid reassigning parameters such as 'menu' |
| 9160 |
src/weixin/cms/controller/CmsMenuController.java |
87 |
Avoid variables with short names like j |
| 9161 |
src/weixin/cms/controller/CmsMenuController.java |
87 |
Local variable 'j' could be declared final |
| 9162 |
src/weixin/cms/controller/CmsMenuController.java |
101 |
Avoid variables with short names like j |
| 9163 |
src/weixin/cms/controller/CmsMenuController.java |
101 |
Local variable 'j' could be declared final |
| 9164 |
src/weixin/cms/controller/CmsMenuController.java |
109 |
Avoid variables with short names like t |
| 9165 |
src/weixin/cms/controller/CmsMenuController.java |
118 |
Avoid printStackTrace(); use a logger call instead. |
| 9166 |
src/weixin/cms/controller/CmsMenuController.java |
133 |
Avoid reassigning parameters such as 'menu' |
| 9167 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 9168 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
4 |
Avoid unused imports such as 'java.io.InputStream' |
| 9169 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
4 |
Avoid unused imports such as 'java.io.InputStream' |
| 9170 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
10 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 9171 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
10 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 9172 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
38 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 9173 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
38 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 9174 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
56 |
This class has too many methods, consider refactoring it. |
| 9175 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
57 |
Variables that are final and static should be in all caps. |
| 9176 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
60 |
Avoid excessively long variable names like weixinCmsSiteService |
| 9177 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
60 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9178 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
63 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9179 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
68 |
Parameter 'message' is not assigned and could be declared final |
| 9180 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
74 |
Parameter 'request' is not assigned and could be declared final |
| 9181 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
80 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 9182 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
80 |
Parameter 'request' is not assigned and could be declared final |
| 9183 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
80 |
Parameter 'response' is not assigned and could be declared final |
| 9184 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
82 |
Avoid variables with short names like cq |
| 9185 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
82 |
Local variable 'cq' could be declared final |
| 9186 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
95 |
Avoid reassigning parameters such as 'weixinCmsSite' |
| 9187 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
97 |
Avoid variables with short names like j |
| 9188 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
97 |
Found 'DU'-anomaly for variable 'j' (lines '97'-'112'). |
| 9189 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
97 |
Local variable 'j' could be declared final |
| 9190 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
106 |
Avoid printStackTrace(); use a logger call instead. |
| 9191 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
108 |
New exception is thrown in catch block, original stack trace may be lost |
| 9192 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
118 |
Avoid variables with short names like j |
| 9193 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
118 |
Found 'DU'-anomaly for variable 'j' (lines '118'-'135'). |
| 9194 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
118 |
Local variable 'j' could be declared final |
| 9195 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
122 |
Local variable 'weixinCmsSite' could be declared final |
| 9196 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
129 |
Avoid printStackTrace(); use a logger call instead. |
| 9197 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
131 |
New exception is thrown in catch block, original stack trace may be lost |
| 9198 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
141 |
Avoid variables with short names like j |
| 9199 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
141 |
Found 'DU'-anomaly for variable 'j' (lines '141'-'161'). |
| 9200 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
141 |
Local variable 'j' could be declared final |
| 9201 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
144 |
Avoid if (x != y) ..; else ..; |
| 9202 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
144 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 9203 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
154 |
Avoid printStackTrace(); use a logger call instead. |
| 9204 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
156 |
New exception is thrown in catch block, original stack trace may be lost |
| 9205 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
167 |
Avoid variables with short names like j |
| 9206 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
167 |
Found 'DU'-anomaly for variable 'j' (lines '167'-'183'). |
| 9207 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
177 |
Avoid printStackTrace(); use a logger call instead. |
| 9208 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
179 |
New exception is thrown in catch block, original stack trace may be lost |
| 9209 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
186 |
Avoid reassigning parameters such as 'weixinCmsSite' |
| 9210 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
197 |
Avoid reassigning parameters such as 'weixinCmsSite' |
| 9211 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
217 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '217'-'220'). |
| 9212 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
218 |
Found 'DD'-anomaly for variable 'fOut' (lines '218'-'241'). |
| 9213 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
223 |
The String literal ".xls" appears 4 times in this file; the first occurrence is on line 223 |
| 9214 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
223 |
The String literal "UTF-8" appears 4 times in this file; the first occurrence is on line 223 |
| 9215 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
223 |
The String literal "attachment;filename=" appears 4 times in this file; the first occurrence is on line 223 |
| 9216 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
223 |
The String literal "content-disposition" appears 4 times in this file; the first occurrence is on line 223 |
| 9217 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
232 |
Found 'DD'-anomaly for variable 'workbook' (lines '232'-'239'). |
| 9218 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
237 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 9219 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
243 |
Avoid empty catch blocks |
| 9220 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
249 |
Avoid empty catch blocks |
| 9221 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
259 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '259'-'262'). |
| 9222 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
260 |
Found 'DD'-anomaly for variable 'fOut' (lines '260'-'277'). |
| 9223 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
274 |
Found 'DD'-anomaly for variable 'workbook' (lines '274'-'275'). |
| 9224 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
279 |
Avoid empty catch blocks |
| 9225 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
285 |
Avoid empty catch blocks |
| 9226 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
300 |
Avoid instantiating new objects inside loops |
| 9227 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
305 |
Avoid excessively long variable names like listWeixinCmsSiteEntitys |
| 9228 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
318 |
Avoid printStackTrace(); use a logger call instead. |
| 9229 |
src/weixin/cms/controller/WeixinCmsSiteController.java |
335 |
Found 'DU'-anomaly for variable 'documentTitle' (lines '335'-'362'). |
| 9230 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 9231 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
18 |
Avoid unused imports such as 'javax.servlet.ServletContext' |
| 9232 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
18 |
Avoid unused imports such as 'javax.servlet.ServletContext' |
| 9233 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
21 |
Avoid unused imports such as 'javax.servlet.http.HttpSession' |
| 9234 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
21 |
Avoid unused imports such as 'javax.servlet.http.HttpSession' |
| 9235 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
49 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 9236 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
49 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 9237 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
66 |
This class has too many methods, consider refactoring it. |
| 9238 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
67 |
Variables that are final and static should be in all caps. |
| 9239 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
71 |
Avoid excessively long variable names like weixinCmsStyleService |
| 9240 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
71 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9241 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
74 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9242 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
81 |
Parameter 'message' is not assigned and could be declared final |
| 9243 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
86 |
Parameter 'request' is not assigned and could be declared final |
| 9244 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
91 |
Parameter 'weixinCmsStyle' is not assigned and could be declared final |
| 9245 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
92 |
Parameter 'request' is not assigned and could be declared final |
| 9246 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
92 |
Parameter 'response' is not assigned and could be declared final |
| 9247 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
94 |
Avoid variables with short names like cq |
| 9248 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
94 |
Local variable 'cq' could be declared final |
| 9249 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
109 |
Avoid reassigning parameters such as 'weixinCmsStyle' |
| 9250 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
111 |
Avoid variables with short names like j |
| 9251 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
111 |
Found 'DU'-anomaly for variable 'j' (lines '111'-'127'). |
| 9252 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
111 |
Local variable 'j' could be declared final |
| 9253 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
121 |
Avoid printStackTrace(); use a logger call instead. |
| 9254 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
123 |
New exception is thrown in catch block, original stack trace may be lost |
| 9255 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
132 |
Avoid variables with short names like j |
| 9256 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
132 |
Found 'DU'-anomaly for variable 'j' (lines '132'-'150'). |
| 9257 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
132 |
Local variable 'j' could be declared final |
| 9258 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
136 |
Local variable 'weixinCmsStyle' could be declared final |
| 9259 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
144 |
Avoid printStackTrace(); use a logger call instead. |
| 9260 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
146 |
New exception is thrown in catch block, original stack trace may be lost |
| 9261 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
156 |
Avoid variables with short names like j |
| 9262 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
156 |
Found 'DU'-anomaly for variable 'j' (lines '156'-'186'). |
| 9263 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
156 |
Local variable 'j' could be declared final |
| 9264 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
159 |
Avoid variables with short names like t |
| 9265 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
167 |
Avoid printStackTrace(); use a logger call instead. |
| 9266 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
169 |
New exception is thrown in catch block, original stack trace may be lost |
| 9267 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
178 |
Avoid printStackTrace(); use a logger call instead. |
| 9268 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
180 |
New exception is thrown in catch block, original stack trace may be lost |
| 9269 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
192 |
Found 'DU'-anomaly for variable 'j' (lines '192'-'209'). |
| 9270 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
202 |
Avoid printStackTrace(); use a logger call instead. |
| 9271 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
204 |
New exception is thrown in catch block, original stack trace may be lost |
| 9272 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
212 |
Avoid reassigning parameters such as 'weixinCmsStyle' |
| 9273 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
225 |
Avoid reassigning parameters such as 'weixinCmsStyle' |
| 9274 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
247 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '247'-'250'). |
| 9275 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
248 |
Found 'DD'-anomaly for variable 'fOut' (lines '248'-'280'). |
| 9276 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
254 |
The String literal "content-disposition" appears 4 times in this file; the first occurrence is on line 254 |
| 9277 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
255 |
The String literal "attachment;filename=" appears 6 times in this file; the first occurrence is on line 255 |
| 9278 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
256 |
The String literal "UTF-8" appears 4 times in this file; the first occurrence is on line 256 |
| 9279 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
257 |
The String literal ".xls" appears 4 times in this file; the first occurrence is on line 257 |
| 9280 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
260 |
The String literal "ISO8859-1" appears 4 times in this file; the first occurrence is on line 260 |
| 9281 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
266 |
Found 'DD'-anomaly for variable 'workbook' (lines '266'-'276'). |
| 9282 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
274 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 9283 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
282 |
Avoid empty catch blocks |
| 9284 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
287 |
Avoid empty catch blocks |
| 9285 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
297 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '297'-'300'). |
| 9286 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
298 |
Found 'DD'-anomaly for variable 'fOut' (lines '298'-'321'). |
| 9287 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
316 |
Found 'DD'-anomaly for variable 'workbook' (lines '316'-'317'). |
| 9288 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
323 |
Avoid empty catch blocks |
| 9289 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
328 |
Avoid empty catch blocks |
| 9290 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
343 |
Avoid instantiating new objects inside loops |
| 9291 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
348 |
Avoid excessively long variable names like listWeixinCmsStyleEntitys |
| 9292 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
383 |
Found 'DU'-anomaly for variable 'documentTitle' (lines '383'-'433'). |
| 9293 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
438 |
Found 'DD'-anomaly for variable 'url' (lines '438'-'442'). |
| 9294 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
461 |
Found 'DD'-anomaly for variable 'bytesRead' (lines '461'-'463'). |
| 9295 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
463 |
Avoid assignments in operands |
| 9296 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
463 |
Found 'DU'-anomaly for variable 'bytesRead' (lines '463'-'473'). |
| 9297 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
494 |
Found 'DD'-anomaly for variable 'bytesRead' (lines '494'-'496'). |
| 9298 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
496 |
Avoid assignments in operands |
| 9299 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
496 |
Found 'DU'-anomaly for variable 'bytesRead' (lines '496'-'506'). |
| 9300 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
514 |
Found 'DU'-anomaly for variable 'buffere' (lines '514'-'531'). |
| 9301 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
518 |
Avoid instantiating new objects inside loops |
| 9302 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
519 |
Avoid instantiating new objects inside loops |
| 9303 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
523 |
Avoid using if statements without curly braces |
| 9304 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
537 |
Found 'DD'-anomaly for variable 'entryName' (lines '537'-'539'). |
| 9305 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
537 |
Found 'DD'-anomaly for variable 'entryName' (lines '537'-'541'). |
| 9306 |
src/weixin/cms/controller/WeixinCmsStyleController.java |
539 |
Avoid using if...else statements without curly braces |
| 9307 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
33 |
Avoid unused private fields such as 'logger'. |
| 9308 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
33 |
Variables that are final and static should be in all caps. |
| 9309 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
36 |
Avoid excessively long variable names like weixinLeaveMsgService |
| 9310 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9311 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
39 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9312 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
44 |
Parameter 'message' is not assigned and could be declared final |
| 9313 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
50 |
Parameter 'request' is not assigned and could be declared final |
| 9314 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
56 |
Avoid reassigning parameters such as 'weixinLeaveMsg' |
| 9315 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
56 |
Parameter 'request' is not assigned and could be declared final |
| 9316 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
67 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 9317 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
67 |
Parameter 'request' is not assigned and could be declared final |
| 9318 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
69 |
Avoid variables with short names like cq |
| 9319 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
69 |
Local variable 'cq' could be declared final |
| 9320 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
80 |
Avoid reassigning parameters such as 'weixinLeaveMsg' |
| 9321 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
82 |
Avoid variables with short names like j |
| 9322 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
82 |
Local variable 'j' could be declared final |
| 9323 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
96 |
Avoid variables with short names like j |
| 9324 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
96 |
Local variable 'j' could be declared final |
| 9325 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
99 |
Avoid variables with short names like t |
| 9326 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
99 |
Local variable 't' could be declared final |
| 9327 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
105 |
Avoid printStackTrace(); use a logger call instead. |
| 9328 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
110 |
Local variable 'accountId' could be declared final |
| 9329 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
120 |
Avoid reassigning parameters such as 'weixinLeaveMsg' |
| 9330 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
130 |
Avoid excessively long variable names like weixinLeaveMsgReplyEntity |
| 9331 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
131 |
Avoid variables with short names like j |
| 9332 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
140 |
Avoid excessively long variable names like weixinLeaveMsgReply |
| 9333 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
153 |
Avoid excessively long variable names like weixinLeaveMsgReply |
| 9334 |
src/weixin/cms/controller/WeixinLeaveMsgController.java |
153 |
Avoid reassigning parameters such as 'weixinLeaveMsgReply' |
| 9335 |
src/weixin/cms/dao/CmsAdDao.java |
15 |
The String literal "weixin.cms.entity.AdEntity" appears 4 times in this file; the first occurrence is on line 15 |
| 9336 |
src/weixin/cms/dao/CmsAdDao.java |
16 |
Avoid modifiers which are implied by the context |
| 9337 |
src/weixin/cms/dao/CmsAdDao.java |
20 |
Avoid modifiers which are implied by the context |
| 9338 |
src/weixin/cms/dao/CmsAdDao.java |
24 |
Avoid modifiers which are implied by the context |
| 9339 |
src/weixin/cms/dao/CmsAdDao.java |
28 |
Avoid modifiers which are implied by the context |
| 9340 |
src/weixin/cms/dao/CmsArticleDao.java |
15 |
The String literal "weixin.cms.entity.CmsArticleEntity" appears 4 times in this file; the first occurrence is on line 15 |
| 9341 |
src/weixin/cms/dao/CmsArticleDao.java |
16 |
Avoid excessively long variable names like paramCmsArticleEntity |
| 9342 |
src/weixin/cms/dao/CmsArticleDao.java |
16 |
Avoid modifiers which are implied by the context |
| 9343 |
src/weixin/cms/dao/CmsArticleDao.java |
20 |
Avoid excessively long variable names like paramCmsArticleEntity |
| 9344 |
src/weixin/cms/dao/CmsArticleDao.java |
20 |
Avoid modifiers which are implied by the context |
| 9345 |
src/weixin/cms/dao/CmsArticleDao.java |
24 |
Avoid modifiers which are implied by the context |
| 9346 |
src/weixin/cms/dao/CmsArticleDao.java |
28 |
Avoid modifiers which are implied by the context |
| 9347 |
src/weixin/cms/dao/CmsArticleDao.java |
32 |
Avoid modifiers which are implied by the context |
| 9348 |
src/weixin/cms/dao/CmsMenuDao.java |
15 |
The String literal "weixin.cms.entity.CmsMenuEntity" appears 4 times in this file; the first occurrence is on line 15 |
| 9349 |
src/weixin/cms/dao/CmsMenuDao.java |
16 |
Avoid excessively long variable names like paramCmsMenuEntity |
| 9350 |
src/weixin/cms/dao/CmsMenuDao.java |
16 |
Avoid modifiers which are implied by the context |
| 9351 |
src/weixin/cms/dao/CmsMenuDao.java |
20 |
Avoid excessively long variable names like paramCmsMenuEntity |
| 9352 |
src/weixin/cms/dao/CmsMenuDao.java |
20 |
Avoid modifiers which are implied by the context |
| 9353 |
src/weixin/cms/dao/CmsMenuDao.java |
24 |
Avoid modifiers which are implied by the context |
| 9354 |
src/weixin/cms/dao/CmsMenuDao.java |
28 |
Avoid modifiers which are implied by the context |
| 9355 |
src/weixin/cms/entity/AdEntity.java |
19 |
Classes implementing Serializable should set a serialVersionUID |
| 9356 |
src/weixin/cms/entity/AdEntity.java |
22 |
Avoid variables with short names like id |
| 9357 |
src/weixin/cms/entity/AdEntity.java |
43 |
Avoid variables with short names like id |
| 9358 |
src/weixin/cms/entity/AdEntity.java |
43 |
Parameter 'id' is not assigned and could be declared final |
| 9359 |
src/weixin/cms/entity/AdEntity.java |
54 |
Parameter 'title' is not assigned and could be declared final |
| 9360 |
src/weixin/cms/entity/AdEntity.java |
65 |
Parameter 'imageName' is not assigned and could be declared final |
| 9361 |
src/weixin/cms/entity/AdEntity.java |
76 |
Parameter 'imageHref' is not assigned and could be declared final |
| 9362 |
src/weixin/cms/entity/AdEntity.java |
87 |
Parameter 'accountid' is not assigned and could be declared final |
| 9363 |
src/weixin/cms/entity/CmsArticleEntity.java |
18 |
Classes implementing Serializable should set a serialVersionUID |
| 9364 |
src/weixin/cms/entity/CmsArticleEntity.java |
21 |
Avoid variables with short names like id |
| 9365 |
src/weixin/cms/entity/CmsArticleEntity.java |
43 |
Avoid variables with short names like id |
| 9366 |
src/weixin/cms/entity/CmsArticleEntity.java |
43 |
Parameter 'id' is not assigned and could be declared final |
| 9367 |
src/weixin/cms/entity/CmsArticleEntity.java |
54 |
Parameter 'title' is not assigned and could be declared final |
| 9368 |
src/weixin/cms/entity/CmsArticleEntity.java |
65 |
Parameter 'imageName' is not assigned and could be declared final |
| 9369 |
src/weixin/cms/entity/CmsArticleEntity.java |
76 |
Parameter 'imageHref' is not assigned and could be declared final |
| 9370 |
src/weixin/cms/entity/CmsArticleEntity.java |
86 |
Parameter 'summary' is not assigned and could be declared final |
| 9371 |
src/weixin/cms/entity/CmsMenuEntity.java |
19 |
Classes implementing Serializable should set a serialVersionUID |
| 9372 |
src/weixin/cms/entity/CmsMenuEntity.java |
22 |
Avoid variables with short names like id |
| 9373 |
src/weixin/cms/entity/CmsMenuEntity.java |
43 |
Avoid variables with short names like id |
| 9374 |
src/weixin/cms/entity/CmsMenuEntity.java |
43 |
Parameter 'id' is not assigned and could be declared final |
| 9375 |
src/weixin/cms/entity/CmsMenuEntity.java |
54 |
Parameter 'name' is not assigned and could be declared final |
| 9376 |
src/weixin/cms/entity/CmsMenuEntity.java |
65 |
Parameter 'imageName' is not assigned and could be declared final |
| 9377 |
src/weixin/cms/entity/CmsMenuEntity.java |
76 |
Parameter 'imageHref' is not assigned and could be declared final |
| 9378 |
src/weixin/cms/entity/CmsMenuEntity.java |
87 |
Parameter 'accountid' is not assigned and could be declared final |
| 9379 |
src/weixin/cms/entity/WeixinCmsSiteEntity.java |
15 |
Classes implementing Serializable should set a serialVersionUID |
| 9380 |
src/weixin/cms/entity/WeixinCmsSiteEntity.java |
18 |
Avoid variables with short names like id |
| 9381 |
src/weixin/cms/entity/WeixinCmsSiteEntity.java |
44 |
Avoid variables with short names like id |
| 9382 |
src/weixin/cms/entity/WeixinCmsSiteEntity.java |
44 |
Parameter 'id' is not assigned and could be declared final |
| 9383 |
src/weixin/cms/entity/WeixinCmsSiteEntity.java |
55 |
Parameter 'createName' is not assigned and could be declared final |
| 9384 |
src/weixin/cms/entity/WeixinCmsSiteEntity.java |
66 |
Parameter 'createDate' is not assigned and could be declared final |
| 9385 |
src/weixin/cms/entity/WeixinCmsSiteEntity.java |
77 |
Parameter 'updateName' is not assigned and could be declared final |
| 9386 |
src/weixin/cms/entity/WeixinCmsSiteEntity.java |
88 |
Parameter 'updateDate' is not assigned and could be declared final |
| 9387 |
src/weixin/cms/entity/WeixinCmsStyleEntity.java |
15 |
Classes implementing Serializable should set a serialVersionUID |
| 9388 |
src/weixin/cms/entity/WeixinCmsStyleEntity.java |
18 |
Avoid variables with short names like id |
| 9389 |
src/weixin/cms/entity/WeixinCmsStyleEntity.java |
43 |
Avoid variables with short names like id |
| 9390 |
src/weixin/cms/entity/WeixinCmsStyleEntity.java |
43 |
Parameter 'id' is not assigned and could be declared final |
| 9391 |
src/weixin/cms/entity/WeixinCmsStyleEntity.java |
54 |
Parameter 'createName' is not assigned and could be declared final |
| 9392 |
src/weixin/cms/entity/WeixinCmsStyleEntity.java |
65 |
Parameter 'createDate' is not assigned and could be declared final |
| 9393 |
src/weixin/cms/entity/WeixinCmsStyleEntity.java |
76 |
Parameter 'updateName' is not assigned and could be declared final |
| 9394 |
src/weixin/cms/entity/WeixinCmsStyleEntity.java |
87 |
Parameter 'updateDate' is not assigned and could be declared final |
| 9395 |
src/weixin/cms/entity/WeixinLeaveMsgEntity.java |
21 |
Classes implementing Serializable should set a serialVersionUID |
| 9396 |
src/weixin/cms/entity/WeixinLeaveMsgEntity.java |
22 |
Avoid variables with short names like id |
| 9397 |
src/weixin/cms/entity/WeixinLeaveMsgEntity.java |
41 |
Avoid variables with short names like id |
| 9398 |
src/weixin/cms/entity/WeixinLeaveMsgEntity.java |
41 |
Parameter 'id' is not assigned and could be declared final |
| 9399 |
src/weixin/cms/entity/WeixinLeaveMsgEntity.java |
50 |
Parameter 'nickName' is not assigned and could be declared final |
| 9400 |
src/weixin/cms/entity/WeixinLeaveMsgEntity.java |
59 |
Parameter 'content' is not assigned and could be declared final |
| 9401 |
src/weixin/cms/entity/WeixinLeaveMsgEntity.java |
68 |
Parameter 'accountid' is not assigned and could be declared final |
| 9402 |
src/weixin/cms/entity/WeixinLeaveMsgEntity.java |
77 |
Parameter 'createDate' is not assigned and could be declared final |
| 9403 |
src/weixin/cms/entity/WeixinLeaveMsgReplyEntity.java |
21 |
Classes implementing Serializable should set a serialVersionUID |
| 9404 |
src/weixin/cms/entity/WeixinLeaveMsgReplyEntity.java |
24 |
Avoid variables with short names like id |
| 9405 |
src/weixin/cms/entity/WeixinLeaveMsgReplyEntity.java |
42 |
Avoid variables with short names like id |
| 9406 |
src/weixin/cms/entity/WeixinLeaveMsgReplyEntity.java |
42 |
Parameter 'id' is not assigned and could be declared final |
| 9407 |
src/weixin/cms/entity/WeixinLeaveMsgReplyEntity.java |
53 |
Parameter 'msgId' is not assigned and could be declared final |
| 9408 |
src/weixin/cms/entity/WeixinLeaveMsgReplyEntity.java |
64 |
Parameter 'content' is not assigned and could be declared final |
| 9409 |
src/weixin/cms/entity/WeixinLeaveMsgReplyEntity.java |
75 |
Parameter 'createDate' is not assigned and could be declared final |
| 9410 |
src/weixin/cms/entity/WeixinLeaveMsgReplyEntity.java |
86 |
Parameter 'createBy' is not assigned and could be declared final |
| 9411 |
src/weixin/cms/service/AdServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 9412 |
src/weixin/cms/service/AdServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 9413 |
src/weixin/cms/service/AdServiceI.java |
14 |
Avoid modifiers which are implied by the context |
| 9414 |
src/weixin/cms/service/AdServiceI.java |
16 |
Avoid modifiers which are implied by the context |
| 9415 |
src/weixin/cms/service/CmsArticleServiceI.java |
10 |
Avoid excessively long variable names like paramCmsArticleEntity |
| 9416 |
src/weixin/cms/service/CmsArticleServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 9417 |
src/weixin/cms/service/CmsArticleServiceI.java |
12 |
Avoid excessively long variable names like paramCmsArticleEntity |
| 9418 |
src/weixin/cms/service/CmsArticleServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 9419 |
src/weixin/cms/service/CmsArticleServiceI.java |
14 |
Avoid modifiers which are implied by the context |
| 9420 |
src/weixin/cms/service/CmsArticleServiceI.java |
16 |
Avoid modifiers which are implied by the context |
| 9421 |
src/weixin/cms/service/CmsArticleServiceI.java |
18 |
Avoid modifiers which are implied by the context |
| 9422 |
src/weixin/cms/service/CmsMenuServiceI.java |
11 |
Avoid modifiers which are implied by the context |
| 9423 |
src/weixin/cms/service/CmsMenuServiceI.java |
13 |
Avoid excessively long variable names like paramCmsMenuEntity |
| 9424 |
src/weixin/cms/service/CmsMenuServiceI.java |
13 |
Avoid modifiers which are implied by the context |
| 9425 |
src/weixin/cms/service/CmsMenuServiceI.java |
15 |
Avoid excessively long variable names like paramCmsMenuEntity |
| 9426 |
src/weixin/cms/service/CmsMenuServiceI.java |
15 |
Avoid modifiers which are implied by the context |
| 9427 |
src/weixin/cms/service/CmsMenuServiceI.java |
17 |
Avoid modifiers which are implied by the context |
| 9428 |
src/weixin/cms/service/CmsMenuServiceI.java |
19 |
Avoid modifiers which are implied by the context |
| 9429 |
src/weixin/cms/service/WeixinCmsSiteServiceI.java |
9 |
Avoid modifiers which are implied by the context |
| 9430 |
src/weixin/cms/service/WeixinCmsSiteServiceI.java |
11 |
Avoid modifiers which are implied by the context |
| 9431 |
src/weixin/cms/service/WeixinCmsSiteServiceI.java |
13 |
Avoid modifiers which are implied by the context |
| 9432 |
src/weixin/cms/service/WeixinCmsSiteServiceI.java |
15 |
Avoid excessively long variable names like paramWeixinCmsSiteEntity |
| 9433 |
src/weixin/cms/service/WeixinCmsSiteServiceI.java |
15 |
Avoid modifiers which are implied by the context |
| 9434 |
src/weixin/cms/service/WeixinCmsSiteServiceI.java |
17 |
Avoid excessively long variable names like paramWeixinCmsSiteEntity |
| 9435 |
src/weixin/cms/service/WeixinCmsSiteServiceI.java |
17 |
Avoid modifiers which are implied by the context |
| 9436 |
src/weixin/cms/service/WeixinCmsSiteServiceI.java |
19 |
Avoid excessively long variable names like paramWeixinCmsSiteEntity |
| 9437 |
src/weixin/cms/service/WeixinCmsStyleServiceI.java |
9 |
Avoid modifiers which are implied by the context |
| 9438 |
src/weixin/cms/service/WeixinCmsStyleServiceI.java |
11 |
Avoid modifiers which are implied by the context |
| 9439 |
src/weixin/cms/service/WeixinCmsStyleServiceI.java |
13 |
Avoid modifiers which are implied by the context |
| 9440 |
src/weixin/cms/service/WeixinCmsStyleServiceI.java |
15 |
Avoid excessively long variable names like paramWeixinCmsStyleEntity |
| 9441 |
src/weixin/cms/service/WeixinCmsStyleServiceI.java |
15 |
Avoid modifiers which are implied by the context |
| 9442 |
src/weixin/cms/service/WeixinCmsStyleServiceI.java |
17 |
Avoid excessively long variable names like paramWeixinCmsStyleEntity |
| 9443 |
src/weixin/cms/service/WeixinCmsStyleServiceI.java |
17 |
Avoid modifiers which are implied by the context |
| 9444 |
src/weixin/cms/service/WeixinCmsStyleServiceI.java |
19 |
Avoid excessively long variable names like paramWeixinCmsStyleEntity |
| 9445 |
src/weixin/cms/service/WeixinLeaveMsgServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 9446 |
src/weixin/cms/service/impl/AdServiceImpl.java |
20 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9447 |
src/weixin/cms/service/impl/AdServiceImpl.java |
22 |
Parameter 'page' is not assigned and could be declared final |
| 9448 |
src/weixin/cms/service/impl/AdServiceImpl.java |
22 |
Parameter 'params' is not assigned and could be declared final |
| 9449 |
src/weixin/cms/service/impl/AdServiceImpl.java |
22 |
Parameter 'rows' is not assigned and could be declared final |
| 9450 |
src/weixin/cms/service/impl/AdServiceImpl.java |
27 |
Parameter 'params' is not assigned and could be declared final |
| 9451 |
src/weixin/cms/service/impl/AdServiceImpl.java |
32 |
Parameter 'adEntity' is not assigned and could be declared final |
| 9452 |
src/weixin/cms/service/impl/CmsArticleServiceImpl.java |
20 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9453 |
src/weixin/cms/service/impl/CmsArticleServiceImpl.java |
22 |
Parameter 'page' is not assigned and could be declared final |
| 9454 |
src/weixin/cms/service/impl/CmsArticleServiceImpl.java |
22 |
Parameter 'params' is not assigned and could be declared final |
| 9455 |
src/weixin/cms/service/impl/CmsArticleServiceImpl.java |
22 |
Parameter 'rows' is not assigned and could be declared final |
| 9456 |
src/weixin/cms/service/impl/CmsArticleServiceImpl.java |
27 |
Parameter 'params' is not assigned and could be declared final |
| 9457 |
src/weixin/cms/service/impl/CmsArticleServiceImpl.java |
32 |
Parameter 'cmsArticleEntity' is not assigned and could be declared final |
| 9458 |
src/weixin/cms/service/impl/CmsArticleServiceImpl.java |
47 |
Avoid variables with short names like id |
| 9459 |
src/weixin/cms/service/impl/CmsArticleServiceImpl.java |
54 |
Local variable 'article' could be declared final |
| 9460 |
src/weixin/cms/service/impl/CmsMenuServiceImpl.java |
22 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9461 |
src/weixin/cms/service/impl/CmsMenuServiceImpl.java |
25 |
Avoid excessively long variable names like weixinAccountService |
| 9462 |
src/weixin/cms/service/impl/CmsMenuServiceImpl.java |
25 |
Avoid unused private fields such as 'weixinAccountService'. |
| 9463 |
src/weixin/cms/service/impl/CmsMenuServiceImpl.java |
27 |
Parameter 'entity' is not assigned and could be declared final |
| 9464 |
src/weixin/cms/service/impl/CmsMenuServiceImpl.java |
29 |
Avoid variables with short names like t |
| 9465 |
src/weixin/cms/service/impl/CmsMenuServiceImpl.java |
29 |
Local variable 't' could be declared final |
| 9466 |
src/weixin/cms/service/impl/CmsMenuServiceImpl.java |
30 |
Consider simply returning the value vs storing it in local variable 't' |
| 9467 |
src/weixin/cms/service/impl/CmsMenuServiceImpl.java |
33 |
Parameter 'page' is not assigned and could be declared final |
| 9468 |
src/weixin/cms/service/impl/CmsMenuServiceImpl.java |
33 |
Parameter 'params' is not assigned and could be declared final |
| 9469 |
src/weixin/cms/service/impl/CmsMenuServiceImpl.java |
33 |
Parameter 'rows' is not assigned and could be declared final |
| 9470 |
src/weixin/cms/service/impl/CmsMenuServiceImpl.java |
38 |
Parameter 'params' is not assigned and could be declared final |
| 9471 |
src/weixin/cms/service/impl/WeixinCmsSiteServiceImpl.java |
16 |
Parameter 'entity' is not assigned and could be declared final |
| 9472 |
src/weixin/cms/service/impl/WeixinCmsSiteServiceImpl.java |
23 |
Parameter 'entity' is not assigned and could be declared final |
| 9473 |
src/weixin/cms/service/impl/WeixinCmsSiteServiceImpl.java |
24 |
Avoid variables with short names like t |
| 9474 |
src/weixin/cms/service/impl/WeixinCmsSiteServiceImpl.java |
24 |
Local variable 't' could be declared final |
| 9475 |
src/weixin/cms/service/impl/WeixinCmsSiteServiceImpl.java |
30 |
Parameter 'entity' is not assigned and could be declared final |
| 9476 |
src/weixin/cms/service/impl/WeixinCmsSiteServiceImpl.java |
36 |
Avoid variables with short names like t |
| 9477 |
src/weixin/cms/service/impl/WeixinCmsSiteServiceImpl.java |
36 |
Parameter 't' is not assigned and could be declared final |
| 9478 |
src/weixin/cms/service/impl/WeixinCmsSiteServiceImpl.java |
41 |
Avoid variables with short names like t |
| 9479 |
src/weixin/cms/service/impl/WeixinCmsSiteServiceImpl.java |
41 |
Parameter 't' is not assigned and could be declared final |
| 9480 |
src/weixin/cms/service/impl/WeixinCmsSiteServiceImpl.java |
46 |
Avoid variables with short names like t |
| 9481 |
src/weixin/cms/service/impl/WeixinCmsSiteServiceImpl.java |
51 |
Avoid reassigning parameters such as 'sql' |
| 9482 |
src/weixin/cms/service/impl/WeixinCmsSiteServiceImpl.java |
51 |
Avoid reassigning parameters such as 'sql' |
| 9483 |
src/weixin/cms/service/impl/WeixinCmsSiteServiceImpl.java |
51 |
Avoid reassigning parameters such as 'sql' |
| 9484 |
src/weixin/cms/service/impl/WeixinCmsSiteServiceImpl.java |
51 |
Avoid reassigning parameters such as 'sql' |
| 9485 |
src/weixin/cms/service/impl/WeixinCmsSiteServiceImpl.java |
51 |
Avoid reassigning parameters such as 'sql' |
| 9486 |
src/weixin/cms/service/impl/WeixinCmsSiteServiceImpl.java |
51 |
Avoid variables with short names like t |
| 9487 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
18 |
Parameter 'entity' is not assigned and could be declared final |
| 9488 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
25 |
Parameter 'entity' is not assigned and could be declared final |
| 9489 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
26 |
Avoid variables with short names like t |
| 9490 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
26 |
Local variable 't' could be declared final |
| 9491 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
32 |
Parameter 'entity' is not assigned and could be declared final |
| 9492 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
38 |
Avoid variables with short names like t |
| 9493 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
38 |
Parameter 't' is not assigned and could be declared final |
| 9494 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
43 |
Avoid variables with short names like t |
| 9495 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
43 |
Parameter 't' is not assigned and could be declared final |
| 9496 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
48 |
Avoid variables with short names like t |
| 9497 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
53 |
Avoid reassigning parameters such as 'sql' |
| 9498 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
53 |
Avoid reassigning parameters such as 'sql' |
| 9499 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
53 |
Avoid reassigning parameters such as 'sql' |
| 9500 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
53 |
Avoid reassigning parameters such as 'sql' |
| 9501 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
53 |
Avoid reassigning parameters such as 'sql' |
| 9502 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
53 |
Avoid variables with short names like t |
| 9503 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
70 |
Avoid excessively long variable names like weixinCmsSiteEntity |
| 9504 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
70 |
Local variable 'weixinCmsSiteEntity' could be declared final |
| 9505 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
72 |
Avoid excessively long variable names like weixinCmsStyleEntity |
| 9506 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
72 |
Found 'DD'-anomaly for variable 'weixinCmsStyleEntity' (lines '72'-'78'). |
| 9507 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
72 |
Found 'DU'-anomaly for variable 'weixinCmsStyleEntity' (lines '72'-'89'). |
| 9508 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
74 |
Found 'DD'-anomaly for variable 'stylePath' (lines '74'-'81'). |
| 9509 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
74 |
Found 'DD'-anomaly for variable 'stylePath' (lines '74'-'83'). |
| 9510 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
74 |
Found 'DD'-anomaly for variable 'stylePath' (lines '74'-'86'). |
| 9511 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
76 |
Avoid if (x != y) ..; else ..; |
| 9512 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
80 |
Avoid if (x != y) ..; else ..; |
| 9513 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
81 |
Avoid using if...else statements without curly braces |
| 9514 |
src/weixin/cms/service/impl/WeixinCmsStyleServiceImpl.java |
83 |
Avoid using if...else statements without curly braces |
| 9515 |
src/weixin/cms/service/impl/WeixinLeaveMsgServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 9516 |
src/weixin/cms/util/CmsFreemarkerHelper.java |
15 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 9517 |
src/weixin/cms/util/CmsFreemarkerHelper.java |
17 |
Parameter 'dir' is not assigned and could be declared final |
| 9518 |
src/weixin/cms/util/CmsFreemarkerHelper.java |
24 |
Avoid printStackTrace(); use a logger call instead. |
| 9519 |
src/weixin/cms/util/CmsFreemarkerHelper.java |
28 |
Parameter 'encoding' is not assigned and could be declared final |
| 9520 |
src/weixin/cms/util/CmsFreemarkerHelper.java |
28 |
Parameter 'paras' is not assigned and could be declared final |
| 9521 |
src/weixin/cms/util/CmsFreemarkerHelper.java |
28 |
Parameter 'tplName' is not assigned and could be declared final |
| 9522 |
src/weixin/cms/util/CmsFreemarkerHelper.java |
33 |
Local variable 'swriter' could be declared final |
| 9523 |
src/weixin/cms/util/CmsFreemarkerHelper.java |
34 |
Found 'DD'-anomaly for variable 'mytpl' (lines '34'-'35'). |
| 9524 |
src/weixin/cms/util/CmsFreemarkerHelper.java |
38 |
A method should have only one exit point, and that should be the last statement in the method |
| 9525 |
src/weixin/cms/util/CmsFreemarkerHelper.java |
41 |
Avoid printStackTrace(); use a logger call instead. |
| 9526 |
src/weixin/cms/util/CmsFreemarkerHelper.java |
46 |
Parameter 'paras' is not assigned and could be declared final |
| 9527 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
33 |
Variables that are final and static should be in all caps. |
| 9528 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
36 |
Avoid excessively long variable names like weixinAccountService |
| 9529 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9530 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
39 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9531 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
46 |
Parameter 'message' is not assigned and could be declared final |
| 9532 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
51 |
Parameter 'request' is not assigned and could be declared final |
| 9533 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
56 |
Parameter 'request' is not assigned and could be declared final |
| 9534 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
56 |
Parameter 'response' is not assigned and could be declared final |
| 9535 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
56 |
Parameter 'weixinAccount' is not assigned and could be declared final |
| 9536 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
58 |
Avoid variables with short names like cq |
| 9537 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
58 |
Local variable 'cq' could be declared final |
| 9538 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
71 |
Avoid reassigning parameters such as 'weixinAccount' |
| 9539 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
72 |
Avoid variables with short names like j |
| 9540 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
72 |
Found 'DU'-anomaly for variable 'j' (lines '72'-'87'). |
| 9541 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
72 |
Local variable 'j' could be declared final |
| 9542 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
83 |
New exception is thrown in catch block, original stack trace may be lost |
| 9543 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
92 |
Avoid variables with short names like j |
| 9544 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
92 |
Found 'DU'-anomaly for variable 'j' (lines '92'-'109'). |
| 9545 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
92 |
Local variable 'j' could be declared final |
| 9546 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
96 |
Local variable 'weixinAccount' could be declared final |
| 9547 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
105 |
New exception is thrown in catch block, original stack trace may be lost |
| 9548 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
114 |
Avoid variables with short names like j |
| 9549 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
114 |
Found 'DU'-anomaly for variable 'j' (lines '114'-'139'). |
| 9550 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
114 |
Local variable 'j' could be declared final |
| 9551 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
117 |
Avoid variables with short names like f |
| 9552 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
134 |
New exception is thrown in catch block, original stack trace may be lost |
| 9553 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
144 |
Found 'DU'-anomaly for variable 'j' (lines '144'-'161'). |
| 9554 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
155 |
New exception is thrown in catch block, original stack trace may be lost |
| 9555 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
158 |
Avoid excessively long variable names like weixinAccountEntity |
| 9556 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
164 |
Avoid reassigning parameters such as 'weixinAccount' |
| 9557 |
src/weixin/guanjia/account/controller/WeixinAccountController.java |
175 |
Avoid reassigning parameters such as 'weixinAccount' |
| 9558 |
src/weixin/guanjia/account/entity/WeixinAccountEntity.java |
3 |
Avoid unused imports such as 'java.io.Serializable' |
| 9559 |
src/weixin/guanjia/account/entity/WeixinAccountEntity.java |
3 |
Avoid unused imports such as 'java.io.Serializable' |
| 9560 |
src/weixin/guanjia/account/entity/WeixinAccountEntity.java |
8 |
Avoid unused imports such as 'javax.persistence.GeneratedValue' |
| 9561 |
src/weixin/guanjia/account/entity/WeixinAccountEntity.java |
8 |
Avoid unused imports such as 'javax.persistence.GeneratedValue' |
| 9562 |
src/weixin/guanjia/account/entity/WeixinAccountEntity.java |
9 |
Avoid unused imports such as 'javax.persistence.Id' |
| 9563 |
src/weixin/guanjia/account/entity/WeixinAccountEntity.java |
9 |
Avoid unused imports such as 'javax.persistence.Id' |
| 9564 |
src/weixin/guanjia/account/entity/WeixinAccountEntity.java |
12 |
Avoid unused imports such as 'org.hibernate.annotations.GenericGenerator' |
| 9565 |
src/weixin/guanjia/account/entity/WeixinAccountEntity.java |
12 |
Avoid unused imports such as 'org.hibernate.annotations.GenericGenerator' |
| 9566 |
src/weixin/guanjia/account/entity/WeixinAccountEntity.java |
43 |
Avoid excessively long variable names like accountaccesstoken |
| 9567 |
src/weixin/guanjia/account/entity/WeixinAccountEntity.java |
52 |
Parameter 'accountname' is not assigned and could be declared final |
| 9568 |
src/weixin/guanjia/account/entity/WeixinAccountEntity.java |
61 |
Parameter 'accounttoken' is not assigned and could be declared final |
| 9569 |
src/weixin/guanjia/account/entity/WeixinAccountEntity.java |
70 |
Parameter 'accountnumber' is not assigned and could be declared final |
| 9570 |
src/weixin/guanjia/account/entity/WeixinAccountEntity.java |
78 |
Parameter 'weixinaccountid' is not assigned and could be declared final |
| 9571 |
src/weixin/guanjia/account/entity/WeixinAccountEntity.java |
87 |
Parameter 'accounttype' is not assigned and could be declared final |
| 9572 |
src/weixin/guanjia/account/entity/WeixinAccountEntity.java |
132 |
Avoid excessively long variable names like accountaccesstoken |
| 9573 |
src/weixin/guanjia/account/service/WeixinAccountServiceI.java |
17 |
Avoid modifiers which are implied by the context |
| 9574 |
src/weixin/guanjia/account/service/WeixinAccountServiceI.java |
19 |
Avoid modifiers which are implied by the context |
| 9575 |
src/weixin/guanjia/account/service/WeixinAccountServiceI.java |
21 |
Avoid modifiers which are implied by the context |
| 9576 |
src/weixin/guanjia/account/service/WeixinAccountServiceI.java |
23 |
Avoid modifiers which are implied by the context |
| 9577 |
src/weixin/guanjia/account/service/WeixinAccountServiceI.java |
24 |
Avoid excessively long variable names like paramWeixinAccountEntity |
| 9578 |
src/weixin/guanjia/account/service/WeixinAccountServiceI.java |
26 |
Avoid modifiers which are implied by the context |
| 9579 |
src/weixin/guanjia/account/service/WeixinAccountServiceI.java |
27 |
Avoid excessively long variable names like paramWeixinAccountEntity |
| 9580 |
src/weixin/guanjia/account/service/WeixinAccountServiceI.java |
30 |
Avoid excessively long variable names like paramWeixinAccountEntity |
| 9581 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
25 |
Parameter 'entity' is not assigned and could be declared final |
| 9582 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
31 |
Parameter 'entity' is not assigned and could be declared final |
| 9583 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
32 |
Avoid variables with short names like t |
| 9584 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
32 |
Local variable 't' could be declared final |
| 9585 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
38 |
Parameter 'entity' is not assigned and could be declared final |
| 9586 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
44 |
Avoid variables with short names like t |
| 9587 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
44 |
Parameter 't' is not assigned and could be declared final |
| 9588 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
48 |
Avoid variables with short names like t |
| 9589 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
48 |
Parameter 't' is not assigned and could be declared final |
| 9590 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
52 |
Avoid variables with short names like t |
| 9591 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
57 |
Found 'DD'-anomaly for variable 'token' (lines '57'-'61'). |
| 9592 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
59 |
Local variable 'account' could be declared final |
| 9593 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
64 |
Found 'DD'-anomaly for variable 'wrongMessage' (lines '64'-'122'). |
| 9594 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
64 |
Found 'DD'-anomaly for variable 'wrongMessage' (lines '64'-'90'). |
| 9595 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
64 |
Found 'DU'-anomaly for variable 'wrongMessage' (lines '64'-'132'). |
| 9596 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
65 |
Avoid if (x != y) ..; else ..; |
| 9597 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
67 |
Local variable 'end' could be declared final |
| 9598 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
68 |
Local variable 'start' could be declared final |
| 9599 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
70 |
Local variable 'requestUrl' could be declared final |
| 9600 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
70 |
The String literal "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET" appears 5 times in this file; the first occurrence is on line 70 |
| 9601 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
71 |
The String literal "APPID" appears 5 times in this file; the first occurrence is on line 71 |
| 9602 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
72 |
The String literal "APPSECRET" appears 5 times in this file; the first occurrence is on line 72 |
| 9603 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
75 |
The String literal "GET" appears 5 times in this file; the first occurrence is on line 75 |
| 9604 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
79 |
The String literal "access_token" appears 5 times in this file; the first occurrence is on line 79 |
| 9605 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
88 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 9606 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
97 |
A method should have only one exit point, and that should be the last statement in the method |
| 9607 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
120 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 9608 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
135 |
Found 'DD'-anomaly for variable 'token' (lines '135'-'147'). |
| 9609 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
136 |
Avoid excessively long variable names like weixinAccountEntity |
| 9610 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
154 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 9611 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
168 |
Avoid excessively long variable names like weixinAccountEntity |
| 9612 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
172 |
Avoid if (x != y) ..; else ..; |
| 9613 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
194 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 9614 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
203 |
A method should have only one exit point, and that should be the last statement in the method |
| 9615 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
223 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 9616 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
242 |
Avoid excessively long variable names like weixinAccountEntity |
| 9617 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
242 |
Avoid if (x != y) ..; else ..; |
| 9618 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
242 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 9619 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
246 |
A method should have only one exit point, and that should be the last statement in the method |
| 9620 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
267 |
Avoid reassigning parameters such as 'sql' |
| 9621 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
267 |
Avoid reassigning parameters such as 'sql' |
| 9622 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
267 |
Avoid reassigning parameters such as 'sql' |
| 9623 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
267 |
Avoid reassigning parameters such as 'sql' |
| 9624 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
267 |
Avoid reassigning parameters such as 'sql' |
| 9625 |
src/weixin/guanjia/account/service/impl/WeixinAccountServiceImpl.java |
267 |
Avoid variables with short names like t |
| 9626 |
src/weixin/guanjia/around/controller/AroundController.java |
30 |
Avoid unused private fields such as 'logger'. |
| 9627 |
src/weixin/guanjia/around/controller/AroundController.java |
30 |
Variables that are final and static should be in all caps. |
| 9628 |
src/weixin/guanjia/around/controller/AroundController.java |
33 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9629 |
src/weixin/guanjia/around/controller/AroundController.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9630 |
src/weixin/guanjia/around/controller/AroundController.java |
43 |
Parameter 'message' is not assigned and could be declared final |
| 9631 |
src/weixin/guanjia/around/controller/AroundController.java |
48 |
Parameter 'request' is not assigned and could be declared final |
| 9632 |
src/weixin/guanjia/around/controller/AroundController.java |
53 |
Parameter 'around' is not assigned and could be declared final |
| 9633 |
src/weixin/guanjia/around/controller/AroundController.java |
53 |
Parameter 'request' is not assigned and could be declared final |
| 9634 |
src/weixin/guanjia/around/controller/AroundController.java |
53 |
Parameter 'response' is not assigned and could be declared final |
| 9635 |
src/weixin/guanjia/around/controller/AroundController.java |
55 |
Avoid variables with short names like cq |
| 9636 |
src/weixin/guanjia/around/controller/AroundController.java |
55 |
Local variable 'cq' could be declared final |
| 9637 |
src/weixin/guanjia/around/controller/AroundController.java |
56 |
Local variable 'accountid' could be declared final |
| 9638 |
src/weixin/guanjia/around/controller/AroundController.java |
68 |
Avoid reassigning parameters such as 'around' |
| 9639 |
src/weixin/guanjia/around/controller/AroundController.java |
69 |
Avoid variables with short names like j |
| 9640 |
src/weixin/guanjia/around/controller/AroundController.java |
69 |
Local variable 'j' could be declared final |
| 9641 |
src/weixin/guanjia/around/controller/AroundController.java |
82 |
Avoid variables with short names like j |
| 9642 |
src/weixin/guanjia/around/controller/AroundController.java |
82 |
Local variable 'j' could be declared final |
| 9643 |
src/weixin/guanjia/around/controller/AroundController.java |
85 |
Avoid variables with short names like t |
| 9644 |
src/weixin/guanjia/around/controller/AroundController.java |
85 |
Local variable 't' could be declared final |
| 9645 |
src/weixin/guanjia/around/controller/AroundController.java |
91 |
Avoid printStackTrace(); use a logger call instead. |
| 9646 |
src/weixin/guanjia/around/controller/AroundController.java |
107 |
Avoid reassigning parameters such as 'around' |
| 9647 |
src/weixin/guanjia/around/controller/AroundController.java |
118 |
Avoid variables with short names like j |
| 9648 |
src/weixin/guanjia/around/entity/AroundEntity.java |
25 |
Avoid variables with short names like id |
| 9649 |
src/weixin/guanjia/around/entity/AroundEntity.java |
41 |
Avoid variables with short names like id |
| 9650 |
src/weixin/guanjia/around/entity/AroundEntity.java |
41 |
Parameter 'id' is not assigned and could be declared final |
| 9651 |
src/weixin/guanjia/around/entity/AroundEntity.java |
50 |
Parameter 'keyword' is not assigned and could be declared final |
| 9652 |
src/weixin/guanjia/around/entity/AroundEntity.java |
59 |
Parameter 'area' is not assigned and could be declared final |
| 9653 |
src/weixin/guanjia/around/entity/AroundEntity.java |
68 |
Parameter 'radius' is not assigned and could be declared final |
| 9654 |
src/weixin/guanjia/around/entity/AroundEntity.java |
77 |
Parameter 'addtime' is not assigned and could be declared final |
| 9655 |
src/weixin/guanjia/around/service/AroundServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 9656 |
src/weixin/guanjia/around/service/impl/AroundServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 9657 |
src/weixin/guanjia/base/controller/SubscribeController.java |
37 |
The class 'SubscribeController' has a Cyclomatic Complexity of 3 (Highest = 13). |
| 9658 |
src/weixin/guanjia/base/controller/SubscribeController.java |
38 |
Variables that are final and static should be in all caps. |
| 9659 |
src/weixin/guanjia/base/controller/SubscribeController.java |
40 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9660 |
src/weixin/guanjia/base/controller/SubscribeController.java |
42 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9661 |
src/weixin/guanjia/base/controller/SubscribeController.java |
44 |
Avoid excessively long variable names like newsTemplateService |
| 9662 |
src/weixin/guanjia/base/controller/SubscribeController.java |
44 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9663 |
src/weixin/guanjia/base/controller/SubscribeController.java |
46 |
Avoid excessively long variable names like textTemplateService |
| 9664 |
src/weixin/guanjia/base/controller/SubscribeController.java |
46 |
Avoid unused private fields such as 'textTemplateService'. |
| 9665 |
src/weixin/guanjia/base/controller/SubscribeController.java |
57 |
Parameter 'request' is not assigned and could be declared final |
| 9666 |
src/weixin/guanjia/base/controller/SubscribeController.java |
57 |
Parameter 'response' is not assigned and could be declared final |
| 9667 |
src/weixin/guanjia/base/controller/SubscribeController.java |
57 |
Parameter 'subscribe' is not assigned and could be declared final |
| 9668 |
src/weixin/guanjia/base/controller/SubscribeController.java |
58 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 9669 |
src/weixin/guanjia/base/controller/SubscribeController.java |
59 |
Avoid variables with short names like cq |
| 9670 |
src/weixin/guanjia/base/controller/SubscribeController.java |
59 |
Local variable 'cq' could be declared final |
| 9671 |
src/weixin/guanjia/base/controller/SubscribeController.java |
69 |
Avoid reassigning parameters such as 'subscribe' |
| 9672 |
src/weixin/guanjia/base/controller/SubscribeController.java |
69 |
Parameter 'req' is not assigned and could be declared final |
| 9673 |
src/weixin/guanjia/base/controller/SubscribeController.java |
70 |
Avoid variables with short names like j |
| 9674 |
src/weixin/guanjia/base/controller/SubscribeController.java |
70 |
Local variable 'j' could be declared final |
| 9675 |
src/weixin/guanjia/base/controller/SubscribeController.java |
84 |
Avoid variables with short names like id |
| 9676 |
src/weixin/guanjia/base/controller/SubscribeController.java |
84 |
Local variable 'id' could be declared final |
| 9677 |
src/weixin/guanjia/base/controller/SubscribeController.java |
87 |
Local variable 'textList' could be declared final |
| 9678 |
src/weixin/guanjia/base/controller/SubscribeController.java |
89 |
Local variable 'newsList' could be declared final |
| 9679 |
src/weixin/guanjia/base/controller/SubscribeController.java |
97 |
Avoid variables with short names like lx |
| 9680 |
src/weixin/guanjia/base/controller/SubscribeController.java |
108 |
Avoid using short method names |
| 9681 |
src/weixin/guanjia/base/controller/SubscribeController.java |
108 |
The method 'su' has a Cyclomatic Complexity of 13. |
| 9682 |
src/weixin/guanjia/base/controller/SubscribeController.java |
109 |
Found 'DU'-anomaly for variable 'accountId' (lines '109'-'171'). |
| 9683 |
src/weixin/guanjia/base/controller/SubscribeController.java |
110 |
Avoid variables with short names like j |
| 9684 |
src/weixin/guanjia/base/controller/SubscribeController.java |
119 |
Found 'DD'-anomaly for variable 'templateName' (lines '119'-'124'). |
| 9685 |
src/weixin/guanjia/base/controller/SubscribeController.java |
119 |
Found 'DD'-anomaly for variable 'templateName' (lines '119'-'128'). |
| 9686 |
src/weixin/guanjia/base/controller/SubscribeController.java |
120 |
Found 'DU'-anomaly for variable 'templateId' (lines '120'-'171'). |
| 9687 |
src/weixin/guanjia/base/controller/SubscribeController.java |
123 |
Avoid using if statements without curly braces |
| 9688 |
src/weixin/guanjia/base/controller/SubscribeController.java |
143 |
A method should have only one exit point, and that should be the last statement in the method |
| 9689 |
src/weixin/guanjia/base/controller/SubscribeController.java |
145 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 9690 |
src/weixin/guanjia/base/controller/SubscribeController.java |
147 |
Found 'DU'-anomaly for variable 'templateId' (lines '147'-'171'). |
| 9691 |
src/weixin/guanjia/base/controller/SubscribeController.java |
149 |
Found 'DD'-anomaly for variable 'templateName' (lines '149'-'153'). |
| 9692 |
src/weixin/guanjia/base/controller/SubscribeController.java |
149 |
Found 'DD'-anomaly for variable 'templateName' (lines '149'-'157'). |
| 9693 |
src/weixin/guanjia/base/controller/SubscribeController.java |
152 |
Avoid using if statements without curly braces |
| 9694 |
src/weixin/guanjia/base/controller/SubscribeController.java |
163 |
Avoid if (x != y) ..; else ..; |
| 9695 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
37 |
The class 'UnknownResponseController' has a Cyclomatic Complexity of 3 (Highest = 13). |
| 9696 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
38 |
Variables that are final and static should be in all caps. |
| 9697 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
40 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9698 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
42 |
Avoid excessively long variable names like unknownResponseService |
| 9699 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
42 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9700 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
44 |
Avoid excessively long variable names like newsTemplateService |
| 9701 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
44 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9702 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
46 |
Avoid excessively long variable names like textTemplateService |
| 9703 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
46 |
Avoid unused private fields such as 'textTemplateService'. |
| 9704 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
57 |
Parameter 'request' is not assigned and could be declared final |
| 9705 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
57 |
Parameter 'response' is not assigned and could be declared final |
| 9706 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
57 |
Parameter 'unknownResponse' is not assigned and could be declared final |
| 9707 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
58 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 9708 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
59 |
Avoid variables with short names like cq |
| 9709 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
59 |
Local variable 'cq' could be declared final |
| 9710 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
60 |
The String literal "accountId" appears 4 times in this file; the first occurrence is on line 60 |
| 9711 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
69 |
Avoid reassigning parameters such as 'unknownResponse' |
| 9712 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
69 |
Parameter 'req' is not assigned and could be declared final |
| 9713 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
70 |
Avoid variables with short names like j |
| 9714 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
70 |
Local variable 'j' could be declared final |
| 9715 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
84 |
Avoid variables with short names like id |
| 9716 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
84 |
Local variable 'id' could be declared final |
| 9717 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
87 |
Local variable 'textList' could be declared final |
| 9718 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
89 |
Local variable 'newsList' could be declared final |
| 9719 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
97 |
Avoid variables with short names like lx |
| 9720 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
108 |
Avoid using short method names |
| 9721 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
108 |
The method 'su' has a Cyclomatic Complexity of 13. |
| 9722 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
109 |
Found 'DU'-anomaly for variable 'accountId' (lines '109'-'171'). |
| 9723 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
110 |
Avoid variables with short names like j |
| 9724 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
119 |
Found 'DD'-anomaly for variable 'templateName' (lines '119'-'124'). |
| 9725 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
119 |
Found 'DD'-anomaly for variable 'templateName' (lines '119'-'128'). |
| 9726 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
120 |
Found 'DU'-anomaly for variable 'templateId' (lines '120'-'171'). |
| 9727 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
123 |
Avoid using if statements without curly braces |
| 9728 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
143 |
A method should have only one exit point, and that should be the last statement in the method |
| 9729 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
145 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 9730 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
147 |
Found 'DU'-anomaly for variable 'templateId' (lines '147'-'171'). |
| 9731 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
149 |
Found 'DD'-anomaly for variable 'templateName' (lines '149'-'153'). |
| 9732 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
149 |
Found 'DD'-anomaly for variable 'templateName' (lines '149'-'157'). |
| 9733 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
152 |
Avoid using if statements without curly braces |
| 9734 |
src/weixin/guanjia/base/controller/UnknownResponseController.java |
163 |
Avoid if (x != y) ..; else ..; |
| 9735 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
29 |
Variables that are final and static should be in all caps. |
| 9736 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
32 |
Avoid excessively long variable names like weixinExpandconfigService |
| 9737 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
32 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9738 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
35 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9739 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
42 |
Parameter 'message' is not assigned and could be declared final |
| 9740 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
47 |
Parameter 'request' is not assigned and could be declared final |
| 9741 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
52 |
Avoid excessively long variable names like weixinExpandconfig |
| 9742 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
52 |
Parameter 'request' is not assigned and could be declared final |
| 9743 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
52 |
Parameter 'weixinExpandconfig' is not assigned and could be declared final |
| 9744 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
53 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 9745 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
54 |
Avoid variables with short names like cq |
| 9746 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
54 |
Local variable 'cq' could be declared final |
| 9747 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
55 |
Local variable 'accountId' could be declared final |
| 9748 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
57 |
Avoid using if...else statements without curly braces |
| 9749 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
71 |
Avoid excessively long variable names like weixinExpandconfig |
| 9750 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
71 |
Avoid reassigning parameters such as 'weixinExpandconfig' |
| 9751 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
72 |
Avoid variables with short names like j |
| 9752 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
72 |
Found 'DU'-anomaly for variable 'j' (lines '72'-'86'). |
| 9753 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
72 |
Local variable 'j' could be declared final |
| 9754 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
82 |
New exception is thrown in catch block, original stack trace may be lost |
| 9755 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
91 |
Avoid variables with short names like j |
| 9756 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
91 |
Found 'DU'-anomaly for variable 'j' (lines '91'-'107'). |
| 9757 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
91 |
Local variable 'j' could be declared final |
| 9758 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
95 |
Avoid excessively long variable names like weixinExpandconfig |
| 9759 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
95 |
Local variable 'weixinExpandconfig' could be declared final |
| 9760 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
103 |
New exception is thrown in catch block, original stack trace may be lost |
| 9761 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
111 |
Avoid excessively long variable names like weixinExpandconfig |
| 9762 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
112 |
Avoid variables with short names like j |
| 9763 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
112 |
Found 'DU'-anomaly for variable 'j' (lines '112'-'125'). |
| 9764 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
121 |
New exception is thrown in catch block, original stack trace may be lost |
| 9765 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
130 |
Avoid variables with short names like j |
| 9766 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
130 |
Found 'DU'-anomaly for variable 'j' (lines '130'-'145'). |
| 9767 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
141 |
New exception is thrown in catch block, original stack trace may be lost |
| 9768 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
148 |
Avoid reassigning parameters such as 'weixinExpandconfig' |
| 9769 |
src/weixin/guanjia/base/controller/WeixinExpandconfigController.java |
158 |
Avoid reassigning parameters such as 'weixinExpandconfig' |
| 9770 |
src/weixin/guanjia/base/entity/Subscribe.java |
24 |
Parameter 'accountid' is not assigned and could be declared final |
| 9771 |
src/weixin/guanjia/base/entity/Subscribe.java |
32 |
Parameter 'templateName' is not assigned and could be declared final |
| 9772 |
src/weixin/guanjia/base/entity/Subscribe.java |
40 |
Parameter 'templateId' is not assigned and could be declared final |
| 9773 |
src/weixin/guanjia/base/entity/Subscribe.java |
44 |
Parameter 'msgType' is not assigned and could be declared final |
| 9774 |
src/weixin/guanjia/base/entity/Subscribe.java |
56 |
Parameter 'addTime' is not assigned and could be declared final |
| 9775 |
src/weixin/guanjia/base/entity/UnknownResponse.java |
24 |
Parameter 'accountId' is not assigned and could be declared final |
| 9776 |
src/weixin/guanjia/base/entity/UnknownResponse.java |
32 |
Parameter 'templateName' is not assigned and could be declared final |
| 9777 |
src/weixin/guanjia/base/entity/UnknownResponse.java |
40 |
Parameter 'templateId' is not assigned and could be declared final |
| 9778 |
src/weixin/guanjia/base/entity/UnknownResponse.java |
44 |
Parameter 'msgType' is not assigned and could be declared final |
| 9779 |
src/weixin/guanjia/base/entity/UnknownResponse.java |
56 |
Parameter 'addTime' is not assigned and could be declared final |
| 9780 |
src/weixin/guanjia/base/entity/WeixinExpandconfigEntity.java |
27 |
Parameter 'keyword' is not assigned and could be declared final |
| 9781 |
src/weixin/guanjia/base/entity/WeixinExpandconfigEntity.java |
36 |
Parameter 'classname' is not assigned and could be declared final |
| 9782 |
src/weixin/guanjia/base/entity/WeixinExpandconfigEntity.java |
45 |
Parameter 'accountId' is not assigned and could be declared final |
| 9783 |
src/weixin/guanjia/base/entity/WeixinExpandconfigEntity.java |
54 |
Parameter 'name' is not assigned and could be declared final |
| 9784 |
src/weixin/guanjia/base/entity/WeixinExpandconfigEntity.java |
63 |
Parameter 'content' is not assigned and could be declared final |
| 9785 |
src/weixin/guanjia/base/service/SubscribeServiceI.java |
8 |
Avoid modifiers which are implied by the context |
| 9786 |
src/weixin/guanjia/base/service/SubscribeServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 9787 |
src/weixin/guanjia/base/service/SubscribeServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 9788 |
src/weixin/guanjia/base/service/SubscribeServiceI.java |
14 |
Avoid modifiers which are implied by the context |
| 9789 |
src/weixin/guanjia/base/service/SubscribeServiceI.java |
16 |
Avoid modifiers which are implied by the context |
| 9790 |
src/weixin/guanjia/base/service/UnknownResponseServiceI.java |
8 |
Avoid modifiers which are implied by the context |
| 9791 |
src/weixin/guanjia/base/service/UnknownResponseServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 9792 |
src/weixin/guanjia/base/service/UnknownResponseServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 9793 |
src/weixin/guanjia/base/service/UnknownResponseServiceI.java |
14 |
Avoid excessively long variable names like paramUnknownResponse |
| 9794 |
src/weixin/guanjia/base/service/UnknownResponseServiceI.java |
14 |
Avoid modifiers which are implied by the context |
| 9795 |
src/weixin/guanjia/base/service/UnknownResponseServiceI.java |
16 |
Avoid excessively long variable names like paramUnknownResponse |
| 9796 |
src/weixin/guanjia/base/service/UnknownResponseServiceI.java |
16 |
Avoid modifiers which are implied by the context |
| 9797 |
src/weixin/guanjia/base/service/UnknownResponseServiceI.java |
18 |
Avoid excessively long variable names like paramUnknownResponse |
| 9798 |
src/weixin/guanjia/base/service/WeixinExpandconfigServiceI.java |
8 |
Avoid modifiers which are implied by the context |
| 9799 |
src/weixin/guanjia/base/service/WeixinExpandconfigServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 9800 |
src/weixin/guanjia/base/service/WeixinExpandconfigServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 9801 |
src/weixin/guanjia/base/service/WeixinExpandconfigServiceI.java |
14 |
Avoid excessively long variable names like paramWeixinExpandconfigEntity |
| 9802 |
src/weixin/guanjia/base/service/WeixinExpandconfigServiceI.java |
14 |
Avoid modifiers which are implied by the context |
| 9803 |
src/weixin/guanjia/base/service/WeixinExpandconfigServiceI.java |
16 |
Avoid excessively long variable names like paramWeixinExpandconfigEntity |
| 9804 |
src/weixin/guanjia/base/service/WeixinExpandconfigServiceI.java |
16 |
Avoid modifiers which are implied by the context |
| 9805 |
src/weixin/guanjia/base/service/WeixinExpandconfigServiceI.java |
18 |
Avoid excessively long variable names like paramWeixinExpandconfigEntity |
| 9806 |
src/weixin/guanjia/base/service/impl/SubscribeServiceImpl.java |
18 |
Avoid excessively long variable names like weixinAccountService |
| 9807 |
src/weixin/guanjia/base/service/impl/SubscribeServiceImpl.java |
18 |
Avoid unused private fields such as 'weixinAccountService'. |
| 9808 |
src/weixin/guanjia/base/service/impl/SubscribeServiceImpl.java |
20 |
Parameter 'entity' is not assigned and could be declared final |
| 9809 |
src/weixin/guanjia/base/service/impl/SubscribeServiceImpl.java |
26 |
Parameter 'entity' is not assigned and could be declared final |
| 9810 |
src/weixin/guanjia/base/service/impl/SubscribeServiceImpl.java |
27 |
Local variable 'subscribe' could be declared final |
| 9811 |
src/weixin/guanjia/base/service/impl/SubscribeServiceImpl.java |
29 |
Avoid variables with short names like t |
| 9812 |
src/weixin/guanjia/base/service/impl/SubscribeServiceImpl.java |
29 |
Local variable 't' could be declared final |
| 9813 |
src/weixin/guanjia/base/service/impl/SubscribeServiceImpl.java |
35 |
Parameter 'entity' is not assigned and could be declared final |
| 9814 |
src/weixin/guanjia/base/service/impl/SubscribeServiceImpl.java |
41 |
Avoid variables with short names like t |
| 9815 |
src/weixin/guanjia/base/service/impl/SubscribeServiceImpl.java |
41 |
Parameter 't' is not assigned and could be declared final |
| 9816 |
src/weixin/guanjia/base/service/impl/SubscribeServiceImpl.java |
45 |
Avoid variables with short names like t |
| 9817 |
src/weixin/guanjia/base/service/impl/SubscribeServiceImpl.java |
45 |
Parameter 't' is not assigned and could be declared final |
| 9818 |
src/weixin/guanjia/base/service/impl/SubscribeServiceImpl.java |
49 |
Avoid variables with short names like t |
| 9819 |
src/weixin/guanjia/base/service/impl/UnknownResponseServiceImpl.java |
18 |
Avoid excessively long variable names like weixinAccountService |
| 9820 |
src/weixin/guanjia/base/service/impl/UnknownResponseServiceImpl.java |
18 |
Avoid unused private fields such as 'weixinAccountService'. |
| 9821 |
src/weixin/guanjia/base/service/impl/UnknownResponseServiceImpl.java |
20 |
Parameter 'entity' is not assigned and could be declared final |
| 9822 |
src/weixin/guanjia/base/service/impl/UnknownResponseServiceImpl.java |
26 |
Parameter 'entity' is not assigned and could be declared final |
| 9823 |
src/weixin/guanjia/base/service/impl/UnknownResponseServiceImpl.java |
27 |
Local variable 'subscribe' could be declared final |
| 9824 |
src/weixin/guanjia/base/service/impl/UnknownResponseServiceImpl.java |
29 |
Avoid variables with short names like t |
| 9825 |
src/weixin/guanjia/base/service/impl/UnknownResponseServiceImpl.java |
29 |
Local variable 't' could be declared final |
| 9826 |
src/weixin/guanjia/base/service/impl/UnknownResponseServiceImpl.java |
35 |
Parameter 'entity' is not assigned and could be declared final |
| 9827 |
src/weixin/guanjia/base/service/impl/UnknownResponseServiceImpl.java |
41 |
Avoid variables with short names like t |
| 9828 |
src/weixin/guanjia/base/service/impl/UnknownResponseServiceImpl.java |
41 |
Parameter 't' is not assigned and could be declared final |
| 9829 |
src/weixin/guanjia/base/service/impl/UnknownResponseServiceImpl.java |
45 |
Avoid variables with short names like t |
| 9830 |
src/weixin/guanjia/base/service/impl/UnknownResponseServiceImpl.java |
45 |
Parameter 't' is not assigned and could be declared final |
| 9831 |
src/weixin/guanjia/base/service/impl/UnknownResponseServiceImpl.java |
49 |
Avoid variables with short names like t |
| 9832 |
src/weixin/guanjia/base/service/impl/WeixinExpandconfigServiceImpl.java |
14 |
Parameter 'entity' is not assigned and could be declared final |
| 9833 |
src/weixin/guanjia/base/service/impl/WeixinExpandconfigServiceImpl.java |
20 |
Parameter 'entity' is not assigned and could be declared final |
| 9834 |
src/weixin/guanjia/base/service/impl/WeixinExpandconfigServiceImpl.java |
21 |
Avoid variables with short names like t |
| 9835 |
src/weixin/guanjia/base/service/impl/WeixinExpandconfigServiceImpl.java |
21 |
Local variable 't' could be declared final |
| 9836 |
src/weixin/guanjia/base/service/impl/WeixinExpandconfigServiceImpl.java |
27 |
Parameter 'entity' is not assigned and could be declared final |
| 9837 |
src/weixin/guanjia/base/service/impl/WeixinExpandconfigServiceImpl.java |
33 |
Avoid variables with short names like t |
| 9838 |
src/weixin/guanjia/base/service/impl/WeixinExpandconfigServiceImpl.java |
33 |
Parameter 't' is not assigned and could be declared final |
| 9839 |
src/weixin/guanjia/base/service/impl/WeixinExpandconfigServiceImpl.java |
37 |
Avoid variables with short names like t |
| 9840 |
src/weixin/guanjia/base/service/impl/WeixinExpandconfigServiceImpl.java |
37 |
Parameter 't' is not assigned and could be declared final |
| 9841 |
src/weixin/guanjia/base/service/impl/WeixinExpandconfigServiceImpl.java |
41 |
Avoid variables with short names like t |
| 9842 |
src/weixin/guanjia/base/service/impl/WeixinExpandconfigServiceImpl.java |
45 |
Avoid reassigning parameters such as 'sql' |
| 9843 |
src/weixin/guanjia/base/service/impl/WeixinExpandconfigServiceImpl.java |
45 |
Avoid reassigning parameters such as 'sql' |
| 9844 |
src/weixin/guanjia/base/service/impl/WeixinExpandconfigServiceImpl.java |
45 |
Avoid reassigning parameters such as 'sql' |
| 9845 |
src/weixin/guanjia/base/service/impl/WeixinExpandconfigServiceImpl.java |
45 |
Avoid reassigning parameters such as 'sql' |
| 9846 |
src/weixin/guanjia/base/service/impl/WeixinExpandconfigServiceImpl.java |
45 |
Avoid reassigning parameters such as 'sql' |
| 9847 |
src/weixin/guanjia/base/service/impl/WeixinExpandconfigServiceImpl.java |
45 |
Avoid variables with short names like t |
| 9848 |
src/weixin/guanjia/core/controller/WechatController.java |
26 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9849 |
src/weixin/guanjia/core/controller/WechatController.java |
29 |
Avoid excessively long variable names like weixinAccountService |
| 9850 |
src/weixin/guanjia/core/controller/WechatController.java |
29 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9851 |
src/weixin/guanjia/core/controller/WechatController.java |
32 |
Parameter 'request' is not assigned and could be declared final |
| 9852 |
src/weixin/guanjia/core/controller/WechatController.java |
32 |
Parameter 'response' is not assigned and could be declared final |
| 9853 |
src/weixin/guanjia/core/controller/WechatController.java |
33 |
Parameter 'signature' is not assigned and could be declared final |
| 9854 |
src/weixin/guanjia/core/controller/WechatController.java |
33 |
Parameter 'timestamp' is not assigned and could be declared final |
| 9855 |
src/weixin/guanjia/core/controller/WechatController.java |
34 |
Parameter 'echostr' is not assigned and could be declared final |
| 9856 |
src/weixin/guanjia/core/controller/WechatController.java |
35 |
Avoid excessively long variable names like weixinAccountEntities |
| 9857 |
src/weixin/guanjia/core/controller/WechatController.java |
35 |
Local variable 'weixinAccountEntities' could be declared final |
| 9858 |
src/weixin/guanjia/core/controller/WechatController.java |
41 |
Avoid printStackTrace(); use a logger call instead. |
| 9859 |
src/weixin/guanjia/core/controller/WechatController.java |
50 |
Local variable 'respMessage' could be declared final |
| 9860 |
src/weixin/guanjia/core/controller/WechatController.java |
51 |
Local variable 'out' could be declared final |
| 9861 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
21 |
Avoid excessively long variable names like weixinAccountService |
| 9862 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
21 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 9863 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
27 |
Parameter 'request' is not assigned and could be declared final |
| 9864 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
27 |
Parameter 'response' is not assigned and could be declared final |
| 9865 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
28 |
Found 'DU'-anomaly for variable 'signature' (lines '28'-'46'). |
| 9866 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
28 |
Local variable 'signature' could be declared final |
| 9867 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
30 |
Found 'DU'-anomaly for variable 'timestamp' (lines '30'-'46'). |
| 9868 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
30 |
Local variable 'timestamp' could be declared final |
| 9869 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
32 |
Found 'DU'-anomaly for variable 'nonce' (lines '32'-'46'). |
| 9870 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
32 |
Local variable 'nonce' could be declared final |
| 9871 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
34 |
Found 'DU'-anomaly for variable 'echostr' (lines '34'-'46'). |
| 9872 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
34 |
Local variable 'echostr' could be declared final |
| 9873 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
37 |
Avoid excessively long variable names like weixinAccountEntities |
| 9874 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
37 |
Local variable 'weixinAccountEntities' could be declared final |
| 9875 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
45 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 9876 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
45 |
Found 'DU'-anomaly for variable 'out' (lines '45'-'46'). |
| 9877 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
48 |
Parameter 'request' is not assigned and could be declared final |
| 9878 |
src/weixin/guanjia/core/controller/WeixinServlet.java |
48 |
Parameter 'response' is not assigned and could be declared final |
| 9879 |
src/weixin/guanjia/core/entity/common/AccessToken.java |
11 |
Parameter 'token' is not assigned and could be declared final |
| 9880 |
src/weixin/guanjia/core/entity/common/AccessToken.java |
19 |
Parameter 'expiresIn' is not assigned and could be declared final |
| 9881 |
src/weixin/guanjia/core/entity/common/Button.java |
10 |
Parameter 'name' is not assigned and could be declared final |
| 9882 |
src/weixin/guanjia/core/entity/common/CommonButton.java |
11 |
Parameter 'type' is not assigned and could be declared final |
| 9883 |
src/weixin/guanjia/core/entity/common/CommonButton.java |
19 |
Parameter 'key' is not assigned and could be declared final |
| 9884 |
src/weixin/guanjia/core/entity/common/ComplexButton.java |
4 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 9885 |
src/weixin/guanjia/core/entity/common/ComplexButton.java |
6 |
Method names should not contain underscores |
| 9886 |
src/weixin/guanjia/core/entity/common/ComplexButton.java |
7 |
Returning 'sub_button' may expose an internal array. |
| 9887 |
src/weixin/guanjia/core/entity/common/ComplexButton.java |
10 |
Method names should not contain underscores |
| 9888 |
src/weixin/guanjia/core/entity/common/ComplexButton.java |
10 |
Parameter 'sub_button' is not assigned and could be declared final |
| 9889 |
src/weixin/guanjia/core/entity/common/ComplexButton.java |
10 |
The user-supplied array 'sub_button' is stored directly. |
| 9890 |
src/weixin/guanjia/core/entity/common/Face.java |
19 |
Parameter 'faceId' is not assigned and could be declared final |
| 9891 |
src/weixin/guanjia/core/entity/common/Face.java |
27 |
Parameter 'ageValue' is not assigned and could be declared final |
| 9892 |
src/weixin/guanjia/core/entity/common/Face.java |
35 |
Parameter 'ageRange' is not assigned and could be declared final |
| 9893 |
src/weixin/guanjia/core/entity/common/Face.java |
43 |
Parameter 'genderValue' is not assigned and could be declared final |
| 9894 |
src/weixin/guanjia/core/entity/common/Face.java |
51 |
Parameter 'genderConfidence' is not assigned and could be declared final |
| 9895 |
src/weixin/guanjia/core/entity/common/Face.java |
96 |
Found 'DD'-anomaly for variable 'result' (lines '96'-'100'). |
| 9896 |
src/weixin/guanjia/core/entity/common/Face.java |
96 |
Found 'DD'-anomaly for variable 'result' (lines '96'-'98'). |
| 9897 |
src/weixin/guanjia/core/entity/common/Face.java |
98 |
Avoid using if...else statements without curly braces |
| 9898 |
src/weixin/guanjia/core/entity/common/Face.java |
100 |
Avoid using if...else statements without curly braces |
| 9899 |
src/weixin/guanjia/core/entity/common/LBSSpace.java |
10 |
Document empty constructor |
| 9900 |
src/weixin/guanjia/core/entity/common/LBSSpace.java |
13 |
Parameter 'address' is not assigned and could be declared final |
| 9901 |
src/weixin/guanjia/core/entity/common/LBSSpace.java |
13 |
Parameter 'distance' is not assigned and could be declared final |
| 9902 |
src/weixin/guanjia/core/entity/common/LBSSpace.java |
13 |
Parameter 'location' is not assigned and could be declared final |
| 9903 |
src/weixin/guanjia/core/entity/common/LBSSpace.java |
13 |
Parameter 'name' is not assigned and could be declared final |
| 9904 |
src/weixin/guanjia/core/entity/common/LBSSpace.java |
13 |
Parameter 'telphone' is not assigned and could be declared final |
| 9905 |
src/weixin/guanjia/core/entity/common/Location.java |
7 |
Document empty constructor |
| 9906 |
src/weixin/guanjia/core/entity/common/Location.java |
10 |
Parameter 'lat' is not assigned and could be declared final |
| 9907 |
src/weixin/guanjia/core/entity/common/Location.java |
10 |
Parameter 'lng' is not assigned and could be declared final |
| 9908 |
src/weixin/guanjia/core/entity/common/Location.java |
15 |
Parameter 'lat' is not assigned and could be declared final |
| 9909 |
src/weixin/guanjia/core/entity/common/Location.java |
27 |
Parameter 'lng' is not assigned and could be declared final |
| 9910 |
src/weixin/guanjia/core/entity/common/Menu.java |
7 |
Returning 'button' may expose an internal array. |
| 9911 |
src/weixin/guanjia/core/entity/common/Menu.java |
10 |
Parameter 'button' is not assigned and could be declared final |
| 9912 |
src/weixin/guanjia/core/entity/common/Menu.java |
10 |
The user-supplied array 'button' is stored directly. |
| 9913 |
src/weixin/guanjia/core/entity/common/ResultPair.java |
11 |
Parameter 'src' is not assigned and could be declared final |
| 9914 |
src/weixin/guanjia/core/entity/common/ResultPair.java |
19 |
Parameter 'dst' is not assigned and could be declared final |
| 9915 |
src/weixin/guanjia/core/entity/common/Snippet.java |
5 |
Each class should declare at least one constructor |
| 9916 |
src/weixin/guanjia/core/entity/common/Snippet.java |
7 |
Avoid unused private fields such as 'log'. |
| 9917 |
src/weixin/guanjia/core/entity/common/Snippet.java |
7 |
The Logger variable declaration does not contain the static and final modifiers |
| 9918 |
src/weixin/guanjia/core/entity/common/Snippet.java |
8 |
Variables that are final and static should be in all caps. |
| 9919 |
src/weixin/guanjia/core/entity/common/TranslateResult.java |
7 |
Avoid variables with short names like to |
| 9920 |
src/weixin/guanjia/core/entity/common/TranslateResult.java |
8 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 9921 |
src/weixin/guanjia/core/entity/common/TranslateResult.java |
14 |
Parameter 'from' is not assigned and could be declared final |
| 9922 |
src/weixin/guanjia/core/entity/common/TranslateResult.java |
22 |
Avoid variables with short names like to |
| 9923 |
src/weixin/guanjia/core/entity/common/TranslateResult.java |
22 |
Parameter 'to' is not assigned and could be declared final |
| 9924 |
src/weixin/guanjia/core/entity/common/TranslateResult.java |
26 |
Method names should not contain underscores |
| 9925 |
src/weixin/guanjia/core/entity/common/TranslateResult.java |
30 |
Method names should not contain underscores |
| 9926 |
src/weixin/guanjia/core/entity/common/TranslateResult.java |
30 |
Parameter 'trans_result' is not assigned and could be declared final |
| 9927 |
src/weixin/guanjia/core/entity/common/User.java |
11 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 9928 |
src/weixin/guanjia/core/entity/common/User.java |
17 |
Parameter 'openid' is not assigned and could be declared final |
| 9929 |
src/weixin/guanjia/core/entity/common/User.java |
25 |
Parameter 'nickname' is not assigned and could be declared final |
| 9930 |
src/weixin/guanjia/core/entity/common/User.java |
33 |
Parameter 'sex' is not assigned and could be declared final |
| 9931 |
src/weixin/guanjia/core/entity/common/User.java |
41 |
Parameter 'city' is not assigned and could be declared final |
| 9932 |
src/weixin/guanjia/core/entity/common/User.java |
49 |
Parameter 'province' is not assigned and could be declared final |
| 9933 |
src/weixin/guanjia/core/entity/common/User.java |
69 |
Method names should not contain underscores |
| 9934 |
src/weixin/guanjia/core/entity/common/User.java |
73 |
Method names should not contain underscores |
| 9935 |
src/weixin/guanjia/core/entity/common/ViewButton.java |
11 |
Parameter 'type' is not assigned and could be declared final |
| 9936 |
src/weixin/guanjia/core/entity/common/ViewButton.java |
19 |
Parameter 'url' is not assigned and could be declared final |
| 9937 |
src/weixin/guanjia/core/entity/message/customer/BaseMessage.java |
3 |
Abstract classes should be named AbstractXXX |
| 9938 |
src/weixin/guanjia/core/entity/message/customer/BaseMessage.java |
3 |
This abstract class does not have any abstract methods |
| 9939 |
src/weixin/guanjia/core/entity/message/customer/BaseMessage.java |
11 |
Parameter 'touser' is not assigned and could be declared final |
| 9940 |
src/weixin/guanjia/core/entity/message/customer/BaseMessage.java |
19 |
Parameter 'msgtype' is not assigned and could be declared final |
| 9941 |
src/weixin/guanjia/core/entity/message/customer/Image.java |
4 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 9942 |
src/weixin/guanjia/core/entity/message/customer/Image.java |
6 |
Method names should not contain underscores |
| 9943 |
src/weixin/guanjia/core/entity/message/customer/Image.java |
6 |
Parameter 'mediaId' is not assigned and could be declared final |
| 9944 |
src/weixin/guanjia/core/entity/message/customer/Image.java |
10 |
Method names should not contain underscores |
| 9945 |
src/weixin/guanjia/core/entity/message/customer/ImageMessage.java |
6 |
Parameter 'image' is not assigned and could be declared final |
| 9946 |
src/weixin/guanjia/core/entity/message/customer/Text.java |
6 |
Parameter 'content' is not assigned and could be declared final |
| 9947 |
src/weixin/guanjia/core/entity/message/customer/TextMessage.java |
6 |
Parameter 'text' is not assigned and could be declared final |
| 9948 |
src/weixin/guanjia/core/entity/message/req/BaseMessage.java |
4 |
Variables should start with a lowercase character |
| 9949 |
src/weixin/guanjia/core/entity/message/req/BaseMessage.java |
5 |
Variables should start with a lowercase character |
| 9950 |
src/weixin/guanjia/core/entity/message/req/BaseMessage.java |
6 |
Variables should start with a lowercase character |
| 9951 |
src/weixin/guanjia/core/entity/message/req/BaseMessage.java |
7 |
Variables should start with a lowercase character |
| 9952 |
src/weixin/guanjia/core/entity/message/req/BaseMessage.java |
8 |
Variables should start with a lowercase character |
| 9953 |
src/weixin/guanjia/core/entity/message/req/BaseMessage.java |
14 |
Parameter 'toUserName' is not assigned and could be declared final |
| 9954 |
src/weixin/guanjia/core/entity/message/req/BaseMessage.java |
22 |
Parameter 'fromUserName' is not assigned and could be declared final |
| 9955 |
src/weixin/guanjia/core/entity/message/req/BaseMessage.java |
30 |
Parameter 'createTime' is not assigned and could be declared final |
| 9956 |
src/weixin/guanjia/core/entity/message/req/BaseMessage.java |
38 |
Parameter 'msgType' is not assigned and could be declared final |
| 9957 |
src/weixin/guanjia/core/entity/message/req/BaseMessage.java |
46 |
Parameter 'msgId' is not assigned and could be declared final |
| 9958 |
src/weixin/guanjia/core/entity/message/req/ImageMessage.java |
4 |
Variables should start with a lowercase character |
| 9959 |
src/weixin/guanjia/core/entity/message/req/ImageMessage.java |
10 |
Parameter 'picUrl' is not assigned and could be declared final |
| 9960 |
src/weixin/guanjia/core/entity/message/req/LinkMessage.java |
4 |
Variables should start with a lowercase character |
| 9961 |
src/weixin/guanjia/core/entity/message/req/LinkMessage.java |
5 |
Variables should start with a lowercase character |
| 9962 |
src/weixin/guanjia/core/entity/message/req/LinkMessage.java |
6 |
Variables should start with a lowercase character |
| 9963 |
src/weixin/guanjia/core/entity/message/req/LinkMessage.java |
12 |
Parameter 'title' is not assigned and could be declared final |
| 9964 |
src/weixin/guanjia/core/entity/message/req/LinkMessage.java |
20 |
Parameter 'description' is not assigned and could be declared final |
| 9965 |
src/weixin/guanjia/core/entity/message/req/LinkMessage.java |
28 |
Parameter 'url' is not assigned and could be declared final |
| 9966 |
src/weixin/guanjia/core/entity/message/req/LocationMessage.java |
4 |
Variables should start with a lowercase character |
| 9967 |
src/weixin/guanjia/core/entity/message/req/LocationMessage.java |
4 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 9968 |
src/weixin/guanjia/core/entity/message/req/LocationMessage.java |
5 |
Variables should start with a lowercase character |
| 9969 |
src/weixin/guanjia/core/entity/message/req/LocationMessage.java |
5 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 9970 |
src/weixin/guanjia/core/entity/message/req/LocationMessage.java |
6 |
Variables should start with a lowercase character |
| 9971 |
src/weixin/guanjia/core/entity/message/req/LocationMessage.java |
9 |
Method names should not contain underscores |
| 9972 |
src/weixin/guanjia/core/entity/message/req/LocationMessage.java |
13 |
Method names should not contain underscores |
| 9973 |
src/weixin/guanjia/core/entity/message/req/LocationMessage.java |
13 |
Parameter 'location_X' is not assigned and could be declared final |
| 9974 |
src/weixin/guanjia/core/entity/message/req/LocationMessage.java |
17 |
Method names should not contain underscores |
| 9975 |
src/weixin/guanjia/core/entity/message/req/LocationMessage.java |
21 |
Method names should not contain underscores |
| 9976 |
src/weixin/guanjia/core/entity/message/req/LocationMessage.java |
21 |
Parameter 'location_Y' is not assigned and could be declared final |
| 9977 |
src/weixin/guanjia/core/entity/message/req/LocationMessage.java |
29 |
Parameter 'scale' is not assigned and could be declared final |
| 9978 |
src/weixin/guanjia/core/entity/message/req/LocationMessage.java |
37 |
Parameter 'label' is not assigned and could be declared final |
| 9979 |
src/weixin/guanjia/core/entity/message/req/TextMessage.java |
4 |
Variables should start with a lowercase character |
| 9980 |
src/weixin/guanjia/core/entity/message/req/TextMessage.java |
10 |
Parameter 'content' is not assigned and could be declared final |
| 9981 |
src/weixin/guanjia/core/entity/message/req/VoiceMessage.java |
4 |
Variables should start with a lowercase character |
| 9982 |
src/weixin/guanjia/core/entity/message/req/VoiceMessage.java |
5 |
Variables should start with a lowercase character |
| 9983 |
src/weixin/guanjia/core/entity/message/req/VoiceMessage.java |
11 |
Parameter 'mediaId' is not assigned and could be declared final |
| 9984 |
src/weixin/guanjia/core/entity/message/req/VoiceMessage.java |
19 |
Parameter 'format' is not assigned and could be declared final |
| 9985 |
src/weixin/guanjia/core/entity/message/resp/Article.java |
4 |
Variables should start with a lowercase character |
| 9986 |
src/weixin/guanjia/core/entity/message/resp/Article.java |
5 |
Variables should start with a lowercase character |
| 9987 |
src/weixin/guanjia/core/entity/message/resp/Article.java |
6 |
Variables should start with a lowercase character |
| 9988 |
src/weixin/guanjia/core/entity/message/resp/Article.java |
7 |
Variables should start with a lowercase character |
| 9989 |
src/weixin/guanjia/core/entity/message/resp/Article.java |
13 |
Parameter 'title' is not assigned and could be declared final |
| 9990 |
src/weixin/guanjia/core/entity/message/resp/Article.java |
21 |
Parameter 'description' is not assigned and could be declared final |
| 9991 |
src/weixin/guanjia/core/entity/message/resp/Article.java |
29 |
Parameter 'picUrl' is not assigned and could be declared final |
| 9992 |
src/weixin/guanjia/core/entity/message/resp/Article.java |
37 |
Parameter 'url' is not assigned and could be declared final |
| 9993 |
src/weixin/guanjia/core/entity/message/resp/BaseMessageResp.java |
4 |
Variables should start with a lowercase character |
| 9994 |
src/weixin/guanjia/core/entity/message/resp/BaseMessageResp.java |
5 |
Variables should start with a lowercase character |
| 9995 |
src/weixin/guanjia/core/entity/message/resp/BaseMessageResp.java |
6 |
Variables should start with a lowercase character |
| 9996 |
src/weixin/guanjia/core/entity/message/resp/BaseMessageResp.java |
7 |
Variables should start with a lowercase character |
| 9997 |
src/weixin/guanjia/core/entity/message/resp/BaseMessageResp.java |
13 |
Parameter 'toUserName' is not assigned and could be declared final |
| 9998 |
src/weixin/guanjia/core/entity/message/resp/BaseMessageResp.java |
21 |
Parameter 'fromUserName' is not assigned and could be declared final |
| 9999 |
src/weixin/guanjia/core/entity/message/resp/BaseMessageResp.java |
29 |
Parameter 'createTime' is not assigned and could be declared final |
| 10000 |
src/weixin/guanjia/core/entity/message/resp/BaseMessageResp.java |
37 |
Parameter 'msgType' is not assigned and could be declared final |
| 10001 |
src/weixin/guanjia/core/entity/message/resp/Music.java |
4 |
Variables should start with a lowercase character |
| 10002 |
src/weixin/guanjia/core/entity/message/resp/Music.java |
5 |
Variables should start with a lowercase character |
| 10003 |
src/weixin/guanjia/core/entity/message/resp/Music.java |
6 |
Variables should start with a lowercase character |
| 10004 |
src/weixin/guanjia/core/entity/message/resp/Music.java |
7 |
Variables should start with a lowercase character |
| 10005 |
src/weixin/guanjia/core/entity/message/resp/Music.java |
8 |
Variables should start with a lowercase character |
| 10006 |
src/weixin/guanjia/core/entity/message/resp/Music.java |
14 |
Parameter 'thumbMediaId' is not assigned and could be declared final |
| 10007 |
src/weixin/guanjia/core/entity/message/resp/Music.java |
22 |
Parameter 'title' is not assigned and could be declared final |
| 10008 |
src/weixin/guanjia/core/entity/message/resp/Music.java |
30 |
Parameter 'description' is not assigned and could be declared final |
| 10009 |
src/weixin/guanjia/core/entity/message/resp/Music.java |
38 |
Parameter 'musicUrl' is not assigned and could be declared final |
| 10010 |
src/weixin/guanjia/core/entity/message/resp/Music.java |
46 |
Parameter 'musicUrl' is not assigned and could be declared final |
| 10011 |
src/weixin/guanjia/core/entity/message/resp/MusicMessageResp.java |
4 |
Variables should start with a lowercase character |
| 10012 |
src/weixin/guanjia/core/entity/message/resp/MusicMessageResp.java |
10 |
Parameter 'music' is not assigned and could be declared final |
| 10013 |
src/weixin/guanjia/core/entity/message/resp/NewsMessageResp.java |
6 |
Variables should start with a lowercase character |
| 10014 |
src/weixin/guanjia/core/entity/message/resp/NewsMessageResp.java |
7 |
Variables should start with a lowercase character |
| 10015 |
src/weixin/guanjia/core/entity/message/resp/NewsMessageResp.java |
13 |
Parameter 'articleCount' is not assigned and could be declared final |
| 10016 |
src/weixin/guanjia/core/entity/message/resp/NewsMessageResp.java |
21 |
Parameter 'articles' is not assigned and could be declared final |
| 10017 |
src/weixin/guanjia/core/entity/message/resp/TextMessageResp.java |
4 |
Variables should start with a lowercase character |
| 10018 |
src/weixin/guanjia/core/entity/message/resp/TextMessageResp.java |
10 |
Parameter 'content' is not assigned and could be declared final |
| 10019 |
src/weixin/guanjia/core/entity/model/AccessTokenYw.java |
20 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 10020 |
src/weixin/guanjia/core/entity/model/AccessTokenYw.java |
21 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 10021 |
src/weixin/guanjia/core/entity/model/AccessTokenYw.java |
25 |
Method names should not contain underscores |
| 10022 |
src/weixin/guanjia/core/entity/model/AccessTokenYw.java |
29 |
Method names should not contain underscores |
| 10023 |
src/weixin/guanjia/core/entity/model/AccessTokenYw.java |
29 |
Parameter 'accessToken' is not assigned and could be declared final |
| 10024 |
src/weixin/guanjia/core/entity/model/AccessTokenYw.java |
34 |
Method names should not contain underscores |
| 10025 |
src/weixin/guanjia/core/entity/model/AccessTokenYw.java |
38 |
Method names should not contain underscores |
| 10026 |
src/weixin/guanjia/core/entity/model/AccessTokenYw.java |
38 |
Parameter 'expiresIn' is not assigned and could be declared final |
| 10027 |
src/weixin/guanjia/core/entity/model/AccessTokenYw.java |
47 |
Parameter 'addTime' is not assigned and could be declared final |
| 10028 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
18 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 10029 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
19 |
Parameter 'requestUrl' is not assigned and could be declared final |
| 10030 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
20 |
Local variable 'buffer' could be declared final |
| 10031 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
22 |
Local variable 'url' could be declared final |
| 10032 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
23 |
Local variable 'httpUrlConn' could be declared final |
| 10033 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
33 |
Local variable 'inputStreamReader' could be declared final |
| 10034 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
34 |
Local variable 'bufferedReader' could be declared final |
| 10035 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
36 |
Found 'DD'-anomaly for variable 'str' (lines '36'-'37'). |
| 10036 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
37 |
Avoid assignments in operands |
| 10037 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
37 |
Found 'DU'-anomaly for variable 'str' (lines '37'-'49'). |
| 10038 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
44 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 10039 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
44 |
Found 'DU'-anomaly for variable 'inputStream' (lines '44'-'49'). |
| 10040 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
46 |
Avoid empty catch blocks |
| 10041 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
51 |
Parameter 'source' is not assigned and could be declared final |
| 10042 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
52 |
Found 'DD'-anomaly for variable 'result' (lines '52'-'54'). |
| 10043 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
56 |
Avoid printStackTrace(); use a logger call instead. |
| 10044 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
61 |
Parameter 'source' is not assigned and could be declared final |
| 10045 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
62 |
Found 'DD'-anomaly for variable 'dst' (lines '62'-'72'). |
| 10046 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
64 |
Found 'DD'-anomaly for variable 'requestUrl' (lines '64'-'66'). |
| 10047 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
74 |
Avoid printStackTrace(); use a logger call instead. |
| 10048 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
77 |
Avoid using if statements without curly braces |
| 10049 |
src/weixin/guanjia/core/service/impl/BaiduTranslateService.java |
82 |
Parameter 'args' is not assigned and could be declared final |
| 10050 |
src/weixin/guanjia/core/service/impl/WechatService.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 10051 |
src/weixin/guanjia/core/service/impl/WechatService.java |
58 |
The class 'WechatService' has a Cyclomatic Complexity of 8 (Highest = 22). |
| 10052 |
src/weixin/guanjia/core/service/impl/WechatService.java |
61 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10053 |
src/weixin/guanjia/core/service/impl/WechatService.java |
64 |
Avoid excessively long variable names like autoResponseService |
| 10054 |
src/weixin/guanjia/core/service/impl/WechatService.java |
64 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10055 |
src/weixin/guanjia/core/service/impl/WechatService.java |
67 |
Avoid excessively long variable names like textTemplateService |
| 10056 |
src/weixin/guanjia/core/service/impl/WechatService.java |
67 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10057 |
src/weixin/guanjia/core/service/impl/WechatService.java |
70 |
Avoid excessively long variable names like newsTemplateService |
| 10058 |
src/weixin/guanjia/core/service/impl/WechatService.java |
70 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10059 |
src/weixin/guanjia/core/service/impl/WechatService.java |
73 |
Avoid excessively long variable names like receiveTextService |
| 10060 |
src/weixin/guanjia/core/service/impl/WechatService.java |
73 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10061 |
src/weixin/guanjia/core/service/impl/WechatService.java |
85 |
Avoid excessively long variable names like weixinExpandconfigService |
| 10062 |
src/weixin/guanjia/core/service/impl/WechatService.java |
105 |
Avoid really long methods. |
| 10063 |
src/weixin/guanjia/core/service/impl/WechatService.java |
105 |
Parameter 'request' is not assigned and could be declared final |
| 10064 |
src/weixin/guanjia/core/service/impl/WechatService.java |
105 |
The method 'coreService' has a Cyclomatic Complexity of 22. |
| 10065 |
src/weixin/guanjia/core/service/impl/WechatService.java |
105 |
The method coreService() has an NCSS line count of 106 |
| 10066 |
src/weixin/guanjia/core/service/impl/WechatService.java |
106 |
Found 'DD'-anomaly for variable 'respMessage' (lines '106'-'138'). |
| 10067 |
src/weixin/guanjia/core/service/impl/WechatService.java |
108 |
Found 'DU'-anomaly for variable 'respContent' (lines '108'-'238'). |
| 10068 |
src/weixin/guanjia/core/service/impl/WechatService.java |
108 |
Local variable 'respContent' could be declared final |
| 10069 |
src/weixin/guanjia/core/service/impl/WechatService.java |
110 |
Local variable 'requestMap' could be declared final |
| 10070 |
src/weixin/guanjia/core/service/impl/WechatService.java |
112 |
Local variable 'fromUserName' could be declared final |
| 10071 |
src/weixin/guanjia/core/service/impl/WechatService.java |
114 |
Local variable 'toUserName' could be declared final |
| 10072 |
src/weixin/guanjia/core/service/impl/WechatService.java |
116 |
Local variable 'msgType' could be declared final |
| 10073 |
src/weixin/guanjia/core/service/impl/WechatService.java |
129 |
Found 'DU'-anomaly for variable 'bundler' (lines '129'-'238'). |
| 10074 |
src/weixin/guanjia/core/service/impl/WechatService.java |
135 |
The String literal "text" appears 6 times in this file; the first occurrence is on line 135 |
| 10075 |
src/weixin/guanjia/core/service/impl/WechatService.java |
138 |
Found 'DD'-anomaly for variable 'respMessage' (lines '138'-'142'). |
| 10076 |
src/weixin/guanjia/core/service/impl/WechatService.java |
138 |
Found 'DD'-anomaly for variable 'respMessage' (lines '138'-'147'). |
| 10077 |
src/weixin/guanjia/core/service/impl/WechatService.java |
138 |
Found 'DD'-anomaly for variable 'respMessage' (lines '138'-'151'). |
| 10078 |
src/weixin/guanjia/core/service/impl/WechatService.java |
138 |
Found 'DD'-anomaly for variable 'respMessage' (lines '138'-'155'). |
| 10079 |
src/weixin/guanjia/core/service/impl/WechatService.java |
138 |
Found 'DD'-anomaly for variable 'respMessage' (lines '138'-'159'). |
| 10080 |
src/weixin/guanjia/core/service/impl/WechatService.java |
138 |
Found 'DD'-anomaly for variable 'respMessage' (lines '138'-'164'). |
| 10081 |
src/weixin/guanjia/core/service/impl/WechatService.java |
138 |
Found 'DD'-anomaly for variable 'respMessage' (lines '138'-'190'). |
| 10082 |
src/weixin/guanjia/core/service/impl/WechatService.java |
138 |
Found 'DD'-anomaly for variable 'respMessage' (lines '138'-'193'). |
| 10083 |
src/weixin/guanjia/core/service/impl/WechatService.java |
138 |
Found 'DD'-anomaly for variable 'respMessage' (lines '138'-'229'). |
| 10084 |
src/weixin/guanjia/core/service/impl/WechatService.java |
138 |
Found 'DU'-anomaly for variable 'respMessage' (lines '138'-'238'). |
| 10085 |
src/weixin/guanjia/core/service/impl/WechatService.java |
140 |
Position literals first in String comparisons |
| 10086 |
src/weixin/guanjia/core/service/impl/WechatService.java |
144 |
Position literals first in String comparisons |
| 10087 |
src/weixin/guanjia/core/service/impl/WechatService.java |
148 |
Position literals first in String comparisons |
| 10088 |
src/weixin/guanjia/core/service/impl/WechatService.java |
152 |
Position literals first in String comparisons |
| 10089 |
src/weixin/guanjia/core/service/impl/WechatService.java |
156 |
Position literals first in String comparisons |
| 10090 |
src/weixin/guanjia/core/service/impl/WechatService.java |
170 |
A method should have only one exit point, and that should be the last statement in the method |
| 10091 |
src/weixin/guanjia/core/service/impl/WechatService.java |
170 |
Avoid using if statements without curly braces |
| 10092 |
src/weixin/guanjia/core/service/impl/WechatService.java |
175 |
The String literal "EventKey" appears 4 times in this file; the first occurrence is on line 175 |
| 10093 |
src/weixin/guanjia/core/service/impl/WechatService.java |
196 |
Avoid variables with short names like yw |
| 10094 |
src/weixin/guanjia/core/service/impl/WechatService.java |
210 |
System.out.print is used |
| 10095 |
src/weixin/guanjia/core/service/impl/WechatService.java |
234 |
Avoid printStackTrace(); use a logger call instead. |
| 10096 |
src/weixin/guanjia/core/service/impl/WechatService.java |
236 |
System.out.print is used |
| 10097 |
src/weixin/guanjia/core/service/impl/WechatService.java |
241 |
StringBuffer constructor is initialized with size 16, but has at least 137 characters appended. |
| 10098 |
src/weixin/guanjia/core/service/impl/WechatService.java |
242 |
StringBuffer.append is called 19 consecutive times with literal Strings. Use a single append with a single String. |
| 10099 |
src/weixin/guanjia/core/service/impl/WechatService.java |
243 |
Avoid appending characters as strings in StringBuffer.append. |
| 10100 |
src/weixin/guanjia/core/service/impl/WechatService.java |
244 |
Avoid appending characters as strings in StringBuffer.append. |
| 10101 |
src/weixin/guanjia/core/service/impl/WechatService.java |
245 |
Avoid appending characters as strings in StringBuffer.append. |
| 10102 |
src/weixin/guanjia/core/service/impl/WechatService.java |
247 |
Avoid appending characters as strings in StringBuffer.append. |
| 10103 |
src/weixin/guanjia/core/service/impl/WechatService.java |
248 |
Avoid appending characters as strings in StringBuffer.append. |
| 10104 |
src/weixin/guanjia/core/service/impl/WechatService.java |
255 |
Parameter 'content' is not assigned and could be declared final |
| 10105 |
src/weixin/guanjia/core/service/impl/WechatService.java |
255 |
Parameter 'toUsername' is not assigned and could be declared final |
| 10106 |
src/weixin/guanjia/core/service/impl/WechatService.java |
263 |
Avoid if (x != y) ..; else ..; |
| 10107 |
src/weixin/guanjia/core/service/impl/WechatService.java |
266 |
Avoid variables with short names like kw |
| 10108 |
src/weixin/guanjia/core/service/impl/WechatService.java |
271 |
A method should have only one exit point, and that should be the last statement in the method |
| 10109 |
src/weixin/guanjia/core/service/impl/WechatService.java |
278 |
Avoid really long methods. |
| 10110 |
src/weixin/guanjia/core/service/impl/WechatService.java |
278 |
Avoid really long parameter lists. |
| 10111 |
src/weixin/guanjia/core/service/impl/WechatService.java |
278 |
Parameter 'bundler' is not assigned and could be declared final |
| 10112 |
src/weixin/guanjia/core/service/impl/WechatService.java |
278 |
Parameter 'content' is not assigned and could be declared final |
| 10113 |
src/weixin/guanjia/core/service/impl/WechatService.java |
278 |
The method 'doTextResponse' has a Cyclomatic Complexity of 18. |
| 10114 |
src/weixin/guanjia/core/service/impl/WechatService.java |
278 |
The method doTextResponse() has an NPath complexity of 252 |
| 10115 |
src/weixin/guanjia/core/service/impl/WechatService.java |
279 |
Avoid reassigning parameters such as 'respMessage' |
| 10116 |
src/weixin/guanjia/core/service/impl/WechatService.java |
279 |
Avoid reassigning parameters such as 'respMessage' |
| 10117 |
src/weixin/guanjia/core/service/impl/WechatService.java |
279 |
Avoid reassigning parameters such as 'respMessage' |
| 10118 |
src/weixin/guanjia/core/service/impl/WechatService.java |
279 |
Avoid reassigning parameters such as 'respMessage' |
| 10119 |
src/weixin/guanjia/core/service/impl/WechatService.java |
279 |
Avoid reassigning parameters such as 'respMessage' |
| 10120 |
src/weixin/guanjia/core/service/impl/WechatService.java |
280 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 10121 |
src/weixin/guanjia/core/service/impl/WechatService.java |
280 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 10122 |
src/weixin/guanjia/core/service/impl/WechatService.java |
283 |
A method should have only one exit point, and that should be the last statement in the method |
| 10123 |
src/weixin/guanjia/core/service/impl/WechatService.java |
283 |
Avoid using if statements without curly braces |
| 10124 |
src/weixin/guanjia/core/service/impl/WechatService.java |
298 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 10125 |
src/weixin/guanjia/core/service/impl/WechatService.java |
314 |
Avoid if (x != y) ..; else ..; |
| 10126 |
src/weixin/guanjia/core/service/impl/WechatService.java |
321 |
The String literal "news" appears 8 times in this file; the first occurrence is on line 321 |
| 10127 |
src/weixin/guanjia/core/service/impl/WechatService.java |
324 |
The String literal "newsTemplate.id" appears 4 times in this file; the first occurrence is on line 324 |
| 10128 |
src/weixin/guanjia/core/service/impl/WechatService.java |
328 |
Avoid instantiating new objects inside loops |
| 10129 |
src/weixin/guanjia/core/service/impl/WechatService.java |
330 |
The String literal "domain" appears 8 times in this file; the first occurrence is on line 330 |
| 10130 |
src/weixin/guanjia/core/service/impl/WechatService.java |
331 |
Found 'DD'-anomaly for variable 'url' (lines '331'-'333'). |
| 10131 |
src/weixin/guanjia/core/service/impl/WechatService.java |
331 |
Found 'DD'-anomaly for variable 'url' (lines '331'-'335'). |
| 10132 |
src/weixin/guanjia/core/service/impl/WechatService.java |
355 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 10133 |
src/weixin/guanjia/core/service/impl/WechatService.java |
385 |
Avoid really long parameter lists. |
| 10134 |
src/weixin/guanjia/core/service/impl/WechatService.java |
385 |
Avoid unused method parameters such as 'msgId'. |
| 10135 |
src/weixin/guanjia/core/service/impl/WechatService.java |
385 |
Avoid unused method parameters such as 'msgType'. |
| 10136 |
src/weixin/guanjia/core/service/impl/WechatService.java |
385 |
Avoid unused method parameters such as 'request'. |
| 10137 |
src/weixin/guanjia/core/service/impl/WechatService.java |
387 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 10138 |
src/weixin/guanjia/core/service/impl/WechatService.java |
387 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 10139 |
src/weixin/guanjia/core/service/impl/WechatService.java |
389 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 10140 |
src/weixin/guanjia/core/service/impl/WechatService.java |
402 |
Found 'DU'-anomaly for variable 'newsTemplate' (lines '402'-'430'). |
| 10141 |
src/weixin/guanjia/core/service/impl/WechatService.java |
405 |
Avoid instantiating new objects inside loops |
| 10142 |
src/weixin/guanjia/core/service/impl/WechatService.java |
408 |
Found 'DD'-anomaly for variable 'url' (lines '408'-'410'). |
| 10143 |
src/weixin/guanjia/core/service/impl/WechatService.java |
408 |
Found 'DD'-anomaly for variable 'url' (lines '408'-'412'). |
| 10144 |
src/weixin/guanjia/core/service/impl/WechatService.java |
410 |
Avoid using if...else statements without curly braces |
| 10145 |
src/weixin/guanjia/core/service/impl/WechatService.java |
432 |
Avoid unused method parameters such as 'respContent'. |
| 10146 |
src/weixin/guanjia/core/service/impl/WechatService.java |
437 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 10147 |
src/weixin/guanjia/core/service/impl/WechatService.java |
450 |
Found 'DU'-anomaly for variable 'newsTemplate' (lines '450'-'505'). |
| 10148 |
src/weixin/guanjia/core/service/impl/WechatService.java |
453 |
Avoid instantiating new objects inside loops |
| 10149 |
src/weixin/guanjia/core/service/impl/WechatService.java |
456 |
Found 'DD'-anomaly for variable 'url' (lines '456'-'458'). |
| 10150 |
src/weixin/guanjia/core/service/impl/WechatService.java |
456 |
Found 'DD'-anomaly for variable 'url' (lines '456'-'460'). |
| 10151 |
src/weixin/guanjia/core/service/impl/WechatService.java |
458 |
Avoid using if...else statements without curly braces |
| 10152 |
src/weixin/guanjia/core/service/impl/WechatService.java |
482 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 10153 |
src/weixin/guanjia/core/service/impl/WechatService.java |
507 |
Avoid unused method parameters such as 'respContent'. |
| 10154 |
src/weixin/guanjia/core/service/impl/WechatService.java |
509 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 10155 |
src/weixin/guanjia/core/service/impl/WechatService.java |
509 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 10156 |
src/weixin/guanjia/core/service/impl/WechatService.java |
525 |
Found 'DU'-anomaly for variable 'newsTemplate' (lines '525'-'560'). |
| 10157 |
src/weixin/guanjia/core/service/impl/WechatService.java |
528 |
Avoid instantiating new objects inside loops |
| 10158 |
src/weixin/guanjia/core/service/impl/WechatService.java |
531 |
Found 'DD'-anomaly for variable 'url' (lines '531'-'533'). |
| 10159 |
src/weixin/guanjia/core/service/impl/WechatService.java |
531 |
Found 'DD'-anomaly for variable 'url' (lines '531'-'535'). |
| 10160 |
src/weixin/guanjia/core/service/impl/WechatService.java |
533 |
Avoid using if...else statements without curly braces |
| 10161 |
src/weixin/guanjia/core/service/impl/WechatService.java |
595 |
Consider simply returning the value vs storing it in local variable 'html' |
| 10162 |
src/weixin/guanjia/core/util/BCSUtil.java |
23 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 10163 |
src/weixin/guanjia/core/util/BCSUtil.java |
24 |
Variables that are final and static should be in all caps. |
| 10164 |
src/weixin/guanjia/core/util/BCSUtil.java |
29 |
Parameter 'accessKey' is not assigned and could be declared final |
| 10165 |
src/weixin/guanjia/core/util/BCSUtil.java |
30 |
Parameter 'bucket' is not assigned and could be declared final |
| 10166 |
src/weixin/guanjia/core/util/BCSUtil.java |
30 |
Parameter 'object' is not assigned and could be declared final |
| 10167 |
src/weixin/guanjia/core/util/BCSUtil.java |
30 |
Parameter 'secretKey' is not assigned and could be declared final |
| 10168 |
src/weixin/guanjia/core/util/BCSUtil.java |
30 |
Parameter 'uploadFile' is not assigned and could be declared final |
| 10169 |
src/weixin/guanjia/core/util/BCSUtil.java |
36 |
Local variable 'fileContent' could be declared final |
| 10170 |
src/weixin/guanjia/core/util/BCSUtil.java |
37 |
Local variable 'objectMetadata' could be declared final |
| 10171 |
src/weixin/guanjia/core/util/BCSUtil.java |
40 |
Local variable 'request' could be declared final |
| 10172 |
src/weixin/guanjia/core/util/BCSUtil.java |
43 |
Local variable 'result' could be declared final |
| 10173 |
src/weixin/guanjia/core/util/BCSUtil.java |
52 |
Local variable 'listBucketRequest' could be declared final |
| 10174 |
src/weixin/guanjia/core/util/BCSUtil.java |
92 |
Avoid variables with short names like in |
| 10175 |
src/weixin/guanjia/core/util/MessageUtil.java |
26 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 10176 |
src/weixin/guanjia/core/util/MessageUtil.java |
27 |
Avoid excessively long variable names like RESP_MESSAGE_TYPE_TEXT |
| 10177 |
src/weixin/guanjia/core/util/MessageUtil.java |
28 |
Avoid excessively long variable names like RESP_MESSAGE_TYPE_MUSIC |
| 10178 |
src/weixin/guanjia/core/util/MessageUtil.java |
29 |
Avoid excessively long variable names like RESP_MESSAGE_TYPE_NEWS |
| 10179 |
src/weixin/guanjia/core/util/MessageUtil.java |
30 |
Avoid excessively long variable names like REQ_MESSAGE_TYPE_TEXT |
| 10180 |
src/weixin/guanjia/core/util/MessageUtil.java |
31 |
Avoid excessively long variable names like REQ_MESSAGE_TYPE_IMAGE |
| 10181 |
src/weixin/guanjia/core/util/MessageUtil.java |
43 |
Parameter 'out' is not assigned and could be declared final |
| 10182 |
src/weixin/guanjia/core/util/MessageUtil.java |
48 |
Parameter 'clazz' is not assigned and could be declared final |
| 10183 |
src/weixin/guanjia/core/util/MessageUtil.java |
48 |
Parameter 'name' is not assigned and could be declared final |
| 10184 |
src/weixin/guanjia/core/util/MessageUtil.java |
52 |
Parameter 'text' is not assigned and could be declared final |
| 10185 |
src/weixin/guanjia/core/util/MessageUtil.java |
52 |
Parameter 'writer' is not assigned and could be declared final |
| 10186 |
src/weixin/guanjia/core/util/MessageUtil.java |
67 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 10187 |
src/weixin/guanjia/core/util/MessageUtil.java |
67 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 10188 |
src/weixin/guanjia/core/util/MessageUtil.java |
68 |
Local variable 'map' could be declared final |
| 10189 |
src/weixin/guanjia/core/util/MessageUtil.java |
72 |
Local variable 'reader' could be declared final |
| 10190 |
src/weixin/guanjia/core/util/MessageUtil.java |
73 |
Local variable 'document' could be declared final |
| 10191 |
src/weixin/guanjia/core/util/MessageUtil.java |
75 |
Local variable 'root' could be declared final |
| 10192 |
src/weixin/guanjia/core/util/MessageUtil.java |
77 |
Local variable 'elementList' could be declared final |
| 10193 |
src/weixin/guanjia/core/util/MessageUtil.java |
84 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 10194 |
src/weixin/guanjia/core/util/MessageUtil.java |
84 |
Found 'DU'-anomaly for variable 'inputStream' (lines '84'-'87'). |
| 10195 |
src/weixin/guanjia/core/util/MessageUtil.java |
101 |
Avoid instantiating an object just to call getClass() on it; use the .class public member instead |
| 10196 |
src/weixin/guanjia/core/util/MyX509TrustManager.java |
10 |
Parameter 'authType' is not assigned and could be declared final |
| 10197 |
src/weixin/guanjia/core/util/MyX509TrustManager.java |
10 |
Parameter 'chain' is not assigned and could be declared final |
| 10198 |
src/weixin/guanjia/core/util/MyX509TrustManager.java |
12 |
Document empty method |
| 10199 |
src/weixin/guanjia/core/util/MyX509TrustManager.java |
15 |
Parameter 'authType' is not assigned and could be declared final |
| 10200 |
src/weixin/guanjia/core/util/MyX509TrustManager.java |
15 |
Parameter 'chain' is not assigned and could be declared final |
| 10201 |
src/weixin/guanjia/core/util/MyX509TrustManager.java |
17 |
Document empty method |
| 10202 |
src/weixin/guanjia/core/util/MyX509TrustManager.java |
20 |
Return an empty array rather than null. |
| 10203 |
src/weixin/guanjia/core/util/SignUtil.java |
7 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 10204 |
src/weixin/guanjia/core/util/SignUtil.java |
8 |
Parameter 'nonce' is not assigned and could be declared final |
| 10205 |
src/weixin/guanjia/core/util/SignUtil.java |
8 |
Parameter 'signature' is not assigned and could be declared final |
| 10206 |
src/weixin/guanjia/core/util/SignUtil.java |
8 |
Parameter 'timestamp' is not assigned and could be declared final |
| 10207 |
src/weixin/guanjia/core/util/SignUtil.java |
8 |
Parameter 'token' is not assigned and could be declared final |
| 10208 |
src/weixin/guanjia/core/util/SignUtil.java |
9 |
Local variable 'arr' could be declared final |
| 10209 |
src/weixin/guanjia/core/util/SignUtil.java |
16 |
Avoid variables with short names like md |
| 10210 |
src/weixin/guanjia/core/util/SignUtil.java |
16 |
Found 'DD'-anomaly for variable 'md' (lines '16'-'19'). |
| 10211 |
src/weixin/guanjia/core/util/SignUtil.java |
17 |
Found 'DD'-anomaly for variable 'tmpStr' (lines '17'-'22'). |
| 10212 |
src/weixin/guanjia/core/util/SignUtil.java |
21 |
Local variable 'digest' could be declared final |
| 10213 |
src/weixin/guanjia/core/util/SignUtil.java |
24 |
Avoid printStackTrace(); use a logger call instead. |
| 10214 |
src/weixin/guanjia/core/util/SignUtil.java |
27 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 10215 |
src/weixin/guanjia/core/util/SignUtil.java |
27 |
Found 'DU'-anomaly for variable 'content' (lines '27'-'30'). |
| 10216 |
src/weixin/guanjia/core/util/SignUtil.java |
29 |
Avoid if (x != y) ..; else ..; |
| 10217 |
src/weixin/guanjia/core/util/SignUtil.java |
29 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 10218 |
src/weixin/guanjia/core/util/SignUtil.java |
32 |
Parameter 'byteArray' is not assigned and could be declared final |
| 10219 |
src/weixin/guanjia/core/util/SignUtil.java |
33 |
Found 'DD'-anomaly for variable 'strDigest' (lines '33'-'35'). |
| 10220 |
src/weixin/guanjia/core/util/SignUtil.java |
35 |
Prefer StringBuffer over += for concatenating strings |
| 10221 |
src/weixin/guanjia/core/util/SignUtil.java |
41 |
Local variable 'Digit' could be declared final |
| 10222 |
src/weixin/guanjia/core/util/SignUtil.java |
42 |
Found 'DD'-anomaly for variable 'tempArr' (lines '42'-'43'). |
| 10223 |
src/weixin/guanjia/core/util/SignUtil.java |
43 |
Found 'DD'-anomaly for variable 'tempArr' (lines '43'-'44'). |
| 10224 |
src/weixin/guanjia/core/util/SignUtil.java |
46 |
Avoid variables with short names like s |
| 10225 |
src/weixin/guanjia/core/util/SignUtil.java |
46 |
Local variable 's' could be declared final |
| 10226 |
src/weixin/guanjia/core/util/SignUtil.java |
47 |
Consider simply returning the value vs storing it in local variable 's' |
| 10227 |
src/weixin/guanjia/core/util/TokenUtils.java |
3 |
Each class should declare at least one constructor |
| 10228 |
src/weixin/guanjia/core/util/WeixinUtil.java |
29 |
Avoid importing anything from the 'sun.*' packages |
| 10229 |
src/weixin/guanjia/core/util/WeixinUtil.java |
30 |
Avoid importing anything from the 'sun.*' packages |
| 10230 |
src/weixin/guanjia/core/util/WeixinUtil.java |
34 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 10231 |
src/weixin/guanjia/core/util/WeixinUtil.java |
35 |
Variables that are final and static should be in all caps. |
| 10232 |
src/weixin/guanjia/core/util/WeixinUtil.java |
36 |
Variables that are final and static should be in all caps. |
| 10233 |
src/weixin/guanjia/core/util/WeixinUtil.java |
38 |
Variables that are final and static should be in all caps. |
| 10234 |
src/weixin/guanjia/core/util/WeixinUtil.java |
40 |
Variables that are final and static should be in all caps. |
| 10235 |
src/weixin/guanjia/core/util/WeixinUtil.java |
42 |
Variables that are final and static should be in all caps. |
| 10236 |
src/weixin/guanjia/core/util/WeixinUtil.java |
46 |
Avoid excessively long variable names like web_oauth_accesstoken_url |
| 10237 |
src/weixin/guanjia/core/util/WeixinUtil.java |
48 |
Parameter 'outputStr' is not assigned and could be declared final |
| 10238 |
src/weixin/guanjia/core/util/WeixinUtil.java |
48 |
Parameter 'requestMethod' is not assigned and could be declared final |
| 10239 |
src/weixin/guanjia/core/util/WeixinUtil.java |
48 |
Parameter 'requestUrl' is not assigned and could be declared final |
| 10240 |
src/weixin/guanjia/core/util/WeixinUtil.java |
49 |
Found 'DD'-anomaly for variable 'jsonObject' (lines '49'-'93'). |
| 10241 |
src/weixin/guanjia/core/util/WeixinUtil.java |
50 |
Local variable 'buffer' could be declared final |
| 10242 |
src/weixin/guanjia/core/util/WeixinUtil.java |
52 |
Avoid variables with short names like tm |
| 10243 |
src/weixin/guanjia/core/util/WeixinUtil.java |
52 |
Local variable 'tm' could be declared final |
| 10244 |
src/weixin/guanjia/core/util/WeixinUtil.java |
53 |
Local variable 'sslContext' could be declared final |
| 10245 |
src/weixin/guanjia/core/util/WeixinUtil.java |
56 |
Local variable 'ssf' could be declared final |
| 10246 |
src/weixin/guanjia/core/util/WeixinUtil.java |
58 |
Local variable 'url' could be declared final |
| 10247 |
src/weixin/guanjia/core/util/WeixinUtil.java |
83 |
Found 'DD'-anomaly for variable 'str' (lines '83'-'84'). |
| 10248 |
src/weixin/guanjia/core/util/WeixinUtil.java |
84 |
Avoid assignments in operands |
| 10249 |
src/weixin/guanjia/core/util/WeixinUtil.java |
84 |
Found 'DU'-anomaly for variable 'str' (lines '84'-'100'). |
| 10250 |
src/weixin/guanjia/core/util/WeixinUtil.java |
91 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 10251 |
src/weixin/guanjia/core/util/WeixinUtil.java |
91 |
Found 'DU'-anomaly for variable 'inputStream' (lines '91'-'100'). |
| 10252 |
src/weixin/guanjia/core/util/WeixinUtil.java |
102 |
Parameter 'outputStr' is not assigned and could be declared final |
| 10253 |
src/weixin/guanjia/core/util/WeixinUtil.java |
102 |
Parameter 'requestMethod' is not assigned and could be declared final |
| 10254 |
src/weixin/guanjia/core/util/WeixinUtil.java |
121 |
Avoid empty catch blocks |
| 10255 |
src/weixin/guanjia/core/util/WeixinUtil.java |
129 |
Avoid unused local variables such as 'sdf'. |
| 10256 |
src/weixin/guanjia/core/util/WeixinUtil.java |
129 |
Found 'DU'-anomaly for variable 'sdf' (lines '129'-'190'). |
| 10257 |
src/weixin/guanjia/core/util/WeixinUtil.java |
129 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 10258 |
src/weixin/guanjia/core/util/WeixinUtil.java |
131 |
Avoid unused local variables such as 'start'. |
| 10259 |
src/weixin/guanjia/core/util/WeixinUtil.java |
131 |
Found 'DU'-anomaly for variable 'start' (lines '131'-'190'). |
| 10260 |
src/weixin/guanjia/core/util/WeixinUtil.java |
133 |
Found 'DD'-anomaly for variable 'accessToken' (lines '133'-'140'). |
| 10261 |
src/weixin/guanjia/core/util/WeixinUtil.java |
138 |
Deeply nested if..then statements are hard to read |
| 10262 |
src/weixin/guanjia/core/util/WeixinUtil.java |
141 |
The String literal "access_token" appears 4 times in this file; the first occurrence is on line 141 |
| 10263 |
src/weixin/guanjia/core/util/WeixinUtil.java |
142 |
The String literal "expires_in" appears 4 times in this file; the first occurrence is on line 142 |
| 10264 |
src/weixin/guanjia/core/util/WeixinUtil.java |
150 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 10265 |
src/weixin/guanjia/core/util/WeixinUtil.java |
157 |
A method should have only one exit point, and that should be the last statement in the method |
| 10266 |
src/weixin/guanjia/core/util/WeixinUtil.java |
163 |
A method should have only one exit point, and that should be the last statement in the method |
| 10267 |
src/weixin/guanjia/core/util/WeixinUtil.java |
166 |
Found 'DD'-anomaly for variable 'accessToken' (lines '166'-'173'). |
| 10268 |
src/weixin/guanjia/core/util/WeixinUtil.java |
182 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 10269 |
src/weixin/guanjia/core/util/WeixinUtil.java |
212 |
Avoid variables with short names like bt |
| 10270 |
src/weixin/guanjia/core/util/WeixinUtil.java |
212 |
Found 'DD'-anomaly for variable 'bt' (lines '212'-'215'). |
| 10271 |
src/weixin/guanjia/core/util/WeixinUtil.java |
217 |
Avoid printStackTrace(); use a logger call instead. |
| 10272 |
src/weixin/guanjia/core/util/WeixinUtil.java |
222 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 10273 |
src/weixin/guanjia/core/util/WeixinUtil.java |
222 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 10274 |
src/weixin/guanjia/core/util/WeixinUtil.java |
225 |
Found 'DD'-anomaly for variable 'len' (lines '225'-'226'). |
| 10275 |
src/weixin/guanjia/core/util/WeixinUtil.java |
226 |
Avoid assignments in operands |
| 10276 |
src/weixin/guanjia/core/util/WeixinUtil.java |
226 |
Found 'DU'-anomaly for variable 'len' (lines '226'-'233'). |
| 10277 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
13 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 10278 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
14 |
Variables that are final and static should be in all caps. |
| 10279 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
16 |
Avoid using implementation types like 'HashMap'; use the interface instead |
| 10280 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
16 |
Avoid using implementation types like 'HashMap'; use the interface instead |
| 10281 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
16 |
Parameter 'filename' is not assigned and could be declared final |
| 10282 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
16 |
Parameter 'map' is not assigned and could be declared final |
| 10283 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
17 |
Local variable 'saxReader' could be declared final |
| 10284 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
20 |
Local variable 'document' could be declared final |
| 10285 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
21 |
Local variable 'root' could be declared final |
| 10286 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
22 |
Local variable 'iterProvince' could be declared final |
| 10287 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
24 |
Local variable 'province' could be declared final |
| 10288 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
38 |
Avoid printStackTrace(); use a logger call instead. |
| 10289 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
42 |
Parameter 'filepach' is not assigned and could be declared final |
| 10290 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
42 |
Parameter 'placeName' is not assigned and could be declared final |
| 10291 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
43 |
Found 'DD'-anomaly for variable 'placeId' (lines '43'-'49'). |
| 10292 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
43 |
Found 'DU'-anomaly for variable 'placeId' (lines '43'-'55'). |
| 10293 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
44 |
Avoid using if statements without curly braces |
| 10294 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
45 |
A method should have only one exit point, and that should be the last statement in the method |
| 10295 |
src/weixin/guanjia/core/util/weather/MapUtil.java |
51 |
Avoid printStackTrace(); use a logger call instead. |
| 10296 |
src/weixin/guanjia/core/util/weather/UrlUtil.java |
13 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 10297 |
src/weixin/guanjia/core/util/weather/UrlUtil.java |
14 |
Parameter 'path' is not assigned and could be declared final |
| 10298 |
src/weixin/guanjia/core/util/weather/UrlUtil.java |
15 |
Avoid variables with short names like sb |
| 10299 |
src/weixin/guanjia/core/util/weather/UrlUtil.java |
15 |
Found 'DD'-anomaly for variable 'sb' (lines '15'-'24'). |
| 10300 |
src/weixin/guanjia/core/util/weather/UrlUtil.java |
17 |
Found 'DD'-anomaly for variable 'url' (lines '17'-'19'). |
| 10301 |
src/weixin/guanjia/core/util/weather/UrlUtil.java |
20 |
Local variable 'connectionData' could be declared final |
| 10302 |
src/weixin/guanjia/core/util/weather/UrlUtil.java |
22 |
Avoid variables with short names like br |
| 10303 |
src/weixin/guanjia/core/util/weather/UrlUtil.java |
22 |
Local variable 'br' could be declared final |
| 10304 |
src/weixin/guanjia/core/util/weather/UrlUtil.java |
25 |
Found 'DD'-anomaly for variable 'line' (lines '25'-'26'). |
| 10305 |
src/weixin/guanjia/core/util/weather/UrlUtil.java |
26 |
Avoid assignments in operands |
| 10306 |
src/weixin/guanjia/core/util/weather/UrlUtil.java |
26 |
Avoid using while statements without curly braces |
| 10307 |
src/weixin/guanjia/core/util/weather/UrlUtil.java |
26 |
Found 'DU'-anomaly for variable 'line' (lines '26'-'38'). |
| 10308 |
src/weixin/guanjia/core/util/weather/UrlUtil.java |
33 |
Avoid printStackTrace(); use a logger call instead. |
| 10309 |
src/weixin/guanjia/core/util/weather/UrlUtil.java |
35 |
Avoid printStackTrace(); use a logger call instead. |
| 10310 |
src/weixin/guanjia/core/util/weather/Weather.java |
12 |
Parameter 'filepach' is not assigned and could be declared final |
| 10311 |
src/weixin/guanjia/core/util/weather/Weather.java |
12 |
Parameter 'name' is not assigned and could be declared final |
| 10312 |
src/weixin/guanjia/core/util/weather/Weather.java |
13 |
Local variable 'placeId' could be declared final |
| 10313 |
src/weixin/guanjia/core/util/weather/Weather.java |
14 |
Found 'DD'-anomaly for variable 'map' (lines '14'-'18'). |
| 10314 |
src/weixin/guanjia/core/util/weather/Weather.java |
15 |
Local variable 'url' could be declared final |
| 10315 |
src/weixin/guanjia/core/util/weather/Weather.java |
16 |
Local variable 'content' could be declared final |
| 10316 |
src/weixin/guanjia/core/util/weather/Weather.java |
22 |
Parameter 'filepach' is not assigned and could be declared final |
| 10317 |
src/weixin/guanjia/core/util/weather/Weather.java |
22 |
Parameter 'name' is not assigned and could be declared final |
| 10318 |
src/weixin/guanjia/core/util/weather/Weather.java |
23 |
Local variable 'placeId' could be declared final |
| 10319 |
src/weixin/guanjia/core/util/weather/Weather.java |
24 |
Found 'DD'-anomaly for variable 'map' (lines '24'-'28'). |
| 10320 |
src/weixin/guanjia/core/util/weather/Weather.java |
25 |
Local variable 'url' could be declared final |
| 10321 |
src/weixin/guanjia/core/util/weather/Weather.java |
32 |
Parameter 'datas' is not assigned and could be declared final |
| 10322 |
src/weixin/guanjia/core/util/weather/Weather.java |
33 |
This call to String.startsWith can be rewritten using String.charAt(0) |
| 10323 |
src/weixin/guanjia/core/util/weather/Weather.java |
35 |
A method should have only one exit point, and that should be the last statement in the method |
| 10324 |
src/weixin/guanjia/core/util/weather/Weather.java |
47 |
Avoid instantiating new objects inside loops |
| 10325 |
src/weixin/guanjia/core/util/weather/Weather.java |
47 |
Avoid variables with short names like sf |
| 10326 |
src/weixin/guanjia/core/util/weather/Weather.java |
47 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 10327 |
src/weixin/guanjia/core/util/weather/Weather.java |
53 |
The String literal "temp" appears 4 times in this file; the first occurrence is on line 53 |
| 10328 |
src/weixin/guanjia/core/util/weather/Weather.java |
57 |
The String literal "city" appears 4 times in this file; the first occurrence is on line 57 |
| 10329 |
src/weixin/guanjia/core/util/weather/Weather.java |
63 |
The String literal "cityid" appears 4 times in this file; the first occurrence is on line 63 |
| 10330 |
src/weixin/guanjia/core/util/weather/Weather.java |
71 |
This call to String.startsWith can be rewritten using String.charAt(0) |
| 10331 |
src/weixin/guanjia/core/util/weather/Weather.java |
73 |
A method should have only one exit point, and that should be the last statement in the method |
| 10332 |
src/weixin/guanjia/core/util/weather/Weather.java |
95 |
Avoid variables with short names like iw |
| 10333 |
src/weixin/guanjia/core/util/weather/Weather.java |
96 |
Found 'DD'-anomaly for variable 'weekStr' (lines '96'-'102'). |
| 10334 |
src/weixin/guanjia/core/util/weather/Weather.java |
96 |
Found 'DD'-anomaly for variable 'weekStr' (lines '96'-'105'). |
| 10335 |
src/weixin/guanjia/core/util/weather/Weather.java |
96 |
Found 'DD'-anomaly for variable 'weekStr' (lines '96'-'108'). |
| 10336 |
src/weixin/guanjia/core/util/weather/Weather.java |
96 |
Found 'DD'-anomaly for variable 'weekStr' (lines '96'-'111'). |
| 10337 |
src/weixin/guanjia/core/util/weather/Weather.java |
96 |
Found 'DD'-anomaly for variable 'weekStr' (lines '96'-'114'). |
| 10338 |
src/weixin/guanjia/core/util/weather/Weather.java |
96 |
Found 'DD'-anomaly for variable 'weekStr' (lines '96'-'117'). |
| 10339 |
src/weixin/guanjia/core/util/weather/Weather.java |
96 |
Found 'DD'-anomaly for variable 'weekStr' (lines '96'-'99'). |
| 10340 |
src/weixin/guanjia/core/util/weather/Weather.java |
97 |
Switch statements should have a default label |
| 10341 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 10342 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
42 |
Avoid unused private fields such as 'logger'. |
| 10343 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
42 |
Variables that are final and static should be in all caps. |
| 10344 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
45 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10345 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
48 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10346 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
51 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10347 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
54 |
Avoid excessively long variable names like weixinAccountService |
| 10348 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
54 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10349 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
58 |
Parameter 'request' is not assigned and could be declared final |
| 10350 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
63 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 10351 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
63 |
Parameter 'groupYw' is not assigned and could be declared final |
| 10352 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
63 |
Parameter 'request' is not assigned and could be declared final |
| 10353 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
63 |
Parameter 'response' is not assigned and could be declared final |
| 10354 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
64 |
Avoid variables with short names like cq |
| 10355 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
64 |
Local variable 'cq' could be declared final |
| 10356 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
65 |
Local variable 'weixinAccount' could be declared final |
| 10357 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
78 |
Avoid reassigning parameters such as 'groupYw' |
| 10358 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
79 |
Avoid variables with short names like j |
| 10359 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
79 |
Local variable 'j' could be declared final |
| 10360 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
92 |
Avoid variables with short names like j |
| 10361 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
92 |
Local variable 'j' could be declared final |
| 10362 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
95 |
Avoid variables with short names like t |
| 10363 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
95 |
Local variable 't' could be declared final |
| 10364 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
101 |
Avoid printStackTrace(); use a logger call instead. |
| 10365 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
138 |
Avoid reassigning parameters such as 'groupYw' |
| 10366 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
162 |
Avoid variables with short names like j |
| 10367 |
src/weixin/guanjia/gzgroup/controller/GroupYwController.java |
164 |
Found 'DU'-anomaly for variable 'groupId' (lines '164'-'175'). |
| 10368 |
src/weixin/guanjia/gzgroup/entity/GroupYw.java |
12 |
Avoid variables with short names like id |
| 10369 |
src/weixin/guanjia/gzgroup/entity/GroupYw.java |
23 |
Avoid variables with short names like id |
| 10370 |
src/weixin/guanjia/gzgroup/entity/GroupYw.java |
23 |
Parameter 'id' is not assigned and could be declared final |
| 10371 |
src/weixin/guanjia/gzgroup/entity/GroupYw.java |
32 |
Parameter 'name' is not assigned and could be declared final |
| 10372 |
src/weixin/guanjia/gzgroup/entity/GroupYw.java |
41 |
Parameter 'addTime' is not assigned and could be declared final |
| 10373 |
src/weixin/guanjia/gzgroup/entity/GroupYw.java |
50 |
Parameter 'accountId' is not assigned and could be declared final |
| 10374 |
src/weixin/guanjia/gzgroup/model/ComplexGroup.java |
6 |
Parameter 'group' is not assigned and could be declared final |
| 10375 |
src/weixin/guanjia/gzgroup/model/ComplexGroup.java |
14 |
Parameter 'group' is not assigned and could be declared final |
| 10376 |
src/weixin/guanjia/gzgroup/model/Group.java |
10 |
Parameter 'name' is not assigned and could be declared final |
| 10377 |
src/weixin/guanjia/gzgroup/service/GroupYwServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 10378 |
src/weixin/guanjia/gzgroup/service/impl/GroupService.java |
16 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 10379 |
src/weixin/guanjia/gzgroup/service/impl/GroupService.java |
19 |
Avoid excessively long variable names like weixinAccountService |
| 10380 |
src/weixin/guanjia/gzgroup/service/impl/GroupService.java |
19 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10381 |
src/weixin/guanjia/gzgroup/service/impl/GroupService.java |
23 |
Parameter 'complexGroup' is not assigned and could be declared final |
| 10382 |
src/weixin/guanjia/gzgroup/service/impl/GroupService.java |
24 |
Local variable 'accessToken' could be declared final |
| 10383 |
src/weixin/guanjia/gzgroup/service/impl/GroupService.java |
25 |
A method should have only one exit point, and that should be the last statement in the method |
| 10384 |
src/weixin/guanjia/gzgroup/service/impl/GroupService.java |
25 |
Avoid using if statements without curly braces |
| 10385 |
src/weixin/guanjia/gzgroup/service/impl/GroupService.java |
26 |
Local variable 'requestUrl' could be declared final |
| 10386 |
src/weixin/guanjia/gzgroup/service/impl/GroupService.java |
27 |
Local variable 'obj' could be declared final |
| 10387 |
src/weixin/guanjia/gzgroup/service/impl/GroupService.java |
28 |
Avoid using if statements without curly braces |
| 10388 |
src/weixin/guanjia/gzgroup/service/impl/GroupService.java |
29 |
Local variable 'result' could be declared final |
| 10389 |
src/weixin/guanjia/gzgroup/service/impl/GroupService.java |
30 |
Avoid using if statements without curly braces |
| 10390 |
src/weixin/guanjia/gzgroup/service/impl/GroupYwServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 10391 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 10392 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
41 |
The class 'GzUserInfoYwController' has a Cyclomatic Complexity of 3 (Highest = 10). |
| 10393 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
42 |
Variables that are final and static should be in all caps. |
| 10394 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
46 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10395 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
49 |
Avoid excessively long variable names like gzUserInfoYwService |
| 10396 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
49 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10397 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
52 |
Avoid excessively long variable names like weixinAccountService |
| 10398 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
52 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10399 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
55 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10400 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
57 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10401 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
61 |
Parameter 'request' is not assigned and could be declared final |
| 10402 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
62 |
Local variable 'accountId' could be declared final |
| 10403 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
63 |
Local variable 'groupList' could be declared final |
| 10404 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
66 |
Found 'DD'-anomaly for variable 'replaceStr' (lines '66'-'69'). |
| 10405 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
68 |
Local variable 'group' could be declared final |
| 10406 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
69 |
Prefer StringBuffer over += for concatenating strings |
| 10407 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
71 |
Prefer StringBuffer over += for concatenating strings |
| 10408 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
74 |
System.out.print is used |
| 10409 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
81 |
Parameter 'gzUserInfoYw' is not assigned and could be declared final |
| 10410 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
81 |
Parameter 'request' is not assigned and could be declared final |
| 10411 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
81 |
The method 'datagrid' has a Cyclomatic Complexity of 10. |
| 10412 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
81 |
The method datagrid() has an NPath complexity of 200 |
| 10413 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
82 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 10414 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
82 |
Parameter 'response' is not assigned and could be declared final |
| 10415 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
84 |
Avoid unused local variables such as 'total_id'. |
| 10416 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
84 |
Found 'DU'-anomaly for variable 'total_id' (lines '84'-'125'). |
| 10417 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
84 |
Local variable 'total_id' could be declared final |
| 10418 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
86 |
Avoid variables with short names like cq |
| 10419 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
86 |
Local variable 'cq' could be declared final |
| 10420 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
90 |
Avoid excessively long variable names like weixinAccountEntity |
| 10421 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
105 |
Found 'DU'-anomaly for variable 'sdf' (lines '105'-'125'). |
| 10422 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
105 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 10423 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
106 |
Found 'DD'-anomaly for variable 'subscribeTime' (lines '106'-'116'). |
| 10424 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
106 |
Found 'DU'-anomaly for variable 'subscribeTime' (lines '106'-'125'). |
| 10425 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
110 |
Avoid instantiating new objects inside loops |
| 10426 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
116 |
Avoid instantiating new objects inside loops |
| 10427 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
117 |
Deeply nested if..then statements are hard to read |
| 10428 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
120 |
Avoid empty catch blocks |
| 10429 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
129 |
Avoid reassigning parameters such as 'gzUserInfoYw' |
| 10430 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
130 |
Avoid variables with short names like j |
| 10431 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
145 |
Avoid variables with short names like j |
| 10432 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
148 |
Avoid variables with short names like t |
| 10433 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
156 |
Avoid printStackTrace(); use a logger call instead. |
| 10434 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
172 |
Avoid reassigning parameters such as 'gzUserInfoYw' |
| 10435 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
180 |
Avoid using if statements without curly braces |
| 10436 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
189 |
Avoid variables with short names like j |
| 10437 |
src/weixin/guanjia/gzuserinfo/controller/GzUserInfoYwController.java |
192 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 10438 |
src/weixin/guanjia/gzuserinfo/entity/GzUserInfoYw.java |
35 |
Parameter 'subscribe' is not assigned and could be declared final |
| 10439 |
src/weixin/guanjia/gzuserinfo/entity/GzUserInfoYw.java |
44 |
Parameter 'openid' is not assigned and could be declared final |
| 10440 |
src/weixin/guanjia/gzuserinfo/entity/GzUserInfoYw.java |
53 |
Parameter 'nickname' is not assigned and could be declared final |
| 10441 |
src/weixin/guanjia/gzuserinfo/entity/GzUserInfoYw.java |
62 |
Parameter 'sex' is not assigned and could be declared final |
| 10442 |
src/weixin/guanjia/gzuserinfo/entity/GzUserInfoYw.java |
71 |
Parameter 'city' is not assigned and could be declared final |
| 10443 |
src/weixin/guanjia/gzuserinfo/model/GzUserInfo.java |
12 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 10444 |
src/weixin/guanjia/gzuserinfo/model/GzUserInfo.java |
14 |
Document empty constructor |
| 10445 |
src/weixin/guanjia/gzuserinfo/model/GzUserInfo.java |
17 |
Parameter 'city' is not assigned and could be declared final |
| 10446 |
src/weixin/guanjia/gzuserinfo/model/GzUserInfo.java |
17 |
Parameter 'nickname' is not assigned and could be declared final |
| 10447 |
src/weixin/guanjia/gzuserinfo/model/GzUserInfo.java |
17 |
Parameter 'openid' is not assigned and could be declared final |
| 10448 |
src/weixin/guanjia/gzuserinfo/model/GzUserInfo.java |
17 |
Parameter 'province' is not assigned and could be declared final |
| 10449 |
src/weixin/guanjia/gzuserinfo/model/GzUserInfo.java |
17 |
Parameter 'sex' is not assigned and could be declared final |
| 10450 |
src/weixin/guanjia/gzuserinfo/model/GzUserInfo.java |
94 |
Method names should not contain underscores |
| 10451 |
src/weixin/guanjia/gzuserinfo/model/GzUserInfo.java |
98 |
Method names should not contain underscores |
| 10452 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
24 |
Variables that are final and static should be in all caps. |
| 10453 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
25 |
Variables that are final and static should be in all caps. |
| 10454 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
28 |
Avoid excessively long variable names like weixinAccountService |
| 10455 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
28 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10456 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
30 |
Avoid excessively long variable names like gzUserInfoYwService |
| 10457 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
30 |
Avoid unused private fields such as 'gzUserInfoYwService'. |
| 10458 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
32 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10459 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
35 |
Parameter 'systemService' is not assigned and could be declared final |
| 10460 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
39 |
Parameter 'openId' is not assigned and could be declared final |
| 10461 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
40 |
Local variable 'accessToken' could be declared final |
| 10462 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
41 |
Local variable 'requestUrl' could be declared final |
| 10463 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
41 |
The String literal "ACCESS_TOKEN" appears 4 times in this file; the first occurrence is on line 41 |
| 10464 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
43 |
Local variable 'jsonObj' could be declared final |
| 10465 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
46 |
Local variable 'subscribe' could be declared final |
| 10466 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
47 |
Local variable 'openid' could be declared final |
| 10467 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
47 |
The String literal "openid" appears 6 times in this file; the first occurrence is on line 47 |
| 10468 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
48 |
Do not add empty strings |
| 10469 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
57 |
A method should have only one exit point, and that should be the last statement in the method |
| 10470 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
62 |
Parameter 'accountId' is not assigned and could be declared final |
| 10471 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
62 |
Parameter 'openId' is not assigned and could be declared final |
| 10472 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
71 |
Do not add empty strings |
| 10473 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
80 |
A method should have only one exit point, and that should be the last statement in the method |
| 10474 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
85 |
Avoid reassigning parameters such as 'NEXT_OPENID' |
| 10475 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
85 |
Parameter 'accountId' is not assigned and could be declared final |
| 10476 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
90 |
Found 'DU'-anomaly for variable 'requestUrl' (lines '90'-'126'). |
| 10477 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
98 |
Avoid using if statements without curly braces |
| 10478 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
98 |
Deeply nested if..then statements are hard to read |
| 10479 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
102 |
Deeply nested if..then statements are hard to read |
| 10480 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
109 |
Avoid instantiating new objects inside loops |
| 10481 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
116 |
Found 'DU'-anomaly for variable 'requestUrl' (lines '116'-'126'). |
| 10482 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
131 |
Avoid using if statements without curly braces |
| 10483 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
160 |
Avoid variables with short names like cq |
| 10484 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
166 |
New exception is thrown in catch block, original stack trace may be lost |
| 10485 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
169 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 10486 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
170 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 10487 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoService.java |
171 |
A method should have only one exit point, and that should be the last statement in the method |
| 10488 |
src/weixin/guanjia/gzuserinfo/service/GzUserInfoYwServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 10489 |
src/weixin/guanjia/gzuserinfo/service/impl/GzUserInfoYwServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 10490 |
src/weixin/guanjia/gzuserinfo/timer/GzUserInfoTimer.java |
21 |
The Logger variable declaration does not contain the static and final modifiers |
| 10491 |
src/weixin/guanjia/gzuserinfo/timer/GzUserInfoTimer.java |
21 |
The field name indicates a constant but its modifiers do not |
| 10492 |
src/weixin/guanjia/gzuserinfo/timer/GzUserInfoTimer.java |
21 |
Variables should start with a lowercase character |
| 10493 |
src/weixin/guanjia/gzuserinfo/timer/GzUserInfoTimer.java |
24 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10494 |
src/weixin/guanjia/gzuserinfo/timer/GzUserInfoTimer.java |
27 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10495 |
src/weixin/guanjia/gzuserinfo/timer/GzUserInfoTimer.java |
31 |
Avoid using if statements without curly braces |
| 10496 |
src/weixin/guanjia/gzuserinfo/timer/GzUserInfoTimer.java |
32 |
Local variable 'accountList' could be declared final |
| 10497 |
src/weixin/guanjia/gzuserinfo/timer/GzUserInfoTimer.java |
35 |
Local variable 'hql' could be declared final |
| 10498 |
src/weixin/guanjia/gzuserinfo/timer/GzUserInfoTimer.java |
37 |
Local variable 'gzUserInfoList' could be declared final |
| 10499 |
src/weixin/guanjia/gzuserinfo/timer/GzUserInfoTimer.java |
38 |
Avoid using if statements without curly braces |
| 10500 |
src/weixin/guanjia/gzuserinfo/timer/GzUserInfoTimer.java |
40 |
Local variable 'gzUserInfo' could be declared final |
| 10501 |
src/weixin/guanjia/gzuserinfo/timer/GzUserInfoTimer.java |
41 |
Local variable 'temp' could be declared final |
| 10502 |
src/weixin/guanjia/gzuserinfo/timer/GzUserInfoTimer.java |
43 |
Avoid using if statements without curly braces |
| 10503 |
src/weixin/guanjia/gzuserinfo/timer/GzUserInfoTimer.java |
55 |
Avoid instantiating new objects inside loops |
| 10504 |
src/weixin/guanjia/location/controller/LocationController.java |
20 |
Avoid unused private fields such as 'logger'. |
| 10505 |
src/weixin/guanjia/location/controller/LocationController.java |
20 |
Variables that are final and static should be in all caps. |
| 10506 |
src/weixin/guanjia/location/controller/LocationController.java |
23 |
Avoid excessively long variable names like locationEntityService |
| 10507 |
src/weixin/guanjia/location/controller/LocationController.java |
23 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10508 |
src/weixin/guanjia/location/controller/LocationController.java |
26 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10509 |
src/weixin/guanjia/location/controller/LocationController.java |
29 |
Avoid unused private fields such as 'systemService'. |
| 10510 |
src/weixin/guanjia/location/controller/LocationController.java |
36 |
Parameter 'message' is not assigned and could be declared final |
| 10511 |
src/weixin/guanjia/location/controller/LocationController.java |
41 |
Avoid reassigning parameters such as 'locationEntity' |
| 10512 |
src/weixin/guanjia/location/controller/LocationController.java |
41 |
Parameter 'req' is not assigned and could be declared final |
| 10513 |
src/weixin/guanjia/location/controller/LocationController.java |
42 |
Local variable 'openId' could be declared final |
| 10514 |
src/weixin/guanjia/location/controller/LocationController.java |
43 |
Local variable 'accountid' could be declared final |
| 10515 |
src/weixin/guanjia/location/controller/LocationController.java |
46 |
Local variable 'hql' could be declared final |
| 10516 |
src/weixin/guanjia/location/controller/LocationController.java |
47 |
Found 'DU'-anomaly for variable 'aroundList' (lines '47'-'65'). |
| 10517 |
src/weixin/guanjia/location/controller/LocationController.java |
47 |
Local variable 'aroundList' could be declared final |
| 10518 |
src/weixin/guanjia/location/controller/LocationController.java |
49 |
Local variable 'latitude' could be declared final |
| 10519 |
src/weixin/guanjia/location/controller/LocationController.java |
54 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 10520 |
src/weixin/guanjia/location/entity/LocationEntity.java |
32 |
Parameter 'openid' is not assigned and could be declared final |
| 10521 |
src/weixin/guanjia/location/entity/LocationEntity.java |
41 |
Parameter 'accountid' is not assigned and could be declared final |
| 10522 |
src/weixin/guanjia/location/entity/LocationEntity.java |
50 |
Parameter 'latitude' is not assigned and could be declared final |
| 10523 |
src/weixin/guanjia/location/entity/LocationEntity.java |
59 |
Parameter 'longitude' is not assigned and could be declared final |
| 10524 |
src/weixin/guanjia/location/entity/LocationEntity.java |
68 |
Parameter 'precision' is not assigned and could be declared final |
| 10525 |
src/weixin/guanjia/location/service/LocationServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 10526 |
src/weixin/guanjia/location/service/impl/LocationEntityServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 10527 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 10528 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
27 |
Avoid unused imports such as 'org.jeecgframework.core.util.oConvertUtils' |
| 10529 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
27 |
Avoid unused imports such as 'org.jeecgframework.core.util.oConvertUtils' |
| 10530 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
60 |
The class 'MenuManagerController' has a Cyclomatic Complexity of 4 (Highest = 14). |
| 10531 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
62 |
The Logger variable declaration does not contain the static and final modifiers |
| 10532 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
62 |
The field name indicates a constant but its modifiers do not |
| 10533 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
62 |
Variables should start with a lowercase character |
| 10534 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
65 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10535 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
68 |
Avoid excessively long variable names like weixinAccountService |
| 10536 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
68 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10537 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
71 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10538 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
74 |
Avoid excessively long variable names like weixinExpandconfigService |
| 10539 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
74 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10540 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
76 |
Avoid excessively long variable names like newsTemplateService |
| 10541 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
76 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10542 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
78 |
Avoid excessively long variable names like textTemplateService |
| 10543 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
87 |
Parameter 'request' is not assigned and could be declared final |
| 10544 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
87 |
Parameter 'response' is not assigned and could be declared final |
| 10545 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
88 |
Found 'DU'-anomaly for variable 'accountid' (lines '88'-'113'). |
| 10546 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
88 |
Found 'DU'-anomaly for variable 'accountid' (lines '88'-'113'). |
| 10547 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
88 |
Local variable 'accountid' could be declared final |
| 10548 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
90 |
Found 'DU'-anomaly for variable 'resMsg' (lines '90'-'113'). |
| 10549 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
90 |
Found 'DU'-anomaly for variable 'resMsg' (lines '90'-'113'). |
| 10550 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
91 |
Local variable 'config' could be declared final |
| 10551 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
93 |
Parameter 'name' is not assigned and could be declared final |
| 10552 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
93 |
Parameter 'source' is not assigned and could be declared final |
| 10553 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
93 |
Parameter 'value' is not assigned and could be declared final |
| 10554 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
94 |
Position literals first in String comparisons |
| 10555 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
100 |
Local variable 'textList' could be declared final |
| 10556 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
100 |
The String literal "accountId" appears 6 times in this file; the first occurrence is on line 100 |
| 10557 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
102 |
Local variable 'json' could be declared final |
| 10558 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
106 |
Local variable 'writer' could be declared final |
| 10559 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
117 |
Found 'DU'-anomaly for variable 'accountid' (lines '117'-'149'). |
| 10560 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
119 |
Found 'DD'-anomaly for variable 'resMsg' (lines '119'-'124'). |
| 10561 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
119 |
Found 'DD'-anomaly for variable 'resMsg' (lines '119'-'131'). |
| 10562 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
119 |
Found 'DD'-anomaly for variable 'resMsg' (lines '119'-'138'). |
| 10563 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
135 |
Avoid excessively long variable names like weixinExpandconfigEntities |
| 10564 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
155 |
Avoid variables with short names like cq |
| 10565 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
157 |
Avoid if (x != y) ..; else ..; |
| 10566 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
166 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 10567 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
168 |
Found 'DD'-anomaly for variable 'treeGrids' (lines '168'-'178'). |
| 10568 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
183 |
Avoid reassigning parameters such as 'menuEntity' |
| 10569 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
216 |
Avoid using short method names |
| 10570 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
217 |
Avoid variables with short names like j |
| 10571 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
223 |
Found 'DU'-anomaly for variable 'menuTemp' (lines '223'-'260'). |
| 10572 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
238 |
Avoid printStackTrace(); use a logger call instead. |
| 10573 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
249 |
Avoid if (x != y) ..; else ..; |
| 10574 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
269 |
Avoid reassigning parameters such as 'menuEntity' |
| 10575 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
270 |
Avoid variables with short names like j |
| 10576 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
284 |
Avoid really long methods. |
| 10577 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
284 |
The method 'sameMenu' has a Cyclomatic Complexity of 14. |
| 10578 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
285 |
Avoid variables with short names like j |
| 10579 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
292 |
Found 'DD'-anomaly for variable 'firstArr' (lines '292'-'307'). |
| 10580 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
292 |
Found 'DD'-anomaly for variable 'firstArr' (lines '292'-'313'). |
| 10581 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
292 |
Found 'DD'-anomaly for variable 'firstArr' (lines '292'-'340'). |
| 10582 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
300 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 10583 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
303 |
Avoid instantiating new objects inside loops |
| 10584 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
307 |
Found 'DD'-anomaly for variable 'firstArr' (lines '307'-'307'). |
| 10585 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
307 |
Found 'DD'-anomaly for variable 'firstArr' (lines '307'-'313'). |
| 10586 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
307 |
Found 'DD'-anomaly for variable 'firstArr' (lines '307'-'340'). |
| 10587 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
309 |
Avoid instantiating new objects inside loops |
| 10588 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
309 |
Avoid variables with short names like cb |
| 10589 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
313 |
Found 'DD'-anomaly for variable 'firstArr' (lines '313'-'307'). |
| 10590 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
313 |
Found 'DD'-anomaly for variable 'firstArr' (lines '313'-'313'). |
| 10591 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
313 |
Found 'DD'-anomaly for variable 'firstArr' (lines '313'-'340'). |
| 10592 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
316 |
Avoid instantiating new objects inside loops |
| 10593 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
319 |
Avoid instantiating new objects inside loops |
| 10594 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
319 |
Found 'DD'-anomaly for variable 'secondARR' (lines '319'-'328'). |
| 10595 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
319 |
Found 'DD'-anomaly for variable 'secondARR' (lines '319'-'334'). |
| 10596 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
324 |
Avoid instantiating new objects inside loops |
| 10597 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
328 |
Found 'DD'-anomaly for variable 'secondARR' (lines '328'-'328'). |
| 10598 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
328 |
Found 'DD'-anomaly for variable 'secondARR' (lines '328'-'334'). |
| 10599 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
334 |
Found 'DD'-anomaly for variable 'secondARR' (lines '334'-'328'). |
| 10600 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
334 |
Found 'DD'-anomaly for variable 'secondARR' (lines '334'-'334'). |
| 10601 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
340 |
Found 'DD'-anomaly for variable 'firstArr' (lines '340'-'307'). |
| 10602 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
340 |
Found 'DD'-anomaly for variable 'firstArr' (lines '340'-'313'). |
| 10603 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
340 |
Found 'DD'-anomaly for variable 'firstArr' (lines '340'-'340'). |
| 10604 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
350 |
Found 'DD'-anomaly for variable 'jsonObject' (lines '350'-'352'). |
| 10605 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
354 |
Avoid if (x != y) ..; else ..; |
| 10606 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
355 |
The String literal "errcode" appears 4 times in this file; the first occurrence is on line 355 |
| 10607 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
367 |
Found 'DD'-anomaly for variable 'accessToken' (lines '367'-'371'). |
| 10608 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
378 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 10609 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
399 |
Avoid using if...else statements without curly braces |
| 10610 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
428 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 10611 |
src/weixin/guanjia/menu/controller/MenuManagerController.java |
430 |
Found 'DD'-anomaly for variable 'treeGrids' (lines '430'-'438'). |
| 10612 |
src/weixin/guanjia/menu/entity/MenuEntity.java |
27 |
It is somewhat confusing to have a field name matching the declaring class name |
| 10613 |
src/weixin/guanjia/menu/entity/MenuEntity.java |
36 |
Parameter 'name' is not assigned and could be declared final |
| 10614 |
src/weixin/guanjia/menu/entity/MenuEntity.java |
45 |
Parameter 'menuKey' is not assigned and could be declared final |
| 10615 |
src/weixin/guanjia/menu/entity/MenuEntity.java |
54 |
Parameter 'type' is not assigned and could be declared final |
| 10616 |
src/weixin/guanjia/menu/entity/MenuEntity.java |
63 |
Parameter 'url' is not assigned and could be declared final |
| 10617 |
src/weixin/guanjia/menu/entity/MenuEntity.java |
72 |
Parameter 'orders' is not assigned and could be declared final |
| 10618 |
src/weixin/guanjia/menu/service/WeixinMenuServiceI.java |
8 |
Avoid modifiers which are implied by the context |
| 10619 |
src/weixin/guanjia/menu/service/WeixinMenuServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 10620 |
src/weixin/guanjia/menu/service/WeixinMenuServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 10621 |
src/weixin/guanjia/menu/service/WeixinMenuServiceI.java |
14 |
Avoid modifiers which are implied by the context |
| 10622 |
src/weixin/guanjia/menu/service/WeixinMenuServiceI.java |
16 |
Avoid modifiers which are implied by the context |
| 10623 |
src/weixin/guanjia/menu/service/impl/WeixinMenuServiceImpl.java |
18 |
Avoid excessively long variable names like weixinAccountService |
| 10624 |
src/weixin/guanjia/menu/service/impl/WeixinMenuServiceImpl.java |
18 |
Avoid unused private fields such as 'weixinAccountService'. |
| 10625 |
src/weixin/guanjia/menu/service/impl/WeixinMenuServiceImpl.java |
20 |
Parameter 'entity' is not assigned and could be declared final |
| 10626 |
src/weixin/guanjia/menu/service/impl/WeixinMenuServiceImpl.java |
26 |
Parameter 'entity' is not assigned and could be declared final |
| 10627 |
src/weixin/guanjia/menu/service/impl/WeixinMenuServiceImpl.java |
27 |
Local variable 'menuEntity' could be declared final |
| 10628 |
src/weixin/guanjia/menu/service/impl/WeixinMenuServiceImpl.java |
29 |
Avoid variables with short names like t |
| 10629 |
src/weixin/guanjia/menu/service/impl/WeixinMenuServiceImpl.java |
29 |
Local variable 't' could be declared final |
| 10630 |
src/weixin/guanjia/menu/service/impl/WeixinMenuServiceImpl.java |
35 |
Parameter 'entity' is not assigned and could be declared final |
| 10631 |
src/weixin/guanjia/menu/service/impl/WeixinMenuServiceImpl.java |
41 |
Avoid variables with short names like t |
| 10632 |
src/weixin/guanjia/menu/service/impl/WeixinMenuServiceImpl.java |
41 |
Parameter 't' is not assigned and could be declared final |
| 10633 |
src/weixin/guanjia/menu/service/impl/WeixinMenuServiceImpl.java |
45 |
Avoid variables with short names like t |
| 10634 |
src/weixin/guanjia/menu/service/impl/WeixinMenuServiceImpl.java |
45 |
Parameter 't' is not assigned and could be declared final |
| 10635 |
src/weixin/guanjia/menu/service/impl/WeixinMenuServiceImpl.java |
49 |
Avoid variables with short names like t |
| 10636 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
40 |
The Logger variable declaration does not contain the static and final modifiers |
| 10637 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
40 |
The field name indicates a constant but its modifiers do not |
| 10638 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
40 |
Variables should start with a lowercase character |
| 10639 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
42 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10640 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
45 |
Avoid excessively long variable names like autoResponseService |
| 10641 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
45 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10642 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
48 |
Avoid excessively long variable names like weixinAccountService |
| 10643 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
48 |
Avoid unused private fields such as 'weixinAccountService'. |
| 10644 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
50 |
Avoid excessively long variable names like newsTemplateService |
| 10645 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
50 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10646 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
52 |
Avoid excessively long variable names like textTemplateService |
| 10647 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
52 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10648 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
62 |
Parameter 'autoResponse' is not assigned and could be declared final |
| 10649 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
62 |
Parameter 'request' is not assigned and could be declared final |
| 10650 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
62 |
Parameter 'response' is not assigned and could be declared final |
| 10651 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
63 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 10652 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
64 |
Avoid variables with short names like cq |
| 10653 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
64 |
Local variable 'cq' could be declared final |
| 10654 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
74 |
Avoid reassigning parameters such as 'autoResponse' |
| 10655 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
74 |
Parameter 'req' is not assigned and could be declared final |
| 10656 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
75 |
Avoid variables with short names like j |
| 10657 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
75 |
Local variable 'j' could be declared final |
| 10658 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
88 |
Avoid variables with short names like id |
| 10659 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
88 |
Local variable 'id' could be declared final |
| 10660 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
90 |
Local variable 'accountId' could be declared final |
| 10661 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
91 |
Local variable 'textList' could be declared final |
| 10662 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
114 |
Found 'DD'-anomaly for variable 'templateName' (lines '114'-'121'). |
| 10663 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
114 |
Found 'DD'-anomaly for variable 'templateName' (lines '114'-'136'). |
| 10664 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
115 |
Avoid variables with short names like j |
| 10665 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
116 |
Avoid variables with short names like id |
| 10666 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
132 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 10667 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
139 |
Avoid if (x != y) ..; else ..; |
| 10668 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
151 |
Found 'DD'-anomaly for variable 'templateName' (lines '151'-'155'). |
| 10669 |
src/weixin/guanjia/message/controller/AutoResponseController.java |
151 |
Found 'DD'-anomaly for variable 'templateName' (lines '151'-'160'). |
| 10670 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
27 |
Variables that are final and static should be in all caps. |
| 10671 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
30 |
Avoid unused private fields such as 'systemService'. |
| 10672 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
31 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10673 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
31 |
Private field 'sep' could be made final; it is only initialized in the declaration or constructor. |
| 10674 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
34 |
Parameter 'request' is not assigned and could be declared final |
| 10675 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
34 |
Parameter 'response' is not assigned and could be declared final |
| 10676 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
37 |
Local variable 'mRequest' could be declared final |
| 10677 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
39 |
Local variable 'day' could be declared final |
| 10678 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
41 |
Local variable 'path' could be declared final |
| 10679 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
43 |
Local variable 'base_save_path' could be declared final |
| 10680 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
45 |
Found 'DU'-anomaly for variable 'url_base_path' (lines '45'-'86'). |
| 10681 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
45 |
Local variable 'url_base_path' could be declared final |
| 10682 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
53 |
Found 'DU'-anomaly for variable 'uuid' (lines '53'-'86'). |
| 10683 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
54 |
Found 'DU'-anomaly for variable 'callback' (lines '54'-'86'). |
| 10684 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
55 |
Found 'DD'-anomaly for variable 'save_script' (lines '55'-'69'). |
| 10685 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
55 |
Found 'DD'-anomaly for variable 'save_script' (lines '55'-'81'). |
| 10686 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
59 |
Avoid variables with short names like mf |
| 10687 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
61 |
Found 'DD'-anomaly for variable 'file_name' (lines '61'-'63'). |
| 10688 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
63 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 10689 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
65 |
String.indexOf(char) is faster than String.indexOf(String). |
| 10690 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
69 |
Prefer StringBuffer over += for concatenating strings |
| 10691 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
72 |
Avoid instantiating new objects inside loops |
| 10692 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
76 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 10693 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
76 |
Found 'DD'-anomaly for variable 'savefile' (lines '76'-'72'). |
| 10694 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
76 |
Found 'DU'-anomaly for variable 'savefile' (lines '76'-'86'). |
| 10695 |
src/weixin/guanjia/message/controller/CkeUploadController.java |
81 |
Prefer StringBuffer over += for concatenating strings |
| 10696 |
src/weixin/guanjia/message/controller/NewsItemController.java |
27 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10697 |
src/weixin/guanjia/message/controller/NewsItemController.java |
30 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10698 |
src/weixin/guanjia/message/controller/NewsItemController.java |
33 |
Avoid excessively long variable names like weixinAccountService |
| 10699 |
src/weixin/guanjia/message/controller/NewsItemController.java |
33 |
Avoid unused private fields such as 'weixinAccountService'. |
| 10700 |
src/weixin/guanjia/message/controller/NewsItemController.java |
37 |
Parameter 'request' is not assigned and could be declared final |
| 10701 |
src/weixin/guanjia/message/controller/NewsItemController.java |
38 |
Local variable 'templateId' could be declared final |
| 10702 |
src/weixin/guanjia/message/controller/NewsItemController.java |
45 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 10703 |
src/weixin/guanjia/message/controller/NewsItemController.java |
45 |
Parameter 'newsItem' is not assigned and could be declared final |
| 10704 |
src/weixin/guanjia/message/controller/NewsItemController.java |
45 |
Parameter 'request' is not assigned and could be declared final |
| 10705 |
src/weixin/guanjia/message/controller/NewsItemController.java |
45 |
Parameter 'response' is not assigned and could be declared final |
| 10706 |
src/weixin/guanjia/message/controller/NewsItemController.java |
46 |
Local variable 'templateId' could be declared final |
| 10707 |
src/weixin/guanjia/message/controller/NewsItemController.java |
47 |
Avoid variables with short names like cq |
| 10708 |
src/weixin/guanjia/message/controller/NewsItemController.java |
47 |
Local variable 'cq' could be declared final |
| 10709 |
src/weixin/guanjia/message/controller/NewsItemController.java |
58 |
Avoid reassigning parameters such as 'newsItem' |
| 10710 |
src/weixin/guanjia/message/controller/NewsItemController.java |
59 |
Avoid variables with short names like j |
| 10711 |
src/weixin/guanjia/message/controller/NewsItemController.java |
59 |
Local variable 'j' could be declared final |
| 10712 |
src/weixin/guanjia/message/controller/NewsItemController.java |
70 |
Avoid variables with short names like id |
| 10713 |
src/weixin/guanjia/message/controller/NewsItemController.java |
70 |
Local variable 'id' could be declared final |
| 10714 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
39 |
The Logger variable declaration does not contain the static and final modifiers |
| 10715 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
39 |
The field name indicates a constant but its modifiers do not |
| 10716 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
39 |
Variables should start with a lowercase character |
| 10717 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
41 |
Avoid excessively long variable names like newsTemplateService |
| 10718 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
41 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10719 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
44 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10720 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
47 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10721 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
50 |
Avoid excessively long variable names like autoResponseService |
| 10722 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
50 |
Avoid unused private fields such as 'autoResponseService'. |
| 10723 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
53 |
Avoid excessively long variable names like weixinAccountService |
| 10724 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
53 |
Avoid unused private fields such as 'weixinAccountService'. |
| 10725 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
63 |
Parameter 'newsTemplate' is not assigned and could be declared final |
| 10726 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
63 |
Parameter 'request' is not assigned and could be declared final |
| 10727 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
63 |
Parameter 'response' is not assigned and could be declared final |
| 10728 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
64 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 10729 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
65 |
Avoid variables with short names like cq |
| 10730 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
65 |
Local variable 'cq' could be declared final |
| 10731 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
76 |
Avoid reassigning parameters such as 'newsTemplate' |
| 10732 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
76 |
Parameter 'req' is not assigned and could be declared final |
| 10733 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
77 |
Avoid variables with short names like j |
| 10734 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
77 |
Local variable 'j' could be declared final |
| 10735 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
91 |
Avoid variables with short names like j |
| 10736 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
91 |
Found 'DU'-anomaly for variable 'j' (lines '91'-'111'). |
| 10737 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
91 |
Local variable 'j' could be declared final |
| 10738 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
93 |
Found 'DD'-anomaly for variable 'succeed' (lines '93'-'99'). |
| 10739 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
93 |
Found 'DU'-anomaly for variable 'succeed' (lines '93'-'111'). |
| 10740 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
94 |
Found 'DD'-anomaly for variable 'error' (lines '94'-'104'). |
| 10741 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
97 |
Local variable 'newsTemplate' could be declared final |
| 10742 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
99 |
Found 'DD'-anomaly for variable 'succeed' (lines '99'-'99'). |
| 10743 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
99 |
Found 'DU'-anomaly for variable 'succeed' (lines '99'-'111'). |
| 10744 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
104 |
Found 'DU'-anomaly for variable 'error' (lines '104'-'111'). |
| 10745 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
106 |
New exception is thrown in catch block, original stack trace may be lost |
| 10746 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
115 |
Avoid variables with short names like id |
| 10747 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
115 |
Local variable 'id' could be declared final |
| 10748 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
129 |
Avoid variables with short names like j |
| 10749 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
142 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 10750 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
145 |
Avoid if (x != y) ..; else ..; |
| 10751 |
src/weixin/guanjia/message/controller/NewsTemplateController.java |
157 |
The String literal "templateId" appears 4 times in this file; the first occurrence is on line 157 |
| 10752 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
42 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10753 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
44 |
Avoid excessively long variable names like customerMessageService |
| 10754 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
44 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10755 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
47 |
Avoid excessively long variable names like weixinAccountService |
| 10756 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
47 |
Avoid unused private fields such as 'weixinAccountService'. |
| 10757 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
50 |
Avoid excessively long variable names like customerMessageService |
| 10758 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
50 |
Parameter 'customerMessageService' is not assigned and could be declared final |
| 10759 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
55 |
Parameter 'systemService' is not assigned and could be declared final |
| 10760 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
66 |
Parameter 'receiveText' is not assigned and could be declared final |
| 10761 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
66 |
Parameter 'request' is not assigned and could be declared final |
| 10762 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
66 |
Parameter 'response' is not assigned and could be declared final |
| 10763 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
68 |
Avoid variables with short names like cq |
| 10764 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
68 |
Local variable 'cq' could be declared final |
| 10765 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
69 |
Local variable 'accountId' could be declared final |
| 10766 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
74 |
Local variable 'map' could be declared final |
| 10767 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
85 |
Avoid reassigning parameters such as 'receiveText' |
| 10768 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
86 |
Avoid variables with short names like j |
| 10769 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
86 |
Local variable 'j' could be declared final |
| 10770 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
99 |
Avoid variables with short names like id |
| 10771 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
99 |
Local variable 'id' could be declared final |
| 10772 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
107 |
Avoid variables with short names like j |
| 10773 |
src/weixin/guanjia/message/controller/ReceiveTextController.java |
128 |
Avoid using if statements without curly braces |
| 10774 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
39 |
Avoid unused private fields such as 'textTemplateDao'. |
| 10775 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
42 |
Avoid excessively long variable names like textTemplateService |
| 10776 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
42 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10777 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
45 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10778 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
48 |
Avoid excessively long variable names like weixinAccountService |
| 10779 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
48 |
Avoid unused private fields such as 'weixinAccountService'. |
| 10780 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
58 |
Parameter 'request' is not assigned and could be declared final |
| 10781 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
58 |
Parameter 'response' is not assigned and could be declared final |
| 10782 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
58 |
Parameter 'textTemplate' is not assigned and could be declared final |
| 10783 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
59 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 10784 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
60 |
Avoid variables with short names like cq |
| 10785 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
60 |
Local variable 'cq' could be declared final |
| 10786 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
70 |
Avoid reassigning parameters such as 'textTemplate' |
| 10787 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
70 |
Parameter 'req' is not assigned and could be declared final |
| 10788 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
71 |
Avoid variables with short names like j |
| 10789 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
71 |
Local variable 'j' could be declared final |
| 10790 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
86 |
Avoid variables with short names like j |
| 10791 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
86 |
Found 'DU'-anomaly for variable 'j' (lines '86'-'106'). |
| 10792 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
86 |
Local variable 'j' could be declared final |
| 10793 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
88 |
Found 'DD'-anomaly for variable 'succeed' (lines '88'-'94'). |
| 10794 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
88 |
Found 'DU'-anomaly for variable 'succeed' (lines '88'-'106'). |
| 10795 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
89 |
Found 'DD'-anomaly for variable 'error' (lines '89'-'99'). |
| 10796 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
92 |
Local variable 'textTemplate' could be declared final |
| 10797 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
94 |
Found 'DD'-anomaly for variable 'succeed' (lines '94'-'94'). |
| 10798 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
94 |
Found 'DU'-anomaly for variable 'succeed' (lines '94'-'106'). |
| 10799 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
99 |
Found 'DU'-anomaly for variable 'error' (lines '99'-'106'). |
| 10800 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
101 |
New exception is thrown in catch block, original stack trace may be lost |
| 10801 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
110 |
Avoid variables with short names like id |
| 10802 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
110 |
Local variable 'id' could be declared final |
| 10803 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
126 |
Avoid variables with short names like j |
| 10804 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
143 |
Avoid if (x != y) ..; else ..; |
| 10805 |
src/weixin/guanjia/message/controller/TextTemplateController.java |
144 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 10806 |
src/weixin/guanjia/message/controller/Uploader.java |
33 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10807 |
src/weixin/guanjia/message/controller/Uploader.java |
35 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10808 |
src/weixin/guanjia/message/controller/Uploader.java |
37 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10809 |
src/weixin/guanjia/message/controller/Uploader.java |
39 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10810 |
src/weixin/guanjia/message/controller/Uploader.java |
41 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10811 |
src/weixin/guanjia/message/controller/Uploader.java |
43 |
Private field 'size' could be made final; it is only initialized in the declaration or constructor. |
| 10812 |
src/weixin/guanjia/message/controller/Uploader.java |
45 |
Private field 'request' could be made final; it is only initialized in the declaration or constructor. |
| 10813 |
src/weixin/guanjia/message/controller/Uploader.java |
55 |
Private field 'errorInfo' could be made final; it is only initialized in the declaration or constructor. |
| 10814 |
src/weixin/guanjia/message/controller/Uploader.java |
56 |
Private field 'params' could be made final; it is only initialized in the declaration or constructor. |
| 10815 |
src/weixin/guanjia/message/controller/Uploader.java |
62 |
Parameter 'request' is not assigned and could be declared final |
| 10816 |
src/weixin/guanjia/message/controller/Uploader.java |
66 |
Overridable method 'setMaxSize' called during object construction |
| 10817 |
src/weixin/guanjia/message/controller/Uploader.java |
68 |
Local variable 'tmp' could be declared final |
| 10818 |
src/weixin/guanjia/message/controller/Uploader.java |
69 |
The String literal "SUCCESS" appears 4 times in this file; the first occurrence is on line 69 |
| 10819 |
src/weixin/guanjia/message/controller/Uploader.java |
92 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 10820 |
src/weixin/guanjia/message/controller/Uploader.java |
92 |
A method/constructor shouldn't explicitly throw java.lang.Exception |
| 10821 |
src/weixin/guanjia/message/controller/Uploader.java |
93 |
Local variable 'isMultipart' could be declared final |
| 10822 |
src/weixin/guanjia/message/controller/Uploader.java |
97 |
A method should have only one exit point, and that should be the last statement in the method |
| 10823 |
src/weixin/guanjia/message/controller/Uploader.java |
102 |
A method should have only one exit point, and that should be the last statement in the method |
| 10824 |
src/weixin/guanjia/message/controller/Uploader.java |
107 |
Found 'DU'-anomaly for variable 'savePath' (lines '107'-'136'). |
| 10825 |
src/weixin/guanjia/message/controller/Uploader.java |
107 |
Local variable 'savePath' could be declared final |
| 10826 |
src/weixin/guanjia/message/controller/Uploader.java |
118 |
Local variable 'fos' could be declared final |
| 10827 |
src/weixin/guanjia/message/controller/Uploader.java |
120 |
Local variable 'bis' could be declared final |
| 10828 |
src/weixin/guanjia/message/controller/Uploader.java |
122 |
Found 'DD'-anomaly for variable 'count' (lines '122'-'124'). |
| 10829 |
src/weixin/guanjia/message/controller/Uploader.java |
124 |
Avoid assignments in operands |
| 10830 |
src/weixin/guanjia/message/controller/Uploader.java |
124 |
Found 'DU'-anomaly for variable 'count' (lines '124'-'136'). |
| 10831 |
src/weixin/guanjia/message/controller/Uploader.java |
138 |
Parameter 'fieldName' is not assigned and could be declared final |
| 10832 |
src/weixin/guanjia/message/controller/Uploader.java |
146 |
Avoid variables with short names like ro |
| 10833 |
src/weixin/guanjia/message/controller/Uploader.java |
147 |
Avoid variables with short names like b |
| 10834 |
src/weixin/guanjia/message/controller/Uploader.java |
151 |
Found 'DD'-anomaly for variable 'tmp131_127' (lines '151'-'152'). |
| 10835 |
src/weixin/guanjia/message/controller/Uploader.java |
164 |
Parameter 'name' is not assigned and could be declared final |
| 10836 |
src/weixin/guanjia/message/controller/Uploader.java |
168 |
Parameter 'fileName' is not assigned and could be declared final |
| 10837 |
src/weixin/guanjia/message/controller/Uploader.java |
169 |
A method should have only one exit point, and that should be the last statement in the method |
| 10838 |
src/weixin/guanjia/message/controller/Uploader.java |
169 |
Avoid using if statements without curly braces |
| 10839 |
src/weixin/guanjia/message/controller/Uploader.java |
171 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 10840 |
src/weixin/guanjia/message/controller/Uploader.java |
172 |
A method should have only one exit point, and that should be the last statement in the method |
| 10841 |
src/weixin/guanjia/message/controller/Uploader.java |
178 |
Parameter 'fileName' is not assigned and could be declared final |
| 10842 |
src/weixin/guanjia/message/controller/Uploader.java |
179 |
String.indexOf(char) is faster than String.indexOf(String). |
| 10843 |
src/weixin/guanjia/message/controller/Uploader.java |
212 |
Do not add empty strings |
| 10844 |
src/weixin/guanjia/message/controller/Uploader.java |
215 |
Avoid reassigning parameters such as 'path' |
| 10845 |
src/weixin/guanjia/message/controller/Uploader.java |
216 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 10846 |
src/weixin/guanjia/message/controller/Uploader.java |
225 |
A method should have only one exit point, and that should be the last statement in the method |
| 10847 |
src/weixin/guanjia/message/controller/Uploader.java |
238 |
Avoid variables with short names like in |
| 10848 |
src/weixin/guanjia/message/controller/Uploader.java |
241 |
Found 'DD'-anomaly for variable 'result' (lines '241'-'245'). |
| 10849 |
src/weixin/guanjia/message/controller/Uploader.java |
242 |
Found 'DD'-anomaly for variable 'tmpString' (lines '242'-'244'). |
| 10850 |
src/weixin/guanjia/message/controller/Uploader.java |
244 |
Avoid assignments in operands |
| 10851 |
src/weixin/guanjia/message/controller/Uploader.java |
244 |
Found 'DU'-anomaly for variable 'tmpString' (lines '244'-'252'). |
| 10852 |
src/weixin/guanjia/message/controller/Uploader.java |
245 |
Prefer StringBuffer over += for concatenating strings |
| 10853 |
src/weixin/guanjia/message/controller/Uploader.java |
254 |
Avoid variables with short names like in |
| 10854 |
src/weixin/guanjia/message/controller/Uploader.java |
254 |
Return an empty array rather than null. |
| 10855 |
src/weixin/guanjia/message/controller/Uploader.java |
267 |
The user-supplied array 'allowFiles' is stored directly. |
| 10856 |
src/weixin/guanjia/message/controller/UppicController.java |
29 |
Variables that are final and static should be in all caps. |
| 10857 |
src/weixin/guanjia/message/controller/UppicController.java |
32 |
Avoid unused private fields such as 'systemService'. |
| 10858 |
src/weixin/guanjia/message/controller/UppicController.java |
33 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10859 |
src/weixin/guanjia/message/controller/UppicController.java |
33 |
Private field 'sep' could be made final; it is only initialized in the declaration or constructor. |
| 10860 |
src/weixin/guanjia/message/controller/UppicController.java |
36 |
Parameter 'request' is not assigned and could be declared final |
| 10861 |
src/weixin/guanjia/message/controller/UppicController.java |
36 |
Parameter 'response' is not assigned and could be declared final |
| 10862 |
src/weixin/guanjia/message/controller/UppicController.java |
39 |
Local variable 'mRequest' could be declared final |
| 10863 |
src/weixin/guanjia/message/controller/UppicController.java |
41 |
Local variable 'day' could be declared final |
| 10864 |
src/weixin/guanjia/message/controller/UppicController.java |
43 |
Local variable 'path' could be declared final |
| 10865 |
src/weixin/guanjia/message/controller/UppicController.java |
45 |
Local variable 'base_save_path' could be declared final |
| 10866 |
src/weixin/guanjia/message/controller/UppicController.java |
47 |
Found 'DU'-anomaly for variable 'url_base_path' (lines '47'-'88'). |
| 10867 |
src/weixin/guanjia/message/controller/UppicController.java |
47 |
Local variable 'url_base_path' could be declared final |
| 10868 |
src/weixin/guanjia/message/controller/UppicController.java |
55 |
Found 'DU'-anomaly for variable 'uuid' (lines '55'-'88'). |
| 10869 |
src/weixin/guanjia/message/controller/UppicController.java |
57 |
Found 'DD'-anomaly for variable 'save_script' (lines '57'-'71'). |
| 10870 |
src/weixin/guanjia/message/controller/UppicController.java |
57 |
Found 'DD'-anomaly for variable 'save_script' (lines '57'-'82'). |
| 10871 |
src/weixin/guanjia/message/controller/UppicController.java |
61 |
Avoid variables with short names like mf |
| 10872 |
src/weixin/guanjia/message/controller/UppicController.java |
63 |
Found 'DD'-anomaly for variable 'file_name' (lines '63'-'65'). |
| 10873 |
src/weixin/guanjia/message/controller/UppicController.java |
65 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
| 10874 |
src/weixin/guanjia/message/controller/UppicController.java |
67 |
String.indexOf(char) is faster than String.indexOf(String). |
| 10875 |
src/weixin/guanjia/message/controller/UppicController.java |
71 |
Prefer StringBuffer over += for concatenating strings |
| 10876 |
src/weixin/guanjia/message/controller/UppicController.java |
73 |
Avoid instantiating new objects inside loops |
| 10877 |
src/weixin/guanjia/message/controller/UppicController.java |
77 |
Assigning an Object to null is a code smell. Consider refactoring. |
| 10878 |
src/weixin/guanjia/message/controller/UppicController.java |
77 |
Found 'DD'-anomaly for variable 'savefile' (lines '77'-'73'). |
| 10879 |
src/weixin/guanjia/message/controller/UppicController.java |
77 |
Found 'DU'-anomaly for variable 'savefile' (lines '77'-'88'). |
| 10880 |
src/weixin/guanjia/message/controller/UppicController.java |
82 |
Prefer StringBuffer over += for concatenating strings |
| 10881 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 10882 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
52 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10883 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
55 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10884 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
58 |
Avoid excessively long variable names like weixinAccountService |
| 10885 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
58 |
Avoid unused private fields such as 'weixinAccountService'. |
| 10886 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
61 |
Avoid excessively long variable names like weixinCmsStyleService |
| 10887 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
61 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10888 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
68 |
Parameter 'message' is not assigned and could be declared final |
| 10889 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
73 |
Parameter 'request' is not assigned and could be declared final |
| 10890 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
74 |
Local variable 'templateId' could be declared final |
| 10891 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
74 |
The String literal "templateId" appears 4 times in this file; the first occurrence is on line 74 |
| 10892 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
77 |
Local variable 'hql' could be declared final |
| 10893 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
78 |
Avoid using if statements without curly braces |
| 10894 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
79 |
Local variable 'headerList' could be declared final |
| 10895 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
82 |
Avoid using if statements without curly braces |
| 10896 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
82 |
Deeply nested if..then statements are hard to read |
| 10897 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
83 |
Local variable 'size' could be declared final |
| 10898 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
84 |
Deeply nested if..then statements are hard to read |
| 10899 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
88 |
Local variable 'newsTemplate' could be declared final |
| 10900 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
90 |
Found 'DD'-anomaly for variable 'addTime' (lines '90'-'92'). |
| 10901 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
92 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 10902 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
97 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 10903 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
105 |
Parameter 'request' is not assigned and could be declared final |
| 10904 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
105 |
Parameter 'response' is not assigned and could be declared final |
| 10905 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
105 |
Parameter 'weixinArticle' is not assigned and could be declared final |
| 10906 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
107 |
Avoid variables with short names like cq |
| 10907 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
119 |
Avoid reassigning parameters such as 'weixinArticle' |
| 10908 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
120 |
Avoid variables with short names like j |
| 10909 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
120 |
Found 'DU'-anomaly for variable 'j' (lines '120'-'133'). |
| 10910 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
129 |
New exception is thrown in catch block, original stack trace may be lost |
| 10911 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
138 |
Avoid variables with short names like j |
| 10912 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
138 |
Found 'DU'-anomaly for variable 'j' (lines '138'-'153'). |
| 10913 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
149 |
New exception is thrown in catch block, original stack trace may be lost |
| 10914 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
158 |
Avoid variables with short names like j |
| 10915 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
158 |
Found 'DU'-anomaly for variable 'j' (lines '158'-'179'). |
| 10916 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
165 |
Avoid if (x != y) ..; else ..; |
| 10917 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
175 |
New exception is thrown in catch block, original stack trace may be lost |
| 10918 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
184 |
Avoid variables with short names like j |
| 10919 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
184 |
Found 'DU'-anomaly for variable 'j' (lines '184'-'198'). |
| 10920 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
194 |
New exception is thrown in catch block, original stack trace may be lost |
| 10921 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
201 |
Avoid reassigning parameters such as 'weixinArticle' |
| 10922 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
212 |
Avoid reassigning parameters such as 'weixinArticle' |
| 10923 |
src/weixin/guanjia/message/controller/WeixinArticleController.java |
228 |
Found 'DU'-anomaly for variable 'documentTitle' (lines '228'-'256'). |
| 10924 |
src/weixin/guanjia/message/dao/TextTemplateDao.java |
12 |
Avoid modifiers which are implied by the context |
| 10925 |
src/weixin/guanjia/message/entity/AutoResponse.java |
27 |
Parameter 'accountId' is not assigned and could be declared final |
| 10926 |
src/weixin/guanjia/message/entity/AutoResponse.java |
36 |
Parameter 'keyWord' is not assigned and could be declared final |
| 10927 |
src/weixin/guanjia/message/entity/AutoResponse.java |
45 |
Parameter 'resContent' is not assigned and could be declared final |
| 10928 |
src/weixin/guanjia/message/entity/AutoResponse.java |
54 |
Parameter 'addTime' is not assigned and could be declared final |
| 10929 |
src/weixin/guanjia/message/entity/AutoResponse.java |
63 |
Parameter 'msgType' is not assigned and could be declared final |
| 10930 |
src/weixin/guanjia/message/entity/NewsItem.java |
36 |
Parameter 'newType' is not assigned and could be declared final |
| 10931 |
src/weixin/guanjia/message/entity/NewsItem.java |
44 |
Parameter 'url' is not assigned and could be declared final |
| 10932 |
src/weixin/guanjia/message/entity/NewsItem.java |
53 |
Parameter 'createDate' is not assigned and could be declared final |
| 10933 |
src/weixin/guanjia/message/entity/NewsItem.java |
62 |
Parameter 'accountId' is not assigned and could be declared final |
| 10934 |
src/weixin/guanjia/message/entity/NewsItem.java |
71 |
Parameter 'title' is not assigned and could be declared final |
| 10935 |
src/weixin/guanjia/message/entity/NewsTemplate.java |
30 |
Parameter 'accountId' is not assigned and could be declared final |
| 10936 |
src/weixin/guanjia/message/entity/NewsTemplate.java |
39 |
Parameter 'templateName' is not assigned and could be declared final |
| 10937 |
src/weixin/guanjia/message/entity/NewsTemplate.java |
48 |
Parameter 'addTime' is not assigned and could be declared final |
| 10938 |
src/weixin/guanjia/message/entity/NewsTemplate.java |
58 |
Parameter 'newsItemList' is not assigned and could be declared final |
| 10939 |
src/weixin/guanjia/message/entity/NewsTemplate.java |
67 |
Parameter 'type' is not assigned and could be declared final |
| 10940 |
src/weixin/guanjia/message/entity/ReceiveEvent.java |
15 |
Too many fields |
| 10941 |
src/weixin/guanjia/message/entity/ReceiveEvent.java |
21 |
Variables should start with a lowercase character |
| 10942 |
src/weixin/guanjia/message/entity/ReceiveEvent.java |
22 |
Variables should start with a lowercase character |
| 10943 |
src/weixin/guanjia/message/entity/ReceiveEvent.java |
23 |
Variables should start with a lowercase character |
| 10944 |
src/weixin/guanjia/message/entity/ReceiveEvent.java |
25 |
Variables should start with a lowercase character |
| 10945 |
src/weixin/guanjia/message/entity/ReceiveEvent.java |
26 |
Variables should start with a lowercase character |
| 10946 |
src/weixin/guanjia/message/entity/ReceiveEvent.java |
36 |
Avoid unused private fields such as 'ScanCodeInfo'. |
| 10947 |
src/weixin/guanjia/message/entity/ReceiveEvent.java |
40 |
Avoid unused private fields such as 'ScanType'. |
| 10948 |
src/weixin/guanjia/message/entity/ReceiveEvent.java |
44 |
Avoid unused private fields such as 'ScanResult'. |
| 10949 |
src/weixin/guanjia/message/entity/ReceiveEvent.java |
48 |
Avoid unused private fields such as 'SendPicsInfo'. |
| 10950 |
src/weixin/guanjia/message/entity/ReceiveEvent.java |
52 |
Avoid unused private fields such as 'Count'. |
| 10951 |
src/weixin/guanjia/message/entity/ReceiveEvent.java |
81 |
Parameter 'toUserName' is not assigned and could be declared final |
| 10952 |
src/weixin/guanjia/message/entity/ReceiveEvent.java |
90 |
Parameter 'fromUserName' is not assigned and could be declared final |
| 10953 |
src/weixin/guanjia/message/entity/ReceiveEvent.java |
99 |
Parameter 'msgType' is not assigned and could be declared final |
| 10954 |
src/weixin/guanjia/message/entity/ReceiveEvent.java |
109 |
Parameter 'CreateTime' is not assigned and could be declared final |
| 10955 |
src/weixin/guanjia/message/entity/ReceiveEvent.java |
125 |
Parameter 'event' is not assigned and could be declared final |
| 10956 |
src/weixin/guanjia/message/entity/ReceiveText.java |
17 |
Variables should start with a lowercase character |
| 10957 |
src/weixin/guanjia/message/entity/ReceiveText.java |
19 |
Variables should start with a lowercase character |
| 10958 |
src/weixin/guanjia/message/entity/ReceiveText.java |
20 |
Variables should start with a lowercase character |
| 10959 |
src/weixin/guanjia/message/entity/ReceiveText.java |
21 |
Variables should start with a lowercase character |
| 10960 |
src/weixin/guanjia/message/entity/ReceiveText.java |
32 |
Parameter 'toUserName' is not assigned and could be declared final |
| 10961 |
src/weixin/guanjia/message/entity/ReceiveText.java |
41 |
Parameter 'fromUserName' is not assigned and could be declared final |
| 10962 |
src/weixin/guanjia/message/entity/ReceiveText.java |
50 |
Parameter 'msgType' is not assigned and could be declared final |
| 10963 |
src/weixin/guanjia/message/entity/ReceiveText.java |
59 |
Parameter 'msgId' is not assigned and could be declared final |
| 10964 |
src/weixin/guanjia/message/entity/ReceiveText.java |
68 |
Parameter 'content' is not assigned and could be declared final |
| 10965 |
src/weixin/guanjia/message/entity/TextTemplate.java |
25 |
Parameter 'accountId' is not assigned and could be declared final |
| 10966 |
src/weixin/guanjia/message/entity/TextTemplate.java |
34 |
Parameter 'templateName' is not assigned and could be declared final |
| 10967 |
src/weixin/guanjia/message/entity/TextTemplate.java |
43 |
Parameter 'content' is not assigned and could be declared final |
| 10968 |
src/weixin/guanjia/message/entity/TextTemplate.java |
52 |
Parameter 'addTime' is not assigned and could be declared final |
| 10969 |
src/weixin/guanjia/message/model/BaseMessage.java |
11 |
Parameter 'touser' is not assigned and could be declared final |
| 10970 |
src/weixin/guanjia/message/model/BaseMessage.java |
19 |
Parameter 'msgtype' is not assigned and could be declared final |
| 10971 |
src/weixin/guanjia/message/model/TextItem.java |
10 |
Parameter 'content' is not assigned and could be declared final |
| 10972 |
src/weixin/guanjia/message/model/TextMessageKf.java |
10 |
Parameter 'text' is not assigned and could be declared final |
| 10973 |
src/weixin/guanjia/message/service/AutoResponseServiceI.java |
8 |
Avoid modifiers which are implied by the context |
| 10974 |
src/weixin/guanjia/message/service/AutoResponseServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 10975 |
src/weixin/guanjia/message/service/AutoResponseServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 10976 |
src/weixin/guanjia/message/service/AutoResponseServiceI.java |
14 |
Avoid modifiers which are implied by the context |
| 10977 |
src/weixin/guanjia/message/service/AutoResponseServiceI.java |
16 |
Avoid modifiers which are implied by the context |
| 10978 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
16 |
Variables that are final and static should be in all caps. |
| 10979 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
23 |
Avoid excessively long variable names like weixinAccountService |
| 10980 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
23 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 10981 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
25 |
Parameter 'json' is not assigned and could be declared final |
| 10982 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
26 |
Local variable 'accessTocken' could be declared final |
| 10983 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
28 |
Avoid using if statements without curly braces |
| 10984 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
29 |
Local variable 'url' could be declared final |
| 10985 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
30 |
Local variable 'jsonObject' could be declared final |
| 10986 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
31 |
Avoid using if statements without curly braces |
| 10987 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
32 |
A method should have only one exit point, and that should be the last statement in the method |
| 10988 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
37 |
Parameter 'accountid' is not assigned and could be declared final |
| 10989 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
37 |
Parameter 'json' is not assigned and could be declared final |
| 10990 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
38 |
Local variable 'accessTocken' could be declared final |
| 10991 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
40 |
Avoid using if statements without curly braces |
| 10992 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
41 |
Local variable 'url' could be declared final |
| 10993 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
43 |
Avoid using if statements without curly braces |
| 10994 |
src/weixin/guanjia/message/service/CustomerMessageService.java |
44 |
A method should have only one exit point, and that should be the last statement in the method |
| 10995 |
src/weixin/guanjia/message/service/ITextMessageService.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 10996 |
src/weixin/guanjia/message/service/NewsItemServiceI.java |
8 |
Avoid modifiers which are implied by the context |
| 10997 |
src/weixin/guanjia/message/service/NewsItemServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 10998 |
src/weixin/guanjia/message/service/NewsItemServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 10999 |
src/weixin/guanjia/message/service/NewsItemServiceI.java |
14 |
Avoid modifiers which are implied by the context |
| 11000 |
src/weixin/guanjia/message/service/NewsItemServiceI.java |
16 |
Avoid modifiers which are implied by the context |
| 11001 |
src/weixin/guanjia/message/service/NewsTemplateServiceI.java |
8 |
Avoid modifiers which are implied by the context |
| 11002 |
src/weixin/guanjia/message/service/NewsTemplateServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 11003 |
src/weixin/guanjia/message/service/NewsTemplateServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 11004 |
src/weixin/guanjia/message/service/NewsTemplateServiceI.java |
14 |
Avoid modifiers which are implied by the context |
| 11005 |
src/weixin/guanjia/message/service/NewsTemplateServiceI.java |
16 |
Avoid modifiers which are implied by the context |
| 11006 |
src/weixin/guanjia/message/service/ReceiveTextServiceI.java |
8 |
Avoid modifiers which are implied by the context |
| 11007 |
src/weixin/guanjia/message/service/ReceiveTextServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 11008 |
src/weixin/guanjia/message/service/ReceiveTextServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 11009 |
src/weixin/guanjia/message/service/ReceiveTextServiceI.java |
14 |
Avoid modifiers which are implied by the context |
| 11010 |
src/weixin/guanjia/message/service/ReceiveTextServiceI.java |
16 |
Avoid modifiers which are implied by the context |
| 11011 |
src/weixin/guanjia/message/service/TextTemplateServiceI.java |
8 |
Avoid modifiers which are implied by the context |
| 11012 |
src/weixin/guanjia/message/service/TextTemplateServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 11013 |
src/weixin/guanjia/message/service/TextTemplateServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 11014 |
src/weixin/guanjia/message/service/TextTemplateServiceI.java |
14 |
Avoid modifiers which are implied by the context |
| 11015 |
src/weixin/guanjia/message/service/TextTemplateServiceI.java |
16 |
Avoid modifiers which are implied by the context |
| 11016 |
src/weixin/guanjia/message/service/impl/AutoResponseServiceImpl.java |
13 |
Parameter 'entity' is not assigned and could be declared final |
| 11017 |
src/weixin/guanjia/message/service/impl/AutoResponseServiceImpl.java |
19 |
Parameter 'entity' is not assigned and could be declared final |
| 11018 |
src/weixin/guanjia/message/service/impl/AutoResponseServiceImpl.java |
20 |
Avoid variables with short names like t |
| 11019 |
src/weixin/guanjia/message/service/impl/AutoResponseServiceImpl.java |
20 |
Local variable 't' could be declared final |
| 11020 |
src/weixin/guanjia/message/service/impl/AutoResponseServiceImpl.java |
26 |
Parameter 'entity' is not assigned and could be declared final |
| 11021 |
src/weixin/guanjia/message/service/impl/AutoResponseServiceImpl.java |
32 |
Avoid variables with short names like t |
| 11022 |
src/weixin/guanjia/message/service/impl/AutoResponseServiceImpl.java |
32 |
Parameter 't' is not assigned and could be declared final |
| 11023 |
src/weixin/guanjia/message/service/impl/AutoResponseServiceImpl.java |
36 |
Avoid variables with short names like t |
| 11024 |
src/weixin/guanjia/message/service/impl/AutoResponseServiceImpl.java |
36 |
Parameter 't' is not assigned and could be declared final |
| 11025 |
src/weixin/guanjia/message/service/impl/AutoResponseServiceImpl.java |
40 |
Avoid variables with short names like t |
| 11026 |
src/weixin/guanjia/message/service/impl/NewsItemServiceImpl.java |
18 |
Avoid excessively long variable names like weixinAccountService |
| 11027 |
src/weixin/guanjia/message/service/impl/NewsItemServiceImpl.java |
18 |
Avoid unused private fields such as 'weixinAccountService'. |
| 11028 |
src/weixin/guanjia/message/service/impl/NewsItemServiceImpl.java |
20 |
Parameter 'entity' is not assigned and could be declared final |
| 11029 |
src/weixin/guanjia/message/service/impl/NewsItemServiceImpl.java |
26 |
Parameter 'entity' is not assigned and could be declared final |
| 11030 |
src/weixin/guanjia/message/service/impl/NewsItemServiceImpl.java |
28 |
Avoid variables with short names like t |
| 11031 |
src/weixin/guanjia/message/service/impl/NewsItemServiceImpl.java |
28 |
Local variable 't' could be declared final |
| 11032 |
src/weixin/guanjia/message/service/impl/NewsItemServiceImpl.java |
34 |
Parameter 'entity' is not assigned and could be declared final |
| 11033 |
src/weixin/guanjia/message/service/impl/NewsItemServiceImpl.java |
40 |
Avoid variables with short names like t |
| 11034 |
src/weixin/guanjia/message/service/impl/NewsItemServiceImpl.java |
40 |
Parameter 't' is not assigned and could be declared final |
| 11035 |
src/weixin/guanjia/message/service/impl/NewsItemServiceImpl.java |
44 |
Avoid variables with short names like t |
| 11036 |
src/weixin/guanjia/message/service/impl/NewsItemServiceImpl.java |
44 |
Parameter 't' is not assigned and could be declared final |
| 11037 |
src/weixin/guanjia/message/service/impl/NewsItemServiceImpl.java |
48 |
Avoid variables with short names like t |
| 11038 |
src/weixin/guanjia/message/service/impl/NewsTemplateServiceImpl.java |
18 |
Avoid excessively long variable names like weixinAccountService |
| 11039 |
src/weixin/guanjia/message/service/impl/NewsTemplateServiceImpl.java |
18 |
Avoid unused private fields such as 'weixinAccountService'. |
| 11040 |
src/weixin/guanjia/message/service/impl/NewsTemplateServiceImpl.java |
20 |
Parameter 'entity' is not assigned and could be declared final |
| 11041 |
src/weixin/guanjia/message/service/impl/NewsTemplateServiceImpl.java |
26 |
Parameter 'entity' is not assigned and could be declared final |
| 11042 |
src/weixin/guanjia/message/service/impl/NewsTemplateServiceImpl.java |
28 |
Avoid variables with short names like t |
| 11043 |
src/weixin/guanjia/message/service/impl/NewsTemplateServiceImpl.java |
28 |
Local variable 't' could be declared final |
| 11044 |
src/weixin/guanjia/message/service/impl/NewsTemplateServiceImpl.java |
34 |
Parameter 'entity' is not assigned and could be declared final |
| 11045 |
src/weixin/guanjia/message/service/impl/NewsTemplateServiceImpl.java |
40 |
Avoid variables with short names like t |
| 11046 |
src/weixin/guanjia/message/service/impl/NewsTemplateServiceImpl.java |
40 |
Parameter 't' is not assigned and could be declared final |
| 11047 |
src/weixin/guanjia/message/service/impl/NewsTemplateServiceImpl.java |
44 |
Avoid variables with short names like t |
| 11048 |
src/weixin/guanjia/message/service/impl/NewsTemplateServiceImpl.java |
44 |
Parameter 't' is not assigned and could be declared final |
| 11049 |
src/weixin/guanjia/message/service/impl/NewsTemplateServiceImpl.java |
48 |
Avoid variables with short names like t |
| 11050 |
src/weixin/guanjia/message/service/impl/ReceiveTextServiceImpl.java |
17 |
Avoid excessively long variable names like weixinAccountService |
| 11051 |
src/weixin/guanjia/message/service/impl/ReceiveTextServiceImpl.java |
17 |
Avoid unused private fields such as 'weixinAccountService'. |
| 11052 |
src/weixin/guanjia/message/service/impl/ReceiveTextServiceImpl.java |
19 |
Parameter 'entity' is not assigned and could be declared final |
| 11053 |
src/weixin/guanjia/message/service/impl/ReceiveTextServiceImpl.java |
25 |
Parameter 'entity' is not assigned and could be declared final |
| 11054 |
src/weixin/guanjia/message/service/impl/ReceiveTextServiceImpl.java |
26 |
Avoid variables with short names like t |
| 11055 |
src/weixin/guanjia/message/service/impl/ReceiveTextServiceImpl.java |
26 |
Local variable 't' could be declared final |
| 11056 |
src/weixin/guanjia/message/service/impl/ReceiveTextServiceImpl.java |
32 |
Parameter 'entity' is not assigned and could be declared final |
| 11057 |
src/weixin/guanjia/message/service/impl/ReceiveTextServiceImpl.java |
38 |
Avoid variables with short names like t |
| 11058 |
src/weixin/guanjia/message/service/impl/ReceiveTextServiceImpl.java |
38 |
Parameter 't' is not assigned and could be declared final |
| 11059 |
src/weixin/guanjia/message/service/impl/ReceiveTextServiceImpl.java |
42 |
Avoid variables with short names like t |
| 11060 |
src/weixin/guanjia/message/service/impl/ReceiveTextServiceImpl.java |
42 |
Parameter 't' is not assigned and could be declared final |
| 11061 |
src/weixin/guanjia/message/service/impl/ReceiveTextServiceImpl.java |
46 |
Avoid variables with short names like t |
| 11062 |
src/weixin/guanjia/message/service/impl/TextTemplateServiceImpl.java |
18 |
Avoid excessively long variable names like weixinAccountService |
| 11063 |
src/weixin/guanjia/message/service/impl/TextTemplateServiceImpl.java |
18 |
Avoid unused private fields such as 'weixinAccountService'. |
| 11064 |
src/weixin/guanjia/message/service/impl/TextTemplateServiceImpl.java |
20 |
Parameter 'entity' is not assigned and could be declared final |
| 11065 |
src/weixin/guanjia/message/service/impl/TextTemplateServiceImpl.java |
26 |
Parameter 'entity' is not assigned and could be declared final |
| 11066 |
src/weixin/guanjia/message/service/impl/TextTemplateServiceImpl.java |
28 |
Avoid variables with short names like t |
| 11067 |
src/weixin/guanjia/message/service/impl/TextTemplateServiceImpl.java |
28 |
Local variable 't' could be declared final |
| 11068 |
src/weixin/guanjia/message/service/impl/TextTemplateServiceImpl.java |
34 |
Parameter 'entity' is not assigned and could be declared final |
| 11069 |
src/weixin/guanjia/message/service/impl/TextTemplateServiceImpl.java |
40 |
Avoid variables with short names like t |
| 11070 |
src/weixin/guanjia/message/service/impl/TextTemplateServiceImpl.java |
40 |
Parameter 't' is not assigned and could be declared final |
| 11071 |
src/weixin/guanjia/message/service/impl/TextTemplateServiceImpl.java |
44 |
Avoid variables with short names like t |
| 11072 |
src/weixin/guanjia/message/service/impl/TextTemplateServiceImpl.java |
44 |
Parameter 't' is not assigned and could be declared final |
| 11073 |
src/weixin/guanjia/message/service/impl/TextTemplateServiceImpl.java |
48 |
Avoid variables with short names like t |
| 11074 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
32 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11075 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
35 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11076 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
42 |
Parameter 'message' is not assigned and could be declared final |
| 11077 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
47 |
Parameter 'request' is not assigned and could be declared final |
| 11078 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
52 |
Parameter 'payConfig' is not assigned and could be declared final |
| 11079 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
52 |
Parameter 'request' is not assigned and could be declared final |
| 11080 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
52 |
Parameter 'response' is not assigned and could be declared final |
| 11081 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
54 |
Avoid variables with short names like cq |
| 11082 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
54 |
Local variable 'cq' could be declared final |
| 11083 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
63 |
Avoid reassigning parameters such as 'payConfig' |
| 11084 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
64 |
Avoid variables with short names like j |
| 11085 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
64 |
Local variable 'j' could be declared final |
| 11086 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
77 |
Avoid variables with short names like j |
| 11087 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
77 |
Local variable 'j' could be declared final |
| 11088 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
80 |
Avoid variables with short names like t |
| 11089 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
80 |
Local variable 't' could be declared final |
| 11090 |
src/weixin/guanjia/pay/controller/PayConfigController.java |
99 |
Avoid reassigning parameters such as 'payConfig' |
| 11091 |
src/weixin/guanjia/pay/entity/PayConfigEntity.java |
34 |
Parameter 'payname' is not assigned and could be declared final |
| 11092 |
src/weixin/guanjia/pay/entity/PayConfigEntity.java |
43 |
Parameter 'paytype' is not assigned and could be declared final |
| 11093 |
src/weixin/guanjia/pay/entity/PayConfigEntity.java |
52 |
Parameter 'partner' is not assigned and could be declared final |
| 11094 |
src/weixin/guanjia/pay/entity/PayConfigEntity.java |
61 |
Parameter 'sellerEmail' is not assigned and could be declared final |
| 11095 |
src/weixin/guanjia/pay/entity/PayConfigEntity.java |
70 |
Parameter 'typename' is not assigned and could be declared final |
| 11096 |
src/weixin/guanjia/pay/service/PayConfigServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 11097 |
src/weixin/guanjia/pay/service/impl/PayConfigServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 11098 |
src/weixin/huodong/controller/WxHuodongController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 11099 |
src/weixin/huodong/controller/WxHuodongController.java |
47 |
This class has too many methods, consider refactoring it. |
| 11100 |
src/weixin/huodong/controller/WxHuodongController.java |
51 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11101 |
src/weixin/huodong/controller/WxHuodongController.java |
54 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11102 |
src/weixin/huodong/controller/WxHuodongController.java |
61 |
Parameter 'message' is not assigned and could be declared final |
| 11103 |
src/weixin/huodong/controller/WxHuodongController.java |
66 |
Parameter 'request' is not assigned and could be declared final |
| 11104 |
src/weixin/huodong/controller/WxHuodongController.java |
71 |
Parameter 'request' is not assigned and could be declared final |
| 11105 |
src/weixin/huodong/controller/WxHuodongController.java |
71 |
Parameter 'response' is not assigned and could be declared final |
| 11106 |
src/weixin/huodong/controller/WxHuodongController.java |
71 |
Parameter 'wxHuodong' is not assigned and could be declared final |
| 11107 |
src/weixin/huodong/controller/WxHuodongController.java |
73 |
Avoid variables with short names like cq |
| 11108 |
src/weixin/huodong/controller/WxHuodongController.java |
73 |
Local variable 'cq' could be declared final |
| 11109 |
src/weixin/huodong/controller/WxHuodongController.java |
84 |
Avoid reassigning parameters such as 'wxHuodong' |
| 11110 |
src/weixin/huodong/controller/WxHuodongController.java |
85 |
Avoid variables with short names like j |
| 11111 |
src/weixin/huodong/controller/WxHuodongController.java |
85 |
Found 'DU'-anomaly for variable 'j' (lines '85'-'98'). |
| 11112 |
src/weixin/huodong/controller/WxHuodongController.java |
85 |
Local variable 'j' could be declared final |
| 11113 |
src/weixin/huodong/controller/WxHuodongController.java |
94 |
New exception is thrown in catch block, original stack trace may be lost |
| 11114 |
src/weixin/huodong/controller/WxHuodongController.java |
103 |
Avoid variables with short names like j |
| 11115 |
src/weixin/huodong/controller/WxHuodongController.java |
103 |
Found 'DU'-anomaly for variable 'j' (lines '103'-'119'). |
| 11116 |
src/weixin/huodong/controller/WxHuodongController.java |
103 |
Local variable 'j' could be declared final |
| 11117 |
src/weixin/huodong/controller/WxHuodongController.java |
107 |
Local variable 'wxHuodong' could be declared final |
| 11118 |
src/weixin/huodong/controller/WxHuodongController.java |
115 |
New exception is thrown in catch block, original stack trace may be lost |
| 11119 |
src/weixin/huodong/controller/WxHuodongController.java |
124 |
Avoid variables with short names like j |
| 11120 |
src/weixin/huodong/controller/WxHuodongController.java |
124 |
Found 'DU'-anomaly for variable 'j' (lines '124'-'136'). |
| 11121 |
src/weixin/huodong/controller/WxHuodongController.java |
124 |
Local variable 'j' could be declared final |
| 11122 |
src/weixin/huodong/controller/WxHuodongController.java |
132 |
New exception is thrown in catch block, original stack trace may be lost |
| 11123 |
src/weixin/huodong/controller/WxHuodongController.java |
141 |
Avoid variables with short names like j |
| 11124 |
src/weixin/huodong/controller/WxHuodongController.java |
141 |
Found 'DU'-anomaly for variable 'j' (lines '141'-'155'). |
| 11125 |
src/weixin/huodong/controller/WxHuodongController.java |
151 |
New exception is thrown in catch block, original stack trace may be lost |
| 11126 |
src/weixin/huodong/controller/WxHuodongController.java |
158 |
Avoid reassigning parameters such as 'wxHuodong' |
| 11127 |
src/weixin/huodong/controller/WxHuodongController.java |
167 |
Avoid reassigning parameters such as 'wxHuodong' |
| 11128 |
src/weixin/huodong/controller/WxHuodongController.java |
184 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '184'-'187'). |
| 11129 |
src/weixin/huodong/controller/WxHuodongController.java |
185 |
Found 'DD'-anomaly for variable 'fOut' (lines '185'-'206'). |
| 11130 |
src/weixin/huodong/controller/WxHuodongController.java |
190 |
The String literal "content-disposition" appears 4 times in this file; the first occurrence is on line 190 |
| 11131 |
src/weixin/huodong/controller/WxHuodongController.java |
191 |
The String literal ".xls" appears 4 times in this file; the first occurrence is on line 191 |
| 11132 |
src/weixin/huodong/controller/WxHuodongController.java |
191 |
The String literal "UTF-8" appears 4 times in this file; the first occurrence is on line 191 |
| 11133 |
src/weixin/huodong/controller/WxHuodongController.java |
191 |
The String literal "attachment;filename=" appears 4 times in this file; the first occurrence is on line 191 |
| 11134 |
src/weixin/huodong/controller/WxHuodongController.java |
198 |
Found 'DD'-anomaly for variable 'workbook' (lines '198'-'203'). |
| 11135 |
src/weixin/huodong/controller/WxHuodongController.java |
202 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 11136 |
src/weixin/huodong/controller/WxHuodongController.java |
214 |
Avoid empty catch blocks |
| 11137 |
src/weixin/huodong/controller/WxHuodongController.java |
223 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '223'-'227'). |
| 11138 |
src/weixin/huodong/controller/WxHuodongController.java |
224 |
Found 'DD'-anomaly for variable 'fOut' (lines '224'-'242'). |
| 11139 |
src/weixin/huodong/controller/WxHuodongController.java |
238 |
Found 'DD'-anomaly for variable 'workbook' (lines '238'-'239'). |
| 11140 |
src/weixin/huodong/controller/WxHuodongController.java |
262 |
Avoid instantiating new objects inside loops |
| 11141 |
src/weixin/huodong/controller/WxHuodongController.java |
267 |
Avoid excessively long variable names like listWxHuodongEntitys |
| 11142 |
src/weixin/huodong/controller/WxHuodongController.java |
281 |
Avoid printStackTrace(); use a logger call instead. |
| 11143 |
src/weixin/huodong/controller/WxZhongjiangController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 11144 |
src/weixin/huodong/controller/WxZhongjiangController.java |
69 |
The class 'WxZhongjiangController' has a Cyclomatic Complexity of 3 (Highest = 13). |
| 11145 |
src/weixin/huodong/controller/WxZhongjiangController.java |
69 |
This class has too many methods, consider refactoring it. |
| 11146 |
src/weixin/huodong/controller/WxZhongjiangController.java |
70 |
Variables that are final and static should be in all caps. |
| 11147 |
src/weixin/huodong/controller/WxZhongjiangController.java |
73 |
Avoid excessively long variable names like wxZhongjiangService |
| 11148 |
src/weixin/huodong/controller/WxZhongjiangController.java |
73 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11149 |
src/weixin/huodong/controller/WxZhongjiangController.java |
76 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11150 |
src/weixin/huodong/controller/WxZhongjiangController.java |
80 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11151 |
src/weixin/huodong/controller/WxZhongjiangController.java |
87 |
Parameter 'message' is not assigned and could be declared final |
| 11152 |
src/weixin/huodong/controller/WxZhongjiangController.java |
92 |
Parameter 'request' is not assigned and could be declared final |
| 11153 |
src/weixin/huodong/controller/WxZhongjiangController.java |
97 |
Parameter 'request' is not assigned and could be declared final |
| 11154 |
src/weixin/huodong/controller/WxZhongjiangController.java |
97 |
Parameter 'response' is not assigned and could be declared final |
| 11155 |
src/weixin/huodong/controller/WxZhongjiangController.java |
97 |
Parameter 'wxZhongjiang' is not assigned and could be declared final |
| 11156 |
src/weixin/huodong/controller/WxZhongjiangController.java |
99 |
Avoid variables with short names like cq |
| 11157 |
src/weixin/huodong/controller/WxZhongjiangController.java |
99 |
Local variable 'cq' could be declared final |
| 11158 |
src/weixin/huodong/controller/WxZhongjiangController.java |
110 |
Avoid reassigning parameters such as 'wxZhongjiang' |
| 11159 |
src/weixin/huodong/controller/WxZhongjiangController.java |
111 |
Avoid variables with short names like j |
| 11160 |
src/weixin/huodong/controller/WxZhongjiangController.java |
111 |
Found 'DU'-anomaly for variable 'j' (lines '111'-'126'). |
| 11161 |
src/weixin/huodong/controller/WxZhongjiangController.java |
111 |
Local variable 'j' could be declared final |
| 11162 |
src/weixin/huodong/controller/WxZhongjiangController.java |
120 |
Avoid printStackTrace(); use a logger call instead. |
| 11163 |
src/weixin/huodong/controller/WxZhongjiangController.java |
122 |
New exception is thrown in catch block, original stack trace may be lost |
| 11164 |
src/weixin/huodong/controller/WxZhongjiangController.java |
131 |
Avoid variables with short names like j |
| 11165 |
src/weixin/huodong/controller/WxZhongjiangController.java |
131 |
Found 'DU'-anomaly for variable 'j' (lines '131'-'148'). |
| 11166 |
src/weixin/huodong/controller/WxZhongjiangController.java |
131 |
Local variable 'j' could be declared final |
| 11167 |
src/weixin/huodong/controller/WxZhongjiangController.java |
135 |
Local variable 'wxZhongjiang' could be declared final |
| 11168 |
src/weixin/huodong/controller/WxZhongjiangController.java |
142 |
Avoid printStackTrace(); use a logger call instead. |
| 11169 |
src/weixin/huodong/controller/WxZhongjiangController.java |
144 |
New exception is thrown in catch block, original stack trace may be lost |
| 11170 |
src/weixin/huodong/controller/WxZhongjiangController.java |
153 |
Avoid variables with short names like j |
| 11171 |
src/weixin/huodong/controller/WxZhongjiangController.java |
153 |
Found 'DU'-anomaly for variable 'j' (lines '153'-'166'). |
| 11172 |
src/weixin/huodong/controller/WxZhongjiangController.java |
153 |
Local variable 'j' could be declared final |
| 11173 |
src/weixin/huodong/controller/WxZhongjiangController.java |
160 |
Avoid printStackTrace(); use a logger call instead. |
| 11174 |
src/weixin/huodong/controller/WxZhongjiangController.java |
162 |
New exception is thrown in catch block, original stack trace may be lost |
| 11175 |
src/weixin/huodong/controller/WxZhongjiangController.java |
171 |
Avoid variables with short names like j |
| 11176 |
src/weixin/huodong/controller/WxZhongjiangController.java |
171 |
Found 'DU'-anomaly for variable 'j' (lines '171'-'186'). |
| 11177 |
src/weixin/huodong/controller/WxZhongjiangController.java |
180 |
Avoid printStackTrace(); use a logger call instead. |
| 11178 |
src/weixin/huodong/controller/WxZhongjiangController.java |
182 |
New exception is thrown in catch block, original stack trace may be lost |
| 11179 |
src/weixin/huodong/controller/WxZhongjiangController.java |
189 |
Avoid reassigning parameters such as 'wxZhongjiang' |
| 11180 |
src/weixin/huodong/controller/WxZhongjiangController.java |
203 |
Avoid reassigning parameters such as 'wxZhongjiang' |
| 11181 |
src/weixin/huodong/controller/WxZhongjiangController.java |
222 |
The method 'exportXls' has a Cyclomatic Complexity of 11. |
| 11182 |
src/weixin/huodong/controller/WxZhongjiangController.java |
225 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '225'-'228'). |
| 11183 |
src/weixin/huodong/controller/WxZhongjiangController.java |
226 |
Found 'DD'-anomaly for variable 'fOut' (lines '226'-'282'). |
| 11184 |
src/weixin/huodong/controller/WxZhongjiangController.java |
231 |
The String literal "content-disposition" appears 4 times in this file; the first occurrence is on line 231 |
| 11185 |
src/weixin/huodong/controller/WxZhongjiangController.java |
232 |
The String literal ".xls" appears 4 times in this file; the first occurrence is on line 232 |
| 11186 |
src/weixin/huodong/controller/WxZhongjiangController.java |
232 |
The String literal "UTF-8" appears 4 times in this file; the first occurrence is on line 232 |
| 11187 |
src/weixin/huodong/controller/WxZhongjiangController.java |
232 |
The String literal "attachment;filename=" appears 4 times in this file; the first occurrence is on line 232 |
| 11188 |
src/weixin/huodong/controller/WxZhongjiangController.java |
239 |
Found 'DD'-anomaly for variable 'workbook' (lines '239'-'278'). |
| 11189 |
src/weixin/huodong/controller/WxZhongjiangController.java |
245 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 11190 |
src/weixin/huodong/controller/WxZhongjiangController.java |
247 |
Avoid excessively long variable names like wxZhongjiangEntityVos |
| 11191 |
src/weixin/huodong/controller/WxZhongjiangController.java |
249 |
Avoid instantiating new objects inside loops |
| 11192 |
src/weixin/huodong/controller/WxZhongjiangController.java |
284 |
Avoid empty catch blocks |
| 11193 |
src/weixin/huodong/controller/WxZhongjiangController.java |
289 |
Avoid empty catch blocks |
| 11194 |
src/weixin/huodong/controller/WxZhongjiangController.java |
298 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '298'-'301'). |
| 11195 |
src/weixin/huodong/controller/WxZhongjiangController.java |
299 |
Found 'DD'-anomaly for variable 'fOut' (lines '299'-'316'). |
| 11196 |
src/weixin/huodong/controller/WxZhongjiangController.java |
312 |
Found 'DD'-anomaly for variable 'workbook' (lines '312'-'313'). |
| 11197 |
src/weixin/huodong/controller/WxZhongjiangController.java |
318 |
Avoid empty catch blocks |
| 11198 |
src/weixin/huodong/controller/WxZhongjiangController.java |
323 |
Avoid empty catch blocks |
| 11199 |
src/weixin/huodong/controller/WxZhongjiangController.java |
330 |
The method 'importExcel' has a Cyclomatic Complexity of 13. |
| 11200 |
src/weixin/huodong/controller/WxZhongjiangController.java |
339 |
Avoid excessively long variable names like listWxZhongjiangEntitys |
| 11201 |
src/weixin/huodong/controller/WxZhongjiangController.java |
339 |
Avoid instantiating new objects inside loops |
| 11202 |
src/weixin/huodong/controller/WxZhongjiangController.java |
341 |
Found 'DD'-anomaly for variable 'book' (lines '341'-'347'). |
| 11203 |
src/weixin/huodong/controller/WxZhongjiangController.java |
341 |
Found 'DD'-anomaly for variable 'book' (lines '341'-'349'). |
| 11204 |
src/weixin/huodong/controller/WxZhongjiangController.java |
344 |
Avoid instantiating new objects inside loops |
| 11205 |
src/weixin/huodong/controller/WxZhongjiangController.java |
347 |
Avoid instantiating new objects inside loops |
| 11206 |
src/weixin/huodong/controller/WxZhongjiangController.java |
347 |
Avoid using if...else statements without curly braces |
| 11207 |
src/weixin/huodong/controller/WxZhongjiangController.java |
349 |
Avoid instantiating new objects inside loops |
| 11208 |
src/weixin/huodong/controller/WxZhongjiangController.java |
355 |
Avoid excessively long variable names like entityWxZhongjiangEntity |
| 11209 |
src/weixin/huodong/controller/WxZhongjiangController.java |
355 |
Found 'DD'-anomaly for variable 'entityWxZhongjiangEntity' (lines '355'-'355'). |
| 11210 |
src/weixin/huodong/controller/WxZhongjiangController.java |
355 |
Found 'DU'-anomaly for variable 'entityWxZhongjiangEntity' (lines '355'-'403'). |
| 11211 |
src/weixin/huodong/controller/WxZhongjiangController.java |
380 |
Unnecessary wrapper object creation |
| 11212 |
src/weixin/huodong/controller/WxZhongjiangController.java |
398 |
Avoid printStackTrace(); use a logger call instead. |
| 11213 |
src/weixin/huodong/controller/WxZhongjiangController.java |
410 |
Avoid using dollar signs in variable/method/class/interface names |
| 11214 |
src/weixin/huodong/controller/WxZhongjiangController.java |
423 |
Found 'DU'-anomaly for variable 'jpCode' (lines '423'-'447'). |
| 11215 |
src/weixin/huodong/controller/WxZhongjiangController.java |
424 |
Found 'DU'-anomaly for variable 'hdid' (lines '424'-'447'). |
| 11216 |
src/weixin/huodong/controller/WxZhongjiangController.java |
426 |
Avoid excessively long variable names like wxZhongjiangEntity |
| 11217 |
src/weixin/huodong/controller/WxZhongjiangController.java |
434 |
Avoid if (x != y) ..; else ..; |
| 11218 |
src/weixin/huodong/controller/WxZhongjiangController.java |
435 |
Avoid if (x != y) ..; else ..; |
| 11219 |
src/weixin/huodong/controller/WxZhongjiangController.java |
470 |
A method should have only one exit point, and that should be the last statement in the method |
| 11220 |
src/weixin/huodong/controller/WxZhongjiangController.java |
481 |
Found 'DU'-anomaly for variable 'path' (lines '481'-'509'). |
| 11221 |
src/weixin/huodong/controller/WxZhongjiangController.java |
519 |
A method should have only one exit point, and that should be the last statement in the method |
| 11222 |
src/weixin/huodong/entity/WxHuodongEntity.java |
39 |
Parameter 'createName' is not assigned and could be declared final |
| 11223 |
src/weixin/huodong/entity/WxHuodongEntity.java |
48 |
Parameter 'createDate' is not assigned and could be declared final |
| 11224 |
src/weixin/huodong/entity/WxHuodongEntity.java |
57 |
Parameter 'updateName' is not assigned and could be declared final |
| 11225 |
src/weixin/huodong/entity/WxHuodongEntity.java |
66 |
Parameter 'updateDate' is not assigned and could be declared final |
| 11226 |
src/weixin/huodong/entity/WxHuodongEntity.java |
75 |
Parameter 'hdName' is not assigned and could be declared final |
| 11227 |
src/weixin/huodong/entity/WxZhongjiangEntity.java |
14 |
Too many fields |
| 11228 |
src/weixin/huodong/entity/WxZhongjiangEntity.java |
68 |
Parameter 'createName' is not assigned and could be declared final |
| 11229 |
src/weixin/huodong/entity/WxZhongjiangEntity.java |
77 |
Parameter 'createDate' is not assigned and could be declared final |
| 11230 |
src/weixin/huodong/entity/WxZhongjiangEntity.java |
86 |
Parameter 'updateName' is not assigned and could be declared final |
| 11231 |
src/weixin/huodong/entity/WxZhongjiangEntity.java |
95 |
Parameter 'updateDate' is not assigned and could be declared final |
| 11232 |
src/weixin/huodong/entity/WxZhongjiangEntity.java |
104 |
Parameter 'platformCode' is not assigned and could be declared final |
| 11233 |
src/weixin/huodong/service/WxHuodongServiceI.java |
8 |
Avoid modifiers which are implied by the context |
| 11234 |
src/weixin/huodong/service/WxHuodongServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 11235 |
src/weixin/huodong/service/WxHuodongServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 11236 |
src/weixin/huodong/service/WxHuodongServiceI.java |
14 |
Avoid excessively long variable names like paramWxHuodongEntity |
| 11237 |
src/weixin/huodong/service/WxHuodongServiceI.java |
14 |
Avoid modifiers which are implied by the context |
| 11238 |
src/weixin/huodong/service/WxHuodongServiceI.java |
16 |
Avoid excessively long variable names like paramWxHuodongEntity |
| 11239 |
src/weixin/huodong/service/WxHuodongServiceI.java |
16 |
Avoid modifiers which are implied by the context |
| 11240 |
src/weixin/huodong/service/WxHuodongServiceI.java |
18 |
Avoid excessively long variable names like paramWxHuodongEntity |
| 11241 |
src/weixin/huodong/service/WxZhongjiangServiceI.java |
8 |
Avoid modifiers which are implied by the context |
| 11242 |
src/weixin/huodong/service/WxZhongjiangServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 11243 |
src/weixin/huodong/service/WxZhongjiangServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 11244 |
src/weixin/huodong/service/WxZhongjiangServiceI.java |
14 |
Avoid excessively long variable names like paramWxZhongjiangEntity |
| 11245 |
src/weixin/huodong/service/WxZhongjiangServiceI.java |
14 |
Avoid modifiers which are implied by the context |
| 11246 |
src/weixin/huodong/service/WxZhongjiangServiceI.java |
16 |
Avoid excessively long variable names like paramWxZhongjiangEntity |
| 11247 |
src/weixin/huodong/service/WxZhongjiangServiceI.java |
16 |
Avoid modifiers which are implied by the context |
| 11248 |
src/weixin/huodong/service/WxZhongjiangServiceI.java |
18 |
Avoid excessively long variable names like paramWxZhongjiangEntity |
| 11249 |
src/weixin/huodong/service/impl/WxHuodongServiceImpl.java |
14 |
Parameter 'entity' is not assigned and could be declared final |
| 11250 |
src/weixin/huodong/service/impl/WxHuodongServiceImpl.java |
20 |
Parameter 'entity' is not assigned and could be declared final |
| 11251 |
src/weixin/huodong/service/impl/WxHuodongServiceImpl.java |
21 |
Avoid variables with short names like t |
| 11252 |
src/weixin/huodong/service/impl/WxHuodongServiceImpl.java |
21 |
Local variable 't' could be declared final |
| 11253 |
src/weixin/huodong/service/impl/WxHuodongServiceImpl.java |
27 |
Parameter 'entity' is not assigned and could be declared final |
| 11254 |
src/weixin/huodong/service/impl/WxHuodongServiceImpl.java |
33 |
Avoid variables with short names like t |
| 11255 |
src/weixin/huodong/service/impl/WxHuodongServiceImpl.java |
33 |
Parameter 't' is not assigned and could be declared final |
| 11256 |
src/weixin/huodong/service/impl/WxHuodongServiceImpl.java |
37 |
Avoid variables with short names like t |
| 11257 |
src/weixin/huodong/service/impl/WxHuodongServiceImpl.java |
37 |
Parameter 't' is not assigned and could be declared final |
| 11258 |
src/weixin/huodong/service/impl/WxHuodongServiceImpl.java |
41 |
Avoid variables with short names like t |
| 11259 |
src/weixin/huodong/service/impl/WxHuodongServiceImpl.java |
45 |
Avoid reassigning parameters such as 'sql' |
| 11260 |
src/weixin/huodong/service/impl/WxHuodongServiceImpl.java |
45 |
Avoid reassigning parameters such as 'sql' |
| 11261 |
src/weixin/huodong/service/impl/WxHuodongServiceImpl.java |
45 |
Avoid reassigning parameters such as 'sql' |
| 11262 |
src/weixin/huodong/service/impl/WxHuodongServiceImpl.java |
45 |
Avoid reassigning parameters such as 'sql' |
| 11263 |
src/weixin/huodong/service/impl/WxHuodongServiceImpl.java |
45 |
Avoid reassigning parameters such as 'sql' |
| 11264 |
src/weixin/huodong/service/impl/WxHuodongServiceImpl.java |
45 |
Avoid variables with short names like t |
| 11265 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
15 |
Parameter 'entity' is not assigned and could be declared final |
| 11266 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
21 |
Parameter 'entity' is not assigned and could be declared final |
| 11267 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
22 |
Avoid variables with short names like t |
| 11268 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
22 |
Local variable 't' could be declared final |
| 11269 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
28 |
Parameter 'entity' is not assigned and could be declared final |
| 11270 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
34 |
Avoid variables with short names like t |
| 11271 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
34 |
Parameter 't' is not assigned and could be declared final |
| 11272 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
38 |
Avoid variables with short names like t |
| 11273 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
38 |
Parameter 't' is not assigned and could be declared final |
| 11274 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
42 |
Avoid variables with short names like t |
| 11275 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
46 |
Avoid reassigning parameters such as 'sql' |
| 11276 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
46 |
Avoid reassigning parameters such as 'sql' |
| 11277 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
46 |
Avoid reassigning parameters such as 'sql' |
| 11278 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
46 |
Avoid reassigning parameters such as 'sql' |
| 11279 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
46 |
Avoid reassigning parameters such as 'sql' |
| 11280 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
46 |
Avoid variables with short names like t |
| 11281 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
70 |
Avoid excessively long variable names like wxZhongjiangEntities |
| 11282 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
70 |
Local variable 'wxZhongjiangEntities' could be declared final |
| 11283 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
71 |
A method should have only one exit point, and that should be the last statement in the method |
| 11284 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
71 |
Avoid using if statements without curly braces |
| 11285 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
76 |
Avoid excessively long variable names like wxZhongjiangEntities |
| 11286 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
76 |
Local variable 'wxZhongjiangEntities' could be declared final |
| 11287 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
77 |
A method should have only one exit point, and that should be the last statement in the method |
| 11288 |
src/weixin/huodong/service/impl/WxZhongjiangServiceImpl.java |
77 |
Avoid using if statements without curly braces |
| 11289 |
src/weixin/huodong/view/WxZhongjiangEntityVo.java |
54 |
Parameter 'platformName' is not assigned and could be declared final |
| 11290 |
src/weixin/huodong/view/WxZhongjiangEntityVo.java |
60 |
Parameter 'huoddongName' is not assigned and could be declared final |
| 11291 |
src/weixin/huodong/view/WxZhongjiangEntityVo.java |
66 |
Parameter 'jpLevel' is not assigned and could be declared final |
| 11292 |
src/weixin/huodong/view/WxZhongjiangEntityVo.java |
72 |
Parameter 'jpFlag' is not assigned and could be declared final |
| 11293 |
src/weixin/huodong/view/WxZhongjiangEntityVo.java |
78 |
Parameter 'userAccount' is not assigned and could be declared final |
| 11294 |
src/weixin/idea/extend/function/KeyServiceI.java |
8 |
Avoid modifiers which are implied by the context |
| 11295 |
src/weixin/idea/extend/function/KeyServiceI.java |
10 |
Avoid excessively long variable names like paramHttpServletRequest |
| 11296 |
src/weixin/idea/extend/function/KeyServiceI.java |
10 |
Avoid excessively long variable names like paramTextMessageResp |
| 11297 |
src/weixin/idea/extend/function/KeyServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 11298 |
src/weixin/idea/extend/function/impl/AroundService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11299 |
src/weixin/idea/extend/function/impl/AroundService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11300 |
src/weixin/idea/extend/function/impl/AroundService.java |
10 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11301 |
src/weixin/idea/extend/function/impl/AroundService.java |
10 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11302 |
src/weixin/idea/extend/function/impl/AroundService.java |
21 |
Parameter 'content' is not assigned and could be declared final |
| 11303 |
src/weixin/idea/extend/function/impl/AroundService.java |
21 |
Parameter 'defaultMessage' is not assigned and could be declared final |
| 11304 |
src/weixin/idea/extend/function/impl/AroundService.java |
21 |
Parameter 'request' is not assigned and could be declared final |
| 11305 |
src/weixin/idea/extend/function/impl/AroundService.java |
23 |
Avoid excessively long variable names like weixinAccountService |
| 11306 |
src/weixin/idea/extend/function/impl/AroundService.java |
23 |
Local variable 'weixinAccountService' could be declared final |
| 11307 |
src/weixin/idea/extend/function/impl/AroundService.java |
24 |
Local variable 'accountid' could be declared final |
| 11308 |
src/weixin/idea/extend/function/impl/AroundService.java |
25 |
Local variable 'bundler' could be declared final |
| 11309 |
src/weixin/idea/extend/function/impl/AroundService.java |
26 |
Local variable 'articleList' could be declared final |
| 11310 |
src/weixin/idea/extend/function/impl/AroundService.java |
27 |
Local variable 'article' could be declared final |
| 11311 |
src/weixin/idea/extend/function/impl/BbsService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11312 |
src/weixin/idea/extend/function/impl/BbsService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11313 |
src/weixin/idea/extend/function/impl/BbsService.java |
10 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11314 |
src/weixin/idea/extend/function/impl/BbsService.java |
10 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11315 |
src/weixin/idea/extend/function/impl/BbsService.java |
21 |
Parameter 'content' is not assigned and could be declared final |
| 11316 |
src/weixin/idea/extend/function/impl/BbsService.java |
21 |
Parameter 'defaultMessage' is not assigned and could be declared final |
| 11317 |
src/weixin/idea/extend/function/impl/BbsService.java |
21 |
Parameter 'request' is not assigned and could be declared final |
| 11318 |
src/weixin/idea/extend/function/impl/BbsService.java |
23 |
Avoid excessively long variable names like weixinAccountService |
| 11319 |
src/weixin/idea/extend/function/impl/BbsService.java |
23 |
Local variable 'weixinAccountService' could be declared final |
| 11320 |
src/weixin/idea/extend/function/impl/BbsService.java |
24 |
Local variable 'bundler' could be declared final |
| 11321 |
src/weixin/idea/extend/function/impl/BbsService.java |
25 |
Local variable 'articleList' could be declared final |
| 11322 |
src/weixin/idea/extend/function/impl/BbsService.java |
26 |
Local variable 'article' could be declared final |
| 11323 |
src/weixin/idea/extend/function/impl/BbsService.java |
31 |
Local variable 'accountid' could be declared final |
| 11324 |
src/weixin/idea/extend/function/impl/CmsService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11325 |
src/weixin/idea/extend/function/impl/CmsService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11326 |
src/weixin/idea/extend/function/impl/CmsService.java |
10 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11327 |
src/weixin/idea/extend/function/impl/CmsService.java |
10 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11328 |
src/weixin/idea/extend/function/impl/CmsService.java |
21 |
Parameter 'content' is not assigned and could be declared final |
| 11329 |
src/weixin/idea/extend/function/impl/CmsService.java |
21 |
Parameter 'defaultMessage' is not assigned and could be declared final |
| 11330 |
src/weixin/idea/extend/function/impl/CmsService.java |
21 |
Parameter 'request' is not assigned and could be declared final |
| 11331 |
src/weixin/idea/extend/function/impl/CmsService.java |
23 |
Avoid excessively long variable names like weixinAccountService |
| 11332 |
src/weixin/idea/extend/function/impl/CmsService.java |
23 |
Local variable 'weixinAccountService' could be declared final |
| 11333 |
src/weixin/idea/extend/function/impl/CmsService.java |
24 |
Local variable 'bundler' could be declared final |
| 11334 |
src/weixin/idea/extend/function/impl/CmsService.java |
25 |
Local variable 'articleList' could be declared final |
| 11335 |
src/weixin/idea/extend/function/impl/CmsService.java |
26 |
Local variable 'article' could be declared final |
| 11336 |
src/weixin/idea/extend/function/impl/CmsService.java |
31 |
Local variable 'accountid' could be declared final |
| 11337 |
src/weixin/idea/extend/function/impl/DaZhuanPanService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11338 |
src/weixin/idea/extend/function/impl/DaZhuanPanService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11339 |
src/weixin/idea/extend/function/impl/DaZhuanPanService.java |
10 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11340 |
src/weixin/idea/extend/function/impl/DaZhuanPanService.java |
10 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11341 |
src/weixin/idea/extend/function/impl/DaZhuanPanService.java |
21 |
Parameter 'content' is not assigned and could be declared final |
| 11342 |
src/weixin/idea/extend/function/impl/DaZhuanPanService.java |
21 |
Parameter 'defaultMessage' is not assigned and could be declared final |
| 11343 |
src/weixin/idea/extend/function/impl/DaZhuanPanService.java |
21 |
Parameter 'request' is not assigned and could be declared final |
| 11344 |
src/weixin/idea/extend/function/impl/DaZhuanPanService.java |
23 |
Avoid excessively long variable names like weixinAccountService |
| 11345 |
src/weixin/idea/extend/function/impl/DaZhuanPanService.java |
23 |
Local variable 'weixinAccountService' could be declared final |
| 11346 |
src/weixin/idea/extend/function/impl/DaZhuanPanService.java |
24 |
Local variable 'accountid' could be declared final |
| 11347 |
src/weixin/idea/extend/function/impl/DaZhuanPanService.java |
25 |
Local variable 'bundler' could be declared final |
| 11348 |
src/weixin/idea/extend/function/impl/DaZhuanPanService.java |
26 |
Local variable 'articleList' could be declared final |
| 11349 |
src/weixin/idea/extend/function/impl/DaZhuanPanService.java |
27 |
Local variable 'article' could be declared final |
| 11350 |
src/weixin/idea/extend/function/impl/FanYiKeyService.java |
12 |
Parameter 'content' is not assigned and could be declared final |
| 11351 |
src/weixin/idea/extend/function/impl/FanYiKeyService.java |
12 |
Parameter 'request' is not assigned and could be declared final |
| 11352 |
src/weixin/idea/extend/function/impl/FanYiKeyService.java |
12 |
Parameter 'textMessage' is not assigned and could be declared final |
| 11353 |
src/weixin/idea/extend/function/impl/FanYiKeyService.java |
14 |
Local variable 'keyWord' could be declared final |
| 11354 |
src/weixin/idea/extend/function/impl/FanYiKeyService.java |
15 |
Found 'DD'-anomaly for variable 'returnMessage' (lines '15'-'17'). |
| 11355 |
src/weixin/idea/extend/function/impl/FanYiKeyService.java |
15 |
Found 'DD'-anomaly for variable 'returnMessage' (lines '15'-'19'). |
| 11356 |
src/weixin/idea/extend/function/impl/FanYiKeyService.java |
17 |
Avoid using if...else statements without curly braces |
| 11357 |
src/weixin/idea/extend/function/impl/FanYiKeyService.java |
32 |
Local variable 'buffer' could be declared final |
| 11358 |
src/weixin/idea/extend/function/impl/FanYiKeyService.java |
32 |
StringBuffer constructor is initialized with size 16, but has at least 137 characters appended. |
| 11359 |
src/weixin/idea/extend/function/impl/FanYiKeyService.java |
33 |
StringBuffer.append is called 19 consecutive times with literal Strings. Use a single append with a single String. |
| 11360 |
src/weixin/idea/extend/function/impl/FanYiKeyService.java |
34 |
Avoid appending characters as strings in StringBuffer.append. |
| 11361 |
src/weixin/idea/extend/function/impl/FanYiKeyService.java |
35 |
Avoid appending characters as strings in StringBuffer.append. |
| 11362 |
src/weixin/idea/extend/function/impl/FanYiKeyService.java |
36 |
Avoid appending characters as strings in StringBuffer.append. |
| 11363 |
src/weixin/idea/extend/function/impl/FanYiKeyService.java |
38 |
Avoid appending characters as strings in StringBuffer.append. |
| 11364 |
src/weixin/idea/extend/function/impl/FanYiKeyService.java |
39 |
Avoid appending characters as strings in StringBuffer.append. |
| 11365 |
src/weixin/idea/extend/function/impl/GuagualeService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11366 |
src/weixin/idea/extend/function/impl/GuagualeService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11367 |
src/weixin/idea/extend/function/impl/GuagualeService.java |
10 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11368 |
src/weixin/idea/extend/function/impl/GuagualeService.java |
10 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11369 |
src/weixin/idea/extend/function/impl/GuagualeService.java |
21 |
Parameter 'content' is not assigned and could be declared final |
| 11370 |
src/weixin/idea/extend/function/impl/GuagualeService.java |
21 |
Parameter 'defaultMessage' is not assigned and could be declared final |
| 11371 |
src/weixin/idea/extend/function/impl/GuagualeService.java |
21 |
Parameter 'request' is not assigned and could be declared final |
| 11372 |
src/weixin/idea/extend/function/impl/GuagualeService.java |
23 |
Avoid excessively long variable names like weixinAccountService |
| 11373 |
src/weixin/idea/extend/function/impl/GuagualeService.java |
23 |
Local variable 'weixinAccountService' could be declared final |
| 11374 |
src/weixin/idea/extend/function/impl/GuagualeService.java |
24 |
Local variable 'accountid' could be declared final |
| 11375 |
src/weixin/idea/extend/function/impl/GuagualeService.java |
25 |
Local variable 'bundler' could be declared final |
| 11376 |
src/weixin/idea/extend/function/impl/GuagualeService.java |
26 |
Local variable 'articleList' could be declared final |
| 11377 |
src/weixin/idea/extend/function/impl/GuagualeService.java |
27 |
Local variable 'article' could be declared final |
| 11378 |
src/weixin/idea/extend/function/impl/LeaveMsgService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11379 |
src/weixin/idea/extend/function/impl/LeaveMsgService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11380 |
src/weixin/idea/extend/function/impl/LeaveMsgService.java |
10 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11381 |
src/weixin/idea/extend/function/impl/LeaveMsgService.java |
10 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11382 |
src/weixin/idea/extend/function/impl/LeaveMsgService.java |
21 |
Parameter 'content' is not assigned and could be declared final |
| 11383 |
src/weixin/idea/extend/function/impl/LeaveMsgService.java |
21 |
Parameter 'defaultMessage' is not assigned and could be declared final |
| 11384 |
src/weixin/idea/extend/function/impl/LeaveMsgService.java |
21 |
Parameter 'request' is not assigned and could be declared final |
| 11385 |
src/weixin/idea/extend/function/impl/LeaveMsgService.java |
23 |
Avoid excessively long variable names like weixinAccountService |
| 11386 |
src/weixin/idea/extend/function/impl/LeaveMsgService.java |
23 |
Local variable 'weixinAccountService' could be declared final |
| 11387 |
src/weixin/idea/extend/function/impl/LeaveMsgService.java |
24 |
Local variable 'bundler' could be declared final |
| 11388 |
src/weixin/idea/extend/function/impl/LeaveMsgService.java |
25 |
Local variable 'articleList' could be declared final |
| 11389 |
src/weixin/idea/extend/function/impl/LeaveMsgService.java |
26 |
Local variable 'article' could be declared final |
| 11390 |
src/weixin/idea/extend/function/impl/LeaveMsgService.java |
31 |
Local variable 'accountid' could be declared final |
| 11391 |
src/weixin/idea/extend/function/impl/SurveyService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11392 |
src/weixin/idea/extend/function/impl/SurveyService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11393 |
src/weixin/idea/extend/function/impl/SurveyService.java |
10 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11394 |
src/weixin/idea/extend/function/impl/SurveyService.java |
10 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11395 |
src/weixin/idea/extend/function/impl/SurveyService.java |
21 |
Parameter 'content' is not assigned and could be declared final |
| 11396 |
src/weixin/idea/extend/function/impl/SurveyService.java |
21 |
Parameter 'defaultMessage' is not assigned and could be declared final |
| 11397 |
src/weixin/idea/extend/function/impl/SurveyService.java |
21 |
Parameter 'request' is not assigned and could be declared final |
| 11398 |
src/weixin/idea/extend/function/impl/SurveyService.java |
23 |
Avoid excessively long variable names like weixinAccountService |
| 11399 |
src/weixin/idea/extend/function/impl/SurveyService.java |
23 |
Local variable 'weixinAccountService' could be declared final |
| 11400 |
src/weixin/idea/extend/function/impl/SurveyService.java |
24 |
Local variable 'bundler' could be declared final |
| 11401 |
src/weixin/idea/extend/function/impl/SurveyService.java |
25 |
Local variable 'articleList' could be declared final |
| 11402 |
src/weixin/idea/extend/function/impl/SurveyService.java |
26 |
Local variable 'article' could be declared final |
| 11403 |
src/weixin/idea/extend/function/impl/SurveyService.java |
31 |
Local variable 'accountid' could be declared final |
| 11404 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
8 |
Avoid unused imports such as 'javax.servlet.ServletContext' |
| 11405 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
8 |
Avoid unused imports such as 'javax.servlet.ServletContext' |
| 11406 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
10 |
Avoid unused imports such as 'javax.servlet.http.HttpSession' |
| 11407 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
10 |
Avoid unused imports such as 'javax.servlet.http.HttpSession' |
| 11408 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
27 |
Parameter 'content' is not assigned and could be declared final |
| 11409 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
27 |
Parameter 'defaultMessage' is not assigned and could be declared final |
| 11410 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
27 |
Parameter 'request' is not assigned and could be declared final |
| 11411 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
29 |
Found 'DD'-anomaly for variable 'respMessage' (lines '29'-'36'). |
| 11412 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
29 |
Found 'DU'-anomaly for variable 'respMessage' (lines '29'-'110'). |
| 11413 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
30 |
Local variable 'keyWord' could be declared final |
| 11414 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
32 |
Local variable 'buffer' could be declared final |
| 11415 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
34 |
Avoid appending characters as strings in StringBuffer.append. |
| 11416 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
34 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 11417 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
38 |
Found 'DD'-anomaly for variable 'map' (lines '38'-'44'). |
| 11418 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
39 |
Found 'DD'-anomaly for variable 'map2' (lines '39'-'45'). |
| 11419 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
41 |
Local variable 'filepach' could be declared final |
| 11420 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
43 |
Local variable 'util' could be declared final |
| 11421 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
44 |
Found 'DU'-anomaly for variable 'map' (lines '44'-'110'). |
| 11422 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
45 |
Found 'DU'-anomaly for variable 'map2' (lines '45'-'110'). |
| 11423 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
47 |
Avoid printStackTrace(); use a logger call instead. |
| 11424 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
48 |
Local variable 'buffer' could be declared final |
| 11425 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
50 |
Avoid appending characters as strings in StringBuffer.append. |
| 11426 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
50 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 11427 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
52 |
A method should have only one exit point, and that should be the last statement in the method |
| 11428 |
src/weixin/idea/extend/function/impl/TianQiKeyService.java |
112 |
Parameter 'args' is not assigned and could be declared final |
| 11429 |
src/weixin/idea/extend/function/impl/VotePKService.java |
10 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11430 |
src/weixin/idea/extend/function/impl/VotePKService.java |
10 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11431 |
src/weixin/idea/extend/function/impl/VotePKService.java |
11 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11432 |
src/weixin/idea/extend/function/impl/VotePKService.java |
11 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11433 |
src/weixin/idea/extend/function/impl/VotePKService.java |
18 |
Avoid unused imports such as 'weixin.idea.votepk.entity.WeixinVotePKConfig' |
| 11434 |
src/weixin/idea/extend/function/impl/VotePKService.java |
18 |
Avoid unused imports such as 'weixin.idea.votepk.entity.WeixinVotePKConfig' |
| 11435 |
src/weixin/idea/extend/function/impl/VotePKService.java |
29 |
Parameter 'content' is not assigned and could be declared final |
| 11436 |
src/weixin/idea/extend/function/impl/VotePKService.java |
29 |
Parameter 'defaultMessage' is not assigned and could be declared final |
| 11437 |
src/weixin/idea/extend/function/impl/VotePKService.java |
29 |
Parameter 'request' is not assigned and could be declared final |
| 11438 |
src/weixin/idea/extend/function/impl/VotePKService.java |
31 |
Avoid excessively long variable names like weixinAccountService |
| 11439 |
src/weixin/idea/extend/function/impl/VotePKService.java |
31 |
Local variable 'weixinAccountService' could be declared final |
| 11440 |
src/weixin/idea/extend/function/impl/VotePKService.java |
32 |
Avoid excessively long variable names like weixinVotePKConfigService |
| 11441 |
src/weixin/idea/extend/function/impl/VotePKService.java |
32 |
Local variable 'weixinVotePKConfigService' could be declared final |
| 11442 |
src/weixin/idea/extend/function/impl/VotePKService.java |
33 |
Local variable 'accountid' could be declared final |
| 11443 |
src/weixin/idea/extend/function/impl/VotePKService.java |
34 |
Local variable 'hdjs' could be declared final |
| 11444 |
src/weixin/idea/extend/function/impl/VotePKService.java |
35 |
Local variable 'hdgz' could be declared final |
| 11445 |
src/weixin/idea/extend/function/impl/VotePKService.java |
56 |
The String literal "domain" appears 4 times in this file; the first occurrence is on line 56 |
| 11446 |
src/weixin/idea/extend/function/impl/VoteService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11447 |
src/weixin/idea/extend/function/impl/VoteService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11448 |
src/weixin/idea/extend/function/impl/VoteService.java |
10 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11449 |
src/weixin/idea/extend/function/impl/VoteService.java |
10 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11450 |
src/weixin/idea/extend/function/impl/VoteService.java |
21 |
Parameter 'content' is not assigned and could be declared final |
| 11451 |
src/weixin/idea/extend/function/impl/VoteService.java |
21 |
Parameter 'defaultMessage' is not assigned and could be declared final |
| 11452 |
src/weixin/idea/extend/function/impl/VoteService.java |
21 |
Parameter 'request' is not assigned and could be declared final |
| 11453 |
src/weixin/idea/extend/function/impl/VoteService.java |
23 |
Avoid excessively long variable names like weixinAccountService |
| 11454 |
src/weixin/idea/extend/function/impl/VoteService.java |
23 |
Local variable 'weixinAccountService' could be declared final |
| 11455 |
src/weixin/idea/extend/function/impl/VoteService.java |
24 |
Local variable 'bundler' could be declared final |
| 11456 |
src/weixin/idea/extend/function/impl/VoteService.java |
25 |
Local variable 'articleList' could be declared final |
| 11457 |
src/weixin/idea/extend/function/impl/VoteService.java |
26 |
Local variable 'article' could be declared final |
| 11458 |
src/weixin/idea/extend/function/impl/VoteService.java |
31 |
Local variable 'accountid' could be declared final |
| 11459 |
src/weixin/idea/extend/function/impl/WeixinPhotoService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11460 |
src/weixin/idea/extend/function/impl/WeixinPhotoService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11461 |
src/weixin/idea/extend/function/impl/WeixinPhotoService.java |
21 |
Parameter 'content' is not assigned and could be declared final |
| 11462 |
src/weixin/idea/extend/function/impl/WeixinPhotoService.java |
21 |
Parameter 'defaultMessage' is not assigned and could be declared final |
| 11463 |
src/weixin/idea/extend/function/impl/WeixinPhotoService.java |
21 |
Parameter 'request' is not assigned and could be declared final |
| 11464 |
src/weixin/idea/extend/function/impl/WeixinPhotoService.java |
23 |
Avoid excessively long variable names like weixinAccountService |
| 11465 |
src/weixin/idea/extend/function/impl/WeixinPhotoService.java |
23 |
Local variable 'weixinAccountService' could be declared final |
| 11466 |
src/weixin/idea/extend/function/impl/WeixinPhotoService.java |
24 |
Avoid unused local variables such as 'account'. |
| 11467 |
src/weixin/idea/extend/function/impl/WeixinPhotoService.java |
24 |
Found 'DU'-anomaly for variable 'account' (lines '24'-'46'). |
| 11468 |
src/weixin/idea/extend/function/impl/WeixinPhotoService.java |
24 |
Local variable 'account' could be declared final |
| 11469 |
src/weixin/idea/extend/function/impl/WeixinPhotoService.java |
26 |
Local variable 'accountid' could be declared final |
| 11470 |
src/weixin/idea/extend/function/impl/WeixinPhotoService.java |
28 |
Local variable 'bundler' could be declared final |
| 11471 |
src/weixin/idea/extend/function/impl/WeixinPhotoService.java |
29 |
Local variable 'articleList' could be declared final |
| 11472 |
src/weixin/idea/extend/function/impl/WeixinShopService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11473 |
src/weixin/idea/extend/function/impl/WeixinShopService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11474 |
src/weixin/idea/extend/function/impl/WeixinShopService.java |
21 |
Parameter 'content' is not assigned and could be declared final |
| 11475 |
src/weixin/idea/extend/function/impl/WeixinShopService.java |
21 |
Parameter 'defaultMessage' is not assigned and could be declared final |
| 11476 |
src/weixin/idea/extend/function/impl/WeixinShopService.java |
21 |
Parameter 'request' is not assigned and could be declared final |
| 11477 |
src/weixin/idea/extend/function/impl/WeixinShopService.java |
23 |
Avoid excessively long variable names like weixinAccountService |
| 11478 |
src/weixin/idea/extend/function/impl/WeixinShopService.java |
23 |
Local variable 'weixinAccountService' could be declared final |
| 11479 |
src/weixin/idea/extend/function/impl/WeixinShopService.java |
24 |
Local variable 'account' could be declared final |
| 11480 |
src/weixin/idea/extend/function/impl/WeixinShopService.java |
26 |
Local variable 'accountid' could be declared final |
| 11481 |
src/weixin/idea/extend/function/impl/WeixinShopService.java |
27 |
Found 'DD'-anomaly for variable 'sellerid' (lines '27'-'29'). |
| 11482 |
src/weixin/idea/extend/function/impl/WeixinShopService.java |
31 |
Local variable 'bundler' could be declared final |
| 11483 |
src/weixin/idea/extend/function/impl/WeixinShopService.java |
32 |
Local variable 'articleList' could be declared final |
| 11484 |
src/weixin/idea/extend/function/impl/WeixinVipMemberService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11485 |
src/weixin/idea/extend/function/impl/WeixinVipMemberService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11486 |
src/weixin/idea/extend/function/impl/WeixinVipMemberService.java |
26 |
Parameter 'content' is not assigned and could be declared final |
| 11487 |
src/weixin/idea/extend/function/impl/WeixinVipMemberService.java |
26 |
Parameter 'defaultMessage' is not assigned and could be declared final |
| 11488 |
src/weixin/idea/extend/function/impl/WeixinVipMemberService.java |
26 |
Parameter 'request' is not assigned and could be declared final |
| 11489 |
src/weixin/idea/extend/function/impl/WeixinVipMemberService.java |
28 |
Avoid excessively long variable names like weixinAccountService |
| 11490 |
src/weixin/idea/extend/function/impl/WeixinVipMemberService.java |
28 |
Local variable 'weixinAccountService' could be declared final |
| 11491 |
src/weixin/idea/extend/function/impl/WeixinVipMemberService.java |
29 |
Local variable 'account' could be declared final |
| 11492 |
src/weixin/idea/extend/function/impl/WeixinVipMemberService.java |
31 |
Local variable 'accountid' could be declared final |
| 11493 |
src/weixin/idea/extend/function/impl/WeixinVipMemberService.java |
32 |
Found 'DD'-anomaly for variable 'sellerid' (lines '32'-'34'). |
| 11494 |
src/weixin/idea/extend/function/impl/WeixinVipMemberService.java |
36 |
Local variable 'bundler' could be declared final |
| 11495 |
src/weixin/idea/extend/function/impl/WeixinVipMemberService.java |
37 |
Local variable 'articleList' could be declared final |
| 11496 |
src/weixin/idea/extend/function/impl/WeixinWallService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11497 |
src/weixin/idea/extend/function/impl/WeixinWallService.java |
9 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 11498 |
src/weixin/idea/extend/function/impl/WeixinWallService.java |
26 |
Parameter 'content' is not assigned and could be declared final |
| 11499 |
src/weixin/idea/extend/function/impl/WeixinWallService.java |
26 |
Parameter 'defaultMessage' is not assigned and could be declared final |
| 11500 |
src/weixin/idea/extend/function/impl/WeixinWallService.java |
26 |
Parameter 'request' is not assigned and could be declared final |
| 11501 |
src/weixin/idea/extend/function/impl/WeixinWallService.java |
28 |
Avoid excessively long variable names like weixinAccountService |
| 11502 |
src/weixin/idea/extend/function/impl/WeixinWallService.java |
28 |
Local variable 'weixinAccountService' could be declared final |
| 11503 |
src/weixin/idea/extend/function/impl/WeixinWallService.java |
29 |
Local variable 'account' could be declared final |
| 11504 |
src/weixin/idea/extend/function/impl/WeixinWallService.java |
31 |
Local variable 'accountid' could be declared final |
| 11505 |
src/weixin/idea/extend/function/impl/WeixinWallService.java |
32 |
Found 'DD'-anomaly for variable 'sellerid' (lines '32'-'34'). |
| 11506 |
src/weixin/idea/extend/function/impl/WeixinWallService.java |
36 |
Local variable 'bundler' could be declared final |
| 11507 |
src/weixin/idea/extend/function/impl/WeixinWallService.java |
37 |
Local variable 'articleList' could be declared final |
| 11508 |
src/weixin/idea/huodong/controller/AwardController.java |
29 |
Avoid unused private fields such as 'logger'. |
| 11509 |
src/weixin/idea/huodong/controller/AwardController.java |
29 |
Variables that are final and static should be in all caps. |
| 11510 |
src/weixin/idea/huodong/controller/AwardController.java |
32 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11511 |
src/weixin/idea/huodong/controller/AwardController.java |
35 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11512 |
src/weixin/idea/huodong/controller/AwardController.java |
42 |
Parameter 'message' is not assigned and could be declared final |
| 11513 |
src/weixin/idea/huodong/controller/AwardController.java |
47 |
Parameter 'request' is not assigned and could be declared final |
| 11514 |
src/weixin/idea/huodong/controller/AwardController.java |
52 |
Parameter 'award' is not assigned and could be declared final |
| 11515 |
src/weixin/idea/huodong/controller/AwardController.java |
52 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 11516 |
src/weixin/idea/huodong/controller/AwardController.java |
52 |
Parameter 'request' is not assigned and could be declared final |
| 11517 |
src/weixin/idea/huodong/controller/AwardController.java |
53 |
Avoid variables with short names like cq |
| 11518 |
src/weixin/idea/huodong/controller/AwardController.java |
53 |
Local variable 'cq' could be declared final |
| 11519 |
src/weixin/idea/huodong/controller/AwardController.java |
62 |
Avoid reassigning parameters such as 'award' |
| 11520 |
src/weixin/idea/huodong/controller/AwardController.java |
63 |
Avoid variables with short names like j |
| 11521 |
src/weixin/idea/huodong/controller/AwardController.java |
63 |
Local variable 'j' could be declared final |
| 11522 |
src/weixin/idea/huodong/controller/AwardController.java |
76 |
Avoid variables with short names like j |
| 11523 |
src/weixin/idea/huodong/controller/AwardController.java |
76 |
Local variable 'j' could be declared final |
| 11524 |
src/weixin/idea/huodong/controller/AwardController.java |
79 |
Avoid variables with short names like t |
| 11525 |
src/weixin/idea/huodong/controller/AwardController.java |
79 |
Local variable 't' could be declared final |
| 11526 |
src/weixin/idea/huodong/controller/AwardController.java |
85 |
Avoid printStackTrace(); use a logger call instead. |
| 11527 |
src/weixin/idea/huodong/controller/AwardController.java |
98 |
Avoid reassigning parameters such as 'award' |
| 11528 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
30 |
Avoid unused private fields such as 'logger'. |
| 11529 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
30 |
Variables that are final and static should be in all caps. |
| 11530 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
33 |
Avoid excessively long variable names like awardsLevelService |
| 11531 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
33 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11532 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11533 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
41 |
Parameter 'message' is not assigned and could be declared final |
| 11534 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
47 |
Parameter 'request' is not assigned and could be declared final |
| 11535 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
53 |
Parameter 'awardsLevel' is not assigned and could be declared final |
| 11536 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
53 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 11537 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
53 |
Parameter 'request' is not assigned and could be declared final |
| 11538 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
55 |
Avoid variables with short names like cq |
| 11539 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
55 |
Local variable 'cq' could be declared final |
| 11540 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
64 |
Avoid reassigning parameters such as 'awardsLevel' |
| 11541 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
66 |
Avoid variables with short names like j |
| 11542 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
66 |
Local variable 'j' could be declared final |
| 11543 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
80 |
Avoid variables with short names like j |
| 11544 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
80 |
Local variable 'j' could be declared final |
| 11545 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
83 |
Avoid variables with short names like t |
| 11546 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
83 |
Local variable 't' could be declared final |
| 11547 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
89 |
Avoid printStackTrace(); use a logger call instead. |
| 11548 |
src/weixin/idea/huodong/controller/AwardsLevelController.java |
102 |
Avoid reassigning parameters such as 'awardsLevel' |
| 11549 |
src/weixin/idea/huodong/controller/HdRecordController.java |
29 |
Avoid unused private fields such as 'logger'. |
| 11550 |
src/weixin/idea/huodong/controller/HdRecordController.java |
29 |
Variables that are final and static should be in all caps. |
| 11551 |
src/weixin/idea/huodong/controller/HdRecordController.java |
32 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11552 |
src/weixin/idea/huodong/controller/HdRecordController.java |
35 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11553 |
src/weixin/idea/huodong/controller/HdRecordController.java |
40 |
Parameter 'message' is not assigned and could be declared final |
| 11554 |
src/weixin/idea/huodong/controller/HdRecordController.java |
46 |
Parameter 'request' is not assigned and could be declared final |
| 11555 |
src/weixin/idea/huodong/controller/HdRecordController.java |
48 |
Local variable 'hdId' could be declared final |
| 11556 |
src/weixin/idea/huodong/controller/HdRecordController.java |
54 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 11557 |
src/weixin/idea/huodong/controller/HdRecordController.java |
54 |
Parameter 'hdRecord' is not assigned and could be declared final |
| 11558 |
src/weixin/idea/huodong/controller/HdRecordController.java |
54 |
Parameter 'request' is not assigned and could be declared final |
| 11559 |
src/weixin/idea/huodong/controller/HdRecordController.java |
56 |
Local variable 'hdId' could be declared final |
| 11560 |
src/weixin/idea/huodong/controller/HdRecordController.java |
57 |
Avoid variables with short names like cq |
| 11561 |
src/weixin/idea/huodong/controller/HdRecordController.java |
57 |
Local variable 'cq' could be declared final |
| 11562 |
src/weixin/idea/huodong/controller/HdRecordController.java |
69 |
Avoid reassigning parameters such as 'hdRecord' |
| 11563 |
src/weixin/idea/huodong/controller/HdRecordController.java |
71 |
Avoid variables with short names like j |
| 11564 |
src/weixin/idea/huodong/controller/HdRecordController.java |
71 |
Local variable 'j' could be declared final |
| 11565 |
src/weixin/idea/huodong/controller/HdRecordController.java |
85 |
Avoid variables with short names like j |
| 11566 |
src/weixin/idea/huodong/controller/HdRecordController.java |
85 |
Local variable 'j' could be declared final |
| 11567 |
src/weixin/idea/huodong/controller/HdRecordController.java |
88 |
Avoid variables with short names like t |
| 11568 |
src/weixin/idea/huodong/controller/HdRecordController.java |
94 |
Avoid printStackTrace(); use a logger call instead. |
| 11569 |
src/weixin/idea/huodong/controller/HdRecordController.java |
107 |
Avoid reassigning parameters such as 'hdRecord' |
| 11570 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
30 |
Avoid unused private fields such as 'logger'. |
| 11571 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
30 |
Variables that are final and static should be in all caps. |
| 11572 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
33 |
Avoid excessively long variable names like huoDongAwardService |
| 11573 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
33 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11574 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11575 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
41 |
Parameter 'message' is not assigned and could be declared final |
| 11576 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
47 |
Parameter 'request' is not assigned and could be declared final |
| 11577 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
53 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 11578 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
53 |
Parameter 'huoDongAward' is not assigned and could be declared final |
| 11579 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
53 |
Parameter 'request' is not assigned and could be declared final |
| 11580 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
55 |
Avoid variables with short names like cq |
| 11581 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
55 |
Local variable 'cq' could be declared final |
| 11582 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
64 |
Avoid reassigning parameters such as 'huoDongAward' |
| 11583 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
66 |
Avoid variables with short names like j |
| 11584 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
66 |
Local variable 'j' could be declared final |
| 11585 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
80 |
Avoid variables with short names like j |
| 11586 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
80 |
Local variable 'j' could be declared final |
| 11587 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
83 |
Avoid variables with short names like t |
| 11588 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
83 |
Local variable 't' could be declared final |
| 11589 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
89 |
Avoid printStackTrace(); use a logger call instead. |
| 11590 |
src/weixin/idea/huodong/controller/HuoDongAwardController.java |
102 |
Avoid reassigning parameters such as 'huoDongAward' |
| 11591 |
src/weixin/idea/huodong/controller/HuodongController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 11592 |
src/weixin/idea/huodong/controller/HuodongController.java |
50 |
The class 'HuodongController' has a Cyclomatic Complexity of 4 (Highest = 21). |
| 11593 |
src/weixin/idea/huodong/controller/HuodongController.java |
51 |
Variables that are final and static should be in all caps. |
| 11594 |
src/weixin/idea/huodong/controller/HuodongController.java |
55 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11595 |
src/weixin/idea/huodong/controller/HuodongController.java |
58 |
Avoid excessively long variable names like awardsLevelService |
| 11596 |
src/weixin/idea/huodong/controller/HuodongController.java |
58 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11597 |
src/weixin/idea/huodong/controller/HuodongController.java |
61 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11598 |
src/weixin/idea/huodong/controller/HuodongController.java |
64 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11599 |
src/weixin/idea/huodong/controller/HuodongController.java |
71 |
Parameter 'message' is not assigned and could be declared final |
| 11600 |
src/weixin/idea/huodong/controller/HuodongController.java |
76 |
Parameter 'request' is not assigned and could be declared final |
| 11601 |
src/weixin/idea/huodong/controller/HuodongController.java |
77 |
Local variable 'type' could be declared final |
| 11602 |
src/weixin/idea/huodong/controller/HuodongController.java |
77 |
The String literal "type" appears 4 times in this file; the first occurrence is on line 77 |
| 11603 |
src/weixin/idea/huodong/controller/HuodongController.java |
83 |
Parameter 'huodong' is not assigned and could be declared final |
| 11604 |
src/weixin/idea/huodong/controller/HuodongController.java |
83 |
Parameter 'request' is not assigned and could be declared final |
| 11605 |
src/weixin/idea/huodong/controller/HuodongController.java |
84 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 11606 |
src/weixin/idea/huodong/controller/HuodongController.java |
85 |
Local variable 'type' could be declared final |
| 11607 |
src/weixin/idea/huodong/controller/HuodongController.java |
86 |
Avoid variables with short names like cq |
| 11608 |
src/weixin/idea/huodong/controller/HuodongController.java |
86 |
Local variable 'cq' could be declared final |
| 11609 |
src/weixin/idea/huodong/controller/HuodongController.java |
99 |
Avoid reassigning parameters such as 'huodong' |
| 11610 |
src/weixin/idea/huodong/controller/HuodongController.java |
100 |
Avoid variables with short names like j |
| 11611 |
src/weixin/idea/huodong/controller/HuodongController.java |
100 |
Local variable 'j' could be declared final |
| 11612 |
src/weixin/idea/huodong/controller/HuodongController.java |
113 |
Avoid reassigning parameters such as 'id' |
| 11613 |
src/weixin/idea/huodong/controller/HuodongController.java |
113 |
Avoid variables with short names like id |
| 11614 |
src/weixin/idea/huodong/controller/HuodongController.java |
114 |
Avoid variables with short names like j |
| 11615 |
src/weixin/idea/huodong/controller/HuodongController.java |
114 |
Local variable 'j' could be declared final |
| 11616 |
src/weixin/idea/huodong/controller/HuodongController.java |
117 |
A method should have only one exit point, and that should be the last statement in the method |
| 11617 |
src/weixin/idea/huodong/controller/HuodongController.java |
124 |
A method should have only one exit point, and that should be the last statement in the method |
| 11618 |
src/weixin/idea/huodong/controller/HuodongController.java |
140 |
The method 'save' has a Cyclomatic Complexity of 21. |
| 11619 |
src/weixin/idea/huodong/controller/HuodongController.java |
141 |
Found 'DU'-anomaly for variable 'awardInfolist' (lines '141'-'239'). |
| 11620 |
src/weixin/idea/huodong/controller/HuodongController.java |
143 |
Avoid variables with short names like j |
| 11621 |
src/weixin/idea/huodong/controller/HuodongController.java |
156 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 11622 |
src/weixin/idea/huodong/controller/HuodongController.java |
158 |
Avoid using if statements without curly braces |
| 11623 |
src/weixin/idea/huodong/controller/HuodongController.java |
158 |
Deeply nested if..then statements are hard to read |
| 11624 |
src/weixin/idea/huodong/controller/HuodongController.java |
162 |
Avoid instantiating new objects inside loops |
| 11625 |
src/weixin/idea/huodong/controller/HuodongController.java |
165 |
Deeply nested if..then statements are hard to read |
| 11626 |
src/weixin/idea/huodong/controller/HuodongController.java |
165 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 11627 |
src/weixin/idea/huodong/controller/HuodongController.java |
173 |
Avoid instantiating new objects inside loops |
| 11628 |
src/weixin/idea/huodong/controller/HuodongController.java |
179 |
System.out.print is used |
| 11629 |
src/weixin/idea/huodong/controller/HuodongController.java |
180 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 11630 |
src/weixin/idea/huodong/controller/HuodongController.java |
202 |
Avoid using if statements without curly braces |
| 11631 |
src/weixin/idea/huodong/controller/HuodongController.java |
202 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 11632 |
src/weixin/idea/huodong/controller/HuodongController.java |
204 |
Avoid instantiating new objects inside loops |
| 11633 |
src/weixin/idea/huodong/controller/HuodongController.java |
206 |
Avoid instantiating new objects inside loops |
| 11634 |
src/weixin/idea/huodong/controller/HuodongController.java |
206 |
Found 'DD'-anomaly for variable 'level' (lines '206'-'206'). |
| 11635 |
src/weixin/idea/huodong/controller/HuodongController.java |
206 |
Found 'DD'-anomaly for variable 'level' (lines '206'-'210'). |
| 11636 |
src/weixin/idea/huodong/controller/HuodongController.java |
206 |
Found 'DU'-anomaly for variable 'level' (lines '206'-'239'). |
| 11637 |
src/weixin/idea/huodong/controller/HuodongController.java |
209 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 11638 |
src/weixin/idea/huodong/controller/HuodongController.java |
217 |
Avoid instantiating new objects inside loops |
| 11639 |
src/weixin/idea/huodong/controller/HuodongController.java |
221 |
Found 'DD'-anomaly for variable 'award' (lines '221'-'221'). |
| 11640 |
src/weixin/idea/huodong/controller/HuodongController.java |
221 |
Found 'DD'-anomaly for variable 'award' (lines '221'-'224'). |
| 11641 |
src/weixin/idea/huodong/controller/HuodongController.java |
221 |
Found 'DU'-anomaly for variable 'award' (lines '221'-'239'). |
| 11642 |
src/weixin/idea/huodong/controller/HuodongController.java |
223 |
Deeply nested if..then statements are hard to read |
| 11643 |
src/weixin/idea/huodong/controller/HuodongController.java |
242 |
Avoid reassigning parameters such as 'huodong' |
| 11644 |
src/weixin/idea/huodong/controller/HuodongController.java |
264 |
Found 'DD'-anomaly for variable 'namearray' (lines '264'-'264'). |
| 11645 |
src/weixin/idea/huodong/controller/HuodongController.java |
264 |
Found 'DU'-anomaly for variable 'namearray' (lines '264'-'283'). |
| 11646 |
src/weixin/idea/huodong/controller/HuodongController.java |
271 |
Use asList instead of tight loops |
| 11647 |
src/weixin/idea/huodong/controller/HuodongController.java |
271 |
Use asList instead of tight loops |
| 11648 |
src/weixin/idea/huodong/controller/HuodongController.java |
276 |
Use asList instead of tight loops |
| 11649 |
src/weixin/idea/huodong/controller/HuodongController.java |
276 |
Use asList instead of tight loops |
| 11650 |
src/weixin/idea/huodong/controller/HuodongController.java |
316 |
Avoid printStackTrace(); use a logger call instead. |
| 11651 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
30 |
Avoid unused private fields such as 'logger'. |
| 11652 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
30 |
Variables that are final and static should be in all caps. |
| 11653 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
33 |
Avoid excessively long variable names like prizeRecordService |
| 11654 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
33 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11655 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11656 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
41 |
Parameter 'message' is not assigned and could be declared final |
| 11657 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
47 |
Parameter 'request' is not assigned and could be declared final |
| 11658 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
49 |
Local variable 'hdId' could be declared final |
| 11659 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
55 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 11660 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
55 |
Parameter 'prizeRecord' is not assigned and could be declared final |
| 11661 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
55 |
Parameter 'request' is not assigned and could be declared final |
| 11662 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
57 |
Local variable 'hdid' could be declared final |
| 11663 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
59 |
Avoid variables with short names like cq |
| 11664 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
59 |
Local variable 'cq' could be declared final |
| 11665 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
71 |
Avoid reassigning parameters such as 'prizeRecord' |
| 11666 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
73 |
Avoid variables with short names like j |
| 11667 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
73 |
Local variable 'j' could be declared final |
| 11668 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
87 |
Avoid variables with short names like j |
| 11669 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
87 |
Local variable 'j' could be declared final |
| 11670 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
90 |
Avoid variables with short names like t |
| 11671 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
96 |
Avoid printStackTrace(); use a logger call instead. |
| 11672 |
src/weixin/idea/huodong/controller/PrizeRecordController.java |
109 |
Avoid reassigning parameters such as 'prizeRecord' |
| 11673 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
30 |
Avoid unused private fields such as 'logger'. |
| 11674 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
30 |
Variables that are final and static should be in all caps. |
| 11675 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
33 |
Avoid excessively long variable names like weixinAwardsAwardService |
| 11676 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
33 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11677 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11678 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
41 |
Parameter 'message' is not assigned and could be declared final |
| 11679 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
47 |
Parameter 'request' is not assigned and could be declared final |
| 11680 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
53 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 11681 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
53 |
Parameter 'request' is not assigned and could be declared final |
| 11682 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
53 |
Parameter 'response' is not assigned and could be declared final |
| 11683 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
55 |
Avoid variables with short names like cq |
| 11684 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
55 |
Local variable 'cq' could be declared final |
| 11685 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
64 |
Avoid reassigning parameters such as 'weixinAwardsAward' |
| 11686 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
66 |
Avoid variables with short names like j |
| 11687 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
66 |
Local variable 'j' could be declared final |
| 11688 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
80 |
Avoid variables with short names like j |
| 11689 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
80 |
Local variable 'j' could be declared final |
| 11690 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
83 |
Avoid variables with short names like t |
| 11691 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
83 |
Local variable 't' could be declared final |
| 11692 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
89 |
Avoid printStackTrace(); use a logger call instead. |
| 11693 |
src/weixin/idea/huodong/controller/WeixinAwardsAwardController.java |
102 |
Avoid reassigning parameters such as 'weixinAwardsAward' |
| 11694 |
src/weixin/idea/huodong/controller/ZpController.java |
33 |
The class 'ZpController' has a Cyclomatic Complexity of 5 (Highest = 13). |
| 11695 |
src/weixin/idea/huodong/controller/ZpController.java |
34 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11696 |
src/weixin/idea/huodong/controller/ZpController.java |
38 |
Parameter 'systemService' is not assigned and could be declared final |
| 11697 |
src/weixin/idea/huodong/controller/ZpController.java |
43 |
Parameter 'request' is not assigned and could be declared final |
| 11698 |
src/weixin/idea/huodong/controller/ZpController.java |
44 |
Found 'DU'-anomaly for variable 'opendId' (lines '44'-'86'). |
| 11699 |
src/weixin/idea/huodong/controller/ZpController.java |
44 |
Local variable 'opendId' could be declared final |
| 11700 |
src/weixin/idea/huodong/controller/ZpController.java |
45 |
Local variable 'accountid' could be declared final |
| 11701 |
src/weixin/idea/huodong/controller/ZpController.java |
47 |
Local variable 'hdlst' could be declared final |
| 11702 |
src/weixin/idea/huodong/controller/ZpController.java |
50 |
Found 'DD'-anomaly for variable 'huodongEntity' (lines '50'-'52'). |
| 11703 |
src/weixin/idea/huodong/controller/ZpController.java |
51 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 11704 |
src/weixin/idea/huodong/controller/ZpController.java |
55 |
Avoid variables with short names like gl |
| 11705 |
src/weixin/idea/huodong/controller/ZpController.java |
55 |
Local variable 'gl' could be declared final |
| 11706 |
src/weixin/idea/huodong/controller/ZpController.java |
56 |
Local variable 'glArr' could be declared final |
| 11707 |
src/weixin/idea/huodong/controller/ZpController.java |
60 |
The String literal "prize" appears 5 times in this file; the first occurrence is on line 60 |
| 11708 |
src/weixin/idea/huodong/controller/ZpController.java |
62 |
The String literal "hdId" appears 8 times in this file; the first occurrence is on line 62 |
| 11709 |
src/weixin/idea/huodong/controller/ZpController.java |
63 |
The String literal "accountid" appears 4 times in this file; the first occurrence is on line 63 |
| 11710 |
src/weixin/idea/huodong/controller/ZpController.java |
64 |
The String literal "opendId" appears 4 times in this file; the first occurrence is on line 64 |
| 11711 |
src/weixin/idea/huodong/controller/ZpController.java |
90 |
Parameter 'request' is not assigned and could be declared final |
| 11712 |
src/weixin/idea/huodong/controller/ZpController.java |
91 |
Found 'DU'-anomaly for variable 'nowTime' (lines '91'-'146'). |
| 11713 |
src/weixin/idea/huodong/controller/ZpController.java |
92 |
Found 'DD'-anomaly for variable 'message' (lines '92'-'123'). |
| 11714 |
src/weixin/idea/huodong/controller/ZpController.java |
92 |
Found 'DD'-anomaly for variable 'message' (lines '92'-'131'). |
| 11715 |
src/weixin/idea/huodong/controller/ZpController.java |
93 |
Avoid variables with short names like j |
| 11716 |
src/weixin/idea/huodong/controller/ZpController.java |
98 |
Found 'DD'-anomaly for variable 'hql' (lines '98'-'101'). |
| 11717 |
src/weixin/idea/huodong/controller/ZpController.java |
98 |
Found 'DD'-anomaly for variable 'hql' (lines '98'-'103'). |
| 11718 |
src/weixin/idea/huodong/controller/ZpController.java |
101 |
Avoid using if...else statements without curly braces |
| 11719 |
src/weixin/idea/huodong/controller/ZpController.java |
101 |
Prefer StringBuffer over += for concatenating strings |
| 11720 |
src/weixin/idea/huodong/controller/ZpController.java |
101 |
The String literal " and accountid='" appears 5 times in this file; the first occurrence is on line 101 |
| 11721 |
src/weixin/idea/huodong/controller/ZpController.java |
103 |
Prefer StringBuffer over += for concatenating strings |
| 11722 |
src/weixin/idea/huodong/controller/ZpController.java |
106 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 11723 |
src/weixin/idea/huodong/controller/ZpController.java |
113 |
Found 'DD'-anomaly for variable 'hql1' (lines '113'-'116'). |
| 11724 |
src/weixin/idea/huodong/controller/ZpController.java |
113 |
Found 'DD'-anomaly for variable 'hql1' (lines '113'-'118'). |
| 11725 |
src/weixin/idea/huodong/controller/ZpController.java |
116 |
Avoid using if...else statements without curly braces |
| 11726 |
src/weixin/idea/huodong/controller/ZpController.java |
116 |
Prefer StringBuffer over += for concatenating strings |
| 11727 |
src/weixin/idea/huodong/controller/ZpController.java |
118 |
Prefer StringBuffer over += for concatenating strings |
| 11728 |
src/weixin/idea/huodong/controller/ZpController.java |
121 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 11729 |
src/weixin/idea/huodong/controller/ZpController.java |
150 |
Parameter 'request' is not assigned and could be declared final |
| 11730 |
src/weixin/idea/huodong/controller/ZpController.java |
150 |
The method 'saveRecord' has a Cyclomatic Complexity of 13. |
| 11731 |
src/weixin/idea/huodong/controller/ZpController.java |
151 |
Avoid variables with short names like j |
| 11732 |
src/weixin/idea/huodong/controller/ZpController.java |
153 |
Found 'DU'-anomaly for variable 'mobile' (lines '153'-'225'). |
| 11733 |
src/weixin/idea/huodong/controller/ZpController.java |
157 |
Found 'DU'-anomaly for variable 'username' (lines '157'-'225'). |
| 11734 |
src/weixin/idea/huodong/controller/ZpController.java |
158 |
Found 'DU'-anomaly for variable 'address' (lines '158'-'225'). |
| 11735 |
src/weixin/idea/huodong/controller/ZpController.java |
159 |
Found 'DU'-anomaly for variable 'awardsid' (lines '159'-'225'). |
| 11736 |
src/weixin/idea/huodong/controller/ZpController.java |
161 |
Found 'DU'-anomaly for variable 'accountid' (lines '161'-'225'). |
| 11737 |
src/weixin/idea/huodong/controller/ZpController.java |
162 |
Found 'DD'-anomaly for variable 'prize' (lines '162'-'166'). |
| 11738 |
src/weixin/idea/huodong/controller/ZpController.java |
163 |
Found 'DD'-anomaly for variable 'hdId' (lines '163'-'170'). |
| 11739 |
src/weixin/idea/huodong/controller/ZpController.java |
164 |
Found 'DD'-anomaly for variable 'opendId' (lines '164'-'174'). |
| 11740 |
src/weixin/idea/huodong/controller/ZpController.java |
164 |
Found 'DU'-anomaly for variable 'opendId' (lines '164'-'225'). |
| 11741 |
src/weixin/idea/huodong/controller/ZpController.java |
174 |
Found 'DU'-anomaly for variable 'opendId' (lines '174'-'225'). |
| 11742 |
src/weixin/idea/huodong/controller/ZpController.java |
176 |
Found 'DU'-anomaly for variable 'nowTime' (lines '176'-'225'). |
| 11743 |
src/weixin/idea/huodong/controller/ZpController.java |
181 |
Avoid if (x != y) ..; else ..; |
| 11744 |
src/weixin/idea/huodong/controller/ZpController.java |
188 |
Found 'DD'-anomaly for variable 'hql1' (lines '188'-'191'). |
| 11745 |
src/weixin/idea/huodong/controller/ZpController.java |
188 |
Found 'DD'-anomaly for variable 'hql1' (lines '188'-'193'). |
| 11746 |
src/weixin/idea/huodong/controller/ZpController.java |
191 |
Avoid using if...else statements without curly braces |
| 11747 |
src/weixin/idea/huodong/controller/ZpController.java |
191 |
Prefer StringBuffer over += for concatenating strings |
| 11748 |
src/weixin/idea/huodong/controller/ZpController.java |
196 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 11749 |
src/weixin/idea/huodong/controller/ZpController.java |
204 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 11750 |
src/weixin/idea/huodong/controller/ZpController.java |
229 |
Parameter 'request' is not assigned and could be declared final |
| 11751 |
src/weixin/idea/huodong/controller/ZpController.java |
230 |
Found 'DU'-anomaly for variable 'nowTime' (lines '230'-'265'). |
| 11752 |
src/weixin/idea/huodong/controller/ZpController.java |
231 |
Avoid variables with short names like j |
| 11753 |
src/weixin/idea/huodong/controller/ZpController.java |
235 |
Found 'DU'-anomaly for variable 'accountid' (lines '235'-'265'). |
| 11754 |
src/weixin/idea/huodong/controller/ZpController.java |
236 |
Found 'DD'-anomaly for variable 'hdId' (lines '236'-'239'). |
| 11755 |
src/weixin/idea/huodong/controller/ZpController.java |
237 |
Found 'DD'-anomaly for variable 'opendId' (lines '237'-'242'). |
| 11756 |
src/weixin/idea/huodong/controller/ZpController.java |
248 |
Avoid variables with short names like hd |
| 11757 |
src/weixin/idea/huodong/controller/ZpController.java |
248 |
Found 'DD'-anomaly for variable 'hd' (lines '248'-'250'). |
| 11758 |
src/weixin/idea/huodong/controller/ZpController.java |
257 |
Avoid if (x != y) ..; else ..; |
| 11759 |
src/weixin/idea/huodong/controller/ZpController.java |
258 |
Avoid using if...else statements without curly braces |
| 11760 |
src/weixin/idea/huodong/controller/ZpController.java |
275 |
Found 'DD'-anomaly for variable 'hdEntity' (lines '275'-'277'). |
| 11761 |
src/weixin/idea/huodong/controller/ZpController.java |
290 |
The method 'doZpPize' has a Cyclomatic Complexity of 12. |
| 11762 |
src/weixin/idea/huodong/controller/ZpController.java |
294 |
Found 'DU'-anomaly for variable 'accountid' (lines '294'-'366'). |
| 11763 |
src/weixin/idea/huodong/controller/ZpController.java |
300 |
Found 'DD'-anomaly for variable 'hql' (lines '300'-'303'). |
| 11764 |
src/weixin/idea/huodong/controller/ZpController.java |
300 |
Found 'DD'-anomaly for variable 'hql' (lines '300'-'305'). |
| 11765 |
src/weixin/idea/huodong/controller/ZpController.java |
303 |
Avoid using if...else statements without curly braces |
| 11766 |
src/weixin/idea/huodong/controller/ZpController.java |
307 |
Found 'DU'-anomaly for variable 'hdRecrdList' (lines '307'-'366'). |
| 11767 |
src/weixin/idea/huodong/controller/ZpController.java |
308 |
Found 'DU'-anomaly for variable 'nowTime' (lines '308'-'366'). |
| 11768 |
src/weixin/idea/huodong/controller/ZpController.java |
328 |
Found 'DD'-anomaly for variable 'hql1' (lines '328'-'331'). |
| 11769 |
src/weixin/idea/huodong/controller/ZpController.java |
328 |
Found 'DD'-anomaly for variable 'hql1' (lines '328'-'333'). |
| 11770 |
src/weixin/idea/huodong/controller/ZpController.java |
372 |
Found 'DU'-anomaly for variable 'mobile' (lines '372'-'408'). |
| 11771 |
src/weixin/idea/huodong/controller/ZpController.java |
378 |
Found 'DD'-anomaly for variable 'hdId' (lines '378'-'384'). |
| 11772 |
src/weixin/idea/huodong/controller/ZpController.java |
379 |
Found 'DD'-anomaly for variable 'openId' (lines '379'-'387'). |
| 11773 |
src/weixin/idea/huodong/controller/ZpController.java |
379 |
Found 'DU'-anomaly for variable 'openId' (lines '379'-'408'). |
| 11774 |
src/weixin/idea/huodong/controller/ZpController.java |
380 |
Avoid unused local variables such as 'prize'. |
| 11775 |
src/weixin/idea/huodong/controller/ZpController.java |
380 |
Found 'DD'-anomaly for variable 'prize' (lines '380'-'390'). |
| 11776 |
src/weixin/idea/huodong/controller/ZpController.java |
380 |
Found 'DU'-anomaly for variable 'prize' (lines '380'-'408'). |
| 11777 |
src/weixin/idea/huodong/controller/ZpController.java |
381 |
Found 'DD'-anomaly for variable 'accountid' (lines '381'-'382'). |
| 11778 |
src/weixin/idea/huodong/controller/ZpController.java |
382 |
Found 'DU'-anomaly for variable 'accountid' (lines '382'-'408'). |
| 11779 |
src/weixin/idea/huodong/controller/ZpController.java |
387 |
Found 'DU'-anomaly for variable 'openId' (lines '387'-'408'). |
| 11780 |
src/weixin/idea/huodong/controller/ZpController.java |
390 |
Found 'DU'-anomaly for variable 'prize' (lines '390'-'408'). |
| 11781 |
src/weixin/idea/huodong/controller/ZpController.java |
392 |
Found 'DU'-anomaly for variable 'nowTime' (lines '392'-'408'). |
| 11782 |
src/weixin/idea/huodong/controller/ZpController.java |
412 |
A method should have only one exit point, and that should be the last statement in the method |
| 11783 |
src/weixin/idea/huodong/controller/ZpController.java |
417 |
A method should have only one exit point, and that should be the last statement in the method |
| 11784 |
src/weixin/idea/huodong/entity/AwardEntity.java |
41 |
Parameter 'name' is not assigned and could be declared final |
| 11785 |
src/weixin/idea/huodong/entity/AwardEntity.java |
56 |
Parameter 'accountId' is not assigned and could be declared final |
| 11786 |
src/weixin/idea/huodong/entity/AwardsLevelEntity.java |
38 |
Parameter 'awardsName' is not assigned and could be declared final |
| 11787 |
src/weixin/idea/huodong/entity/AwardsLevelEntity.java |
47 |
Parameter 'accountid' is not assigned and could be declared final |
| 11788 |
src/weixin/idea/huodong/entity/HdRecordEntity.java |
14 |
Classes implementing Serializable should set a serialVersionUID |
| 11789 |
src/weixin/idea/huodong/entity/HdRecordEntity.java |
17 |
Avoid variables with short names like id |
| 11790 |
src/weixin/idea/huodong/entity/HdRecordEntity.java |
30 |
Parameter 'accountid' is not assigned and could be declared final |
| 11791 |
src/weixin/idea/huodong/entity/HdRecordEntity.java |
43 |
Avoid variables with short names like id |
| 11792 |
src/weixin/idea/huodong/entity/HdRecordEntity.java |
43 |
Parameter 'id' is not assigned and could be declared final |
| 11793 |
src/weixin/idea/huodong/entity/HdRecordEntity.java |
54 |
Parameter 'hdid' is not assigned and could be declared final |
| 11794 |
src/weixin/idea/huodong/entity/HdRecordEntity.java |
65 |
Parameter 'opendid' is not assigned and could be declared final |
| 11795 |
src/weixin/idea/huodong/entity/HdRecordEntity.java |
76 |
Parameter 'total' is not assigned and could be declared final |
| 11796 |
src/weixin/idea/huodong/entity/HuoDongAwardEntity.java |
59 |
Parameter 'amount' is not assigned and could be declared final |
| 11797 |
src/weixin/idea/huodong/entity/HuoDongAwardEntity.java |
68 |
Parameter 'accountid' is not assigned and could be declared final |
| 11798 |
src/weixin/idea/huodong/entity/HuoDongAwardEntity.java |
78 |
Parameter 'awardslevle' is not assigned and could be declared final |
| 11799 |
src/weixin/idea/huodong/entity/HuoDongAwardEntity.java |
88 |
Parameter 'huodongmodel' is not assigned and could be declared final |
| 11800 |
src/weixin/idea/huodong/entity/HuoDongAwardEntity.java |
97 |
Parameter 'awardlist' is not assigned and could be declared final |
| 11801 |
src/weixin/idea/huodong/entity/HuodongEntity.java |
11 |
Avoid unused imports such as 'javax.persistence.JoinColumn' |
| 11802 |
src/weixin/idea/huodong/entity/HuodongEntity.java |
11 |
Avoid unused imports such as 'javax.persistence.JoinColumn' |
| 11803 |
src/weixin/idea/huodong/entity/HuodongEntity.java |
58 |
Avoid variables with short names like gl |
| 11804 |
src/weixin/idea/huodong/entity/HuodongEntity.java |
78 |
Parameter 'accountid' is not assigned and could be declared final |
| 11805 |
src/weixin/idea/huodong/entity/HuodongEntity.java |
89 |
Parameter 'title' is not assigned and could be declared final |
| 11806 |
src/weixin/idea/huodong/entity/HuodongEntity.java |
98 |
Parameter 'description' is not assigned and could be declared final |
| 11807 |
src/weixin/idea/huodong/entity/HuodongEntity.java |
107 |
Parameter 'starttime' is not assigned and could be declared final |
| 11808 |
src/weixin/idea/huodong/entity/HuodongEntity.java |
116 |
Parameter 'endtime' is not assigned and could be declared final |
| 11809 |
src/weixin/idea/huodong/entity/HuodongEntity.java |
134 |
Avoid variables with short names like gl |
| 11810 |
src/weixin/idea/huodong/entity/PrizeRecordEntity.java |
17 |
Classes implementing Serializable should set a serialVersionUID |
| 11811 |
src/weixin/idea/huodong/entity/PrizeRecordEntity.java |
20 |
Avoid variables with short names like id |
| 11812 |
src/weixin/idea/huodong/entity/PrizeRecordEntity.java |
38 |
Parameter 'accountid' is not assigned and could be declared final |
| 11813 |
src/weixin/idea/huodong/entity/PrizeRecordEntity.java |
51 |
Avoid variables with short names like id |
| 11814 |
src/weixin/idea/huodong/entity/PrizeRecordEntity.java |
51 |
Parameter 'id' is not assigned and could be declared final |
| 11815 |
src/weixin/idea/huodong/entity/PrizeRecordEntity.java |
62 |
Parameter 'hdid' is not assigned and could be declared final |
| 11816 |
src/weixin/idea/huodong/entity/PrizeRecordEntity.java |
73 |
Parameter 'mobile' is not assigned and could be declared final |
| 11817 |
src/weixin/idea/huodong/entity/PrizeRecordEntity.java |
85 |
Parameter 'prize' is not assigned and could be declared final |
| 11818 |
src/weixin/idea/huodong/entity/WeixinAwardsAwardEntity.java |
38 |
Avoid excessively long variable names like huoDongAwardEntity |
| 11819 |
src/weixin/idea/huodong/entity/WeixinAwardsAwardEntity.java |
45 |
Parameter 'accountid' is not assigned and could be declared final |
| 11820 |
src/weixin/idea/huodong/entity/WeixinAwardsAwardEntity.java |
55 |
Parameter 'awardslevle' is not assigned and could be declared final |
| 11821 |
src/weixin/idea/huodong/entity/WeixinAwardsAwardEntity.java |
65 |
Parameter 'huodongmodel' is not assigned and could be declared final |
| 11822 |
src/weixin/idea/huodong/entity/WeixinAwardsAwardEntity.java |
75 |
Parameter 'awardmodel' is not assigned and could be declared final |
| 11823 |
src/weixin/idea/huodong/entity/WeixinAwardsAwardEntity.java |
91 |
Avoid excessively long variable names like huoDongAwardEntity |
| 11824 |
src/weixin/idea/huodong/entity/WeixinAwardsAwardEntity.java |
91 |
Parameter 'huoDongAwardEntity' is not assigned and could be declared final |
| 11825 |
src/weixin/idea/huodong/service/AwardServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 11826 |
src/weixin/idea/huodong/service/AwardsLevelServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 11827 |
src/weixin/idea/huodong/service/HdRecordServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 11828 |
src/weixin/idea/huodong/service/HuoDongAwardServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 11829 |
src/weixin/idea/huodong/service/HuodongServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 11830 |
src/weixin/idea/huodong/service/PrizeRecordServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 11831 |
src/weixin/idea/huodong/service/WeixinAwardsAwardServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 11832 |
src/weixin/idea/huodong/service/impl/AwardServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 11833 |
src/weixin/idea/huodong/service/impl/AwardsLevelServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 11834 |
src/weixin/idea/huodong/service/impl/HdRecordServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 11835 |
src/weixin/idea/huodong/service/impl/HuoDongAwardServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 11836 |
src/weixin/idea/huodong/service/impl/HuodongServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 11837 |
src/weixin/idea/huodong/service/impl/PrizeRecordServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 11838 |
src/weixin/idea/huodong/service/impl/WeixinAwardsAwardServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 11839 |
src/weixin/idea/huodong/utils/AwardInfoVO.java |
20 |
Parameter 'hdid' is not assigned and could be declared final |
| 11840 |
src/weixin/idea/huodong/utils/AwardInfoVO.java |
28 |
Parameter 'awardsid' is not assigned and could be declared final |
| 11841 |
src/weixin/idea/huodong/utils/AwardInfoVO.java |
36 |
Parameter 'awardsname' is not assigned and could be declared final |
| 11842 |
src/weixin/idea/huodong/utils/AwardInfoVO.java |
44 |
Parameter 'awardidlist' is not assigned and could be declared final |
| 11843 |
src/weixin/idea/huodong/utils/AwardInfoVO.java |
52 |
Parameter 'awardnamelist' is not assigned and could be declared final |
| 11844 |
src/weixin/idea/huodong/utils/HdUtils.java |
4 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 11845 |
src/weixin/idea/huodong/utils/HdUtils.java |
5 |
Avoid variables with short names like fm |
| 11846 |
src/weixin/idea/huodong/utils/HdUtils.java |
5 |
Avoid variables with short names like fz |
| 11847 |
src/weixin/idea/huodong/utils/HdUtils.java |
5 |
Parameter 'fm' is not assigned and could be declared final |
| 11848 |
src/weixin/idea/huodong/utils/HdUtils.java |
5 |
Parameter 'fz' is not assigned and could be declared final |
| 11849 |
src/weixin/idea/huodong/utils/HdUtils.java |
7 |
Found 'DD'-anomaly for variable 'randomNum' (lines '7'-'9'). |
| 11850 |
src/weixin/idea/huodong/utils/HdUtils.java |
11 |
A method should have only one exit point, and that should be the last statement in the method |
| 11851 |
src/weixin/idea/huodong/utils/HdUtils.java |
17 |
Avoid variables with short names like fm |
| 11852 |
src/weixin/idea/huodong/utils/HdUtils.java |
17 |
Avoid variables with short names like fz |
| 11853 |
src/weixin/idea/huodong/utils/HdUtils.java |
17 |
Parameter 'fm' is not assigned and could be declared final |
| 11854 |
src/weixin/idea/huodong/utils/HdUtils.java |
17 |
Parameter 'fz' is not assigned and could be declared final |
| 11855 |
src/weixin/idea/huodong/utils/HdUtils.java |
17 |
Parameter 'num' is not assigned and could be declared final |
| 11856 |
src/weixin/idea/huodong/utils/HdUtils.java |
18 |
Found 'DD'-anomaly for variable 'randomNum' (lines '18'-'20'). |
| 11857 |
src/weixin/idea/huodong/utils/HdUtils.java |
20 |
Found 'DD'-anomaly for variable 'randomNum' (lines '20'-'20'). |
| 11858 |
src/weixin/idea/huodong/utils/HdUtils.java |
23 |
A method should have only one exit point, and that should be the last statement in the method |
| 11859 |
src/weixin/idea/photo/common/PhotoConstant.java |
3 |
An Interface should be used only to model a behaviour; consider converting this to a class. |
| 11860 |
src/weixin/idea/photo/common/PhotoConstant.java |
3 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 11861 |
src/weixin/idea/photo/common/PhotoConstant.java |
3 |
This abstract class does not have any abstract methods |
| 11862 |
src/weixin/idea/photo/common/PhotoConstant.java |
5 |
Avoid modifiers which are implied by the context |
| 11863 |
src/weixin/idea/photo/common/PhotoConstant.java |
6 |
Avoid excessively long variable names like PHOTO_DEFAULT_STYLE |
| 11864 |
src/weixin/idea/photo/common/PhotoConstant.java |
6 |
Avoid modifiers which are implied by the context |
| 11865 |
src/weixin/idea/photo/common/PhotoConstant.java |
7 |
Avoid modifiers which are implied by the context |
| 11866 |
src/weixin/idea/photo/common/PhotoConstant.java |
8 |
Avoid modifiers which are implied by the context |
| 11867 |
src/weixin/idea/photo/common/PhotoConstant.java |
8 |
Variables that are final and static should be in all caps. |
| 11868 |
src/weixin/idea/photo/common/PhotoConstant.java |
9 |
Avoid modifiers which are implied by the context |
| 11869 |
src/weixin/idea/photo/common/PhotoConstant.java |
9 |
Variables that are final and static should be in all caps. |
| 11870 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 11871 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
9 |
Avoid unused imports such as 'javax.servlet.ServletContext' |
| 11872 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
9 |
Avoid unused imports such as 'javax.servlet.ServletContext' |
| 11873 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
12 |
Avoid unused imports such as 'javax.servlet.http.HttpSession' |
| 11874 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
12 |
Avoid unused imports such as 'javax.servlet.http.HttpSession' |
| 11875 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
35 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11876 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
35 |
Avoid unused imports such as 'weixin.guanjia.account.entity.WeixinAccountEntity' |
| 11877 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
46 |
This class has too many methods, consider refactoring it. |
| 11878 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
47 |
Avoid unused private fields such as 'logger'. |
| 11879 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
47 |
Variables that are final and static should be in all caps. |
| 11880 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
50 |
Avoid excessively long variable names like weixinPhotoAlbumService |
| 11881 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
50 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11882 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
53 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11883 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
58 |
Parameter 'message' is not assigned and could be declared final |
| 11884 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
63 |
Parameter 'request' is not assigned and could be declared final |
| 11885 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
65 |
Local variable 'params' could be declared final |
| 11886 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
67 |
Avoid variables with short names like em |
| 11887 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
67 |
Local variable 'em' could be declared final |
| 11888 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
69 |
Local variable 'paramName' could be declared final |
| 11889 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
70 |
Local variable 'paramValue' could be declared final |
| 11890 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
74 |
The String literal "accountid" appears 5 times in this file; the first occurrence is on line 74 |
| 11891 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
81 |
Parameter 'page' is not assigned and could be declared final |
| 11892 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
81 |
Parameter 'request' is not assigned and could be declared final |
| 11893 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
81 |
Parameter 'response' is not assigned and could be declared final |
| 11894 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
83 |
Local variable 'params' could be declared final |
| 11895 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
85 |
Found 'DD'-anomaly for variable 'styleUrl' (lines '85'-'91'). |
| 11896 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
85 |
Found 'DD'-anomaly for variable 'styleUrl' (lines '85'-'95'). |
| 11897 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
86 |
Avoid unused local variables such as 'baseUrl'. |
| 11898 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
86 |
Found 'DU'-anomaly for variable 'baseUrl' (lines '86'-'135'). |
| 11899 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
90 |
Avoid if (x != y) ..; else ..; |
| 11900 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
91 |
Prefer StringBuffer over += for concatenating strings |
| 11901 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
95 |
Prefer StringBuffer over += for concatenating strings |
| 11902 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
105 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 11903 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
110 |
Avoid excessively long variable names like cmsFreemarkerHelper |
| 11904 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
114 |
Found 'DD'-anomaly for variable 'writer' (lines '114'-'116'). |
| 11905 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
120 |
Avoid using if statements without curly braces |
| 11906 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
125 |
Avoid printStackTrace(); use a logger call instead. |
| 11907 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
127 |
Avoid using if statements without curly braces |
| 11908 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
132 |
Avoid using if statements without curly braces |
| 11909 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
140 |
Avoid variables with short names like cq |
| 11910 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
151 |
Avoid reassigning parameters such as 'weixinPhotoAlbum' |
| 11911 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
153 |
Avoid variables with short names like j |
| 11912 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
154 |
Avoid variables with short names like id |
| 11913 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
170 |
Avoid reassigning parameters such as 'weixinPhoto' |
| 11914 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
172 |
Avoid variables with short names like j |
| 11915 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
189 |
Found 'DD'-anomaly for variable 'albumId' (lines '189'-'192'). |
| 11916 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
189 |
Found 'DD'-anomaly for variable 'albumId' (lines '189'-'206'). |
| 11917 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
199 |
Avoid printStackTrace(); use a logger call instead. |
| 11918 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
211 |
The String literal "albumId" appears 4 times in this file; the first occurrence is on line 211 |
| 11919 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
227 |
Avoid printStackTrace(); use a logger call instead. |
| 11920 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
236 |
Avoid reassigning parameters such as 'weixinPhotoAlbum' |
| 11921 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
246 |
Avoid reassigning parameters such as 'weixinPhoto' |
| 11922 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
269 |
Avoid if (x != y) ..; else ..; |
| 11923 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
270 |
Avoid using if...else statements without curly braces |
| 11924 |
src/weixin/idea/photo/controller/FrontPhotoAlbumController.java |
281 |
Avoid reassigning parameters such as 'photo' |
| 11925 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
36 |
This class has too many methods, consider refactoring it. |
| 11926 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
37 |
Avoid unused private fields such as 'logger'. |
| 11927 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
37 |
Variables that are final and static should be in all caps. |
| 11928 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
40 |
Avoid excessively long variable names like weixinPhotoAlbumService |
| 11929 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
40 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11930 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
43 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 11931 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
48 |
Parameter 'message' is not assigned and could be declared final |
| 11932 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
54 |
Parameter 'request' is not assigned and could be declared final |
| 11933 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
54 |
Parameter 'weixinPhotoAlbum' is not assigned and could be declared final |
| 11934 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
56 |
Avoid variables with short names like cq |
| 11935 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
56 |
Local variable 'cq' could be declared final |
| 11936 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
61 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 11937 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
61 |
Local variable 'albums' could be declared final |
| 11938 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
67 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 11939 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
67 |
Parameter 'request' is not assigned and could be declared final |
| 11940 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
69 |
Avoid variables with short names like cq |
| 11941 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
69 |
Local variable 'cq' could be declared final |
| 11942 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
80 |
Avoid reassigning parameters such as 'weixinPhotoAlbum' |
| 11943 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
82 |
Avoid variables with short names like j |
| 11944 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
82 |
Local variable 'j' could be declared final |
| 11945 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
83 |
Avoid variables with short names like id |
| 11946 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
83 |
Local variable 'id' could be declared final |
| 11947 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
99 |
Avoid reassigning parameters such as 'weixinPhoto' |
| 11948 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
101 |
Avoid variables with short names like j |
| 11949 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
118 |
Found 'DD'-anomaly for variable 'albumId' (lines '118'-'121'). |
| 11950 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
118 |
Found 'DD'-anomaly for variable 'albumId' (lines '118'-'135'). |
| 11951 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
128 |
Avoid printStackTrace(); use a logger call instead. |
| 11952 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
140 |
The String literal "albumId" appears 4 times in this file; the first occurrence is on line 140 |
| 11953 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
156 |
Avoid printStackTrace(); use a logger call instead. |
| 11954 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
165 |
Avoid reassigning parameters such as 'weixinPhotoAlbum' |
| 11955 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
175 |
Avoid reassigning parameters such as 'weixinPhoto' |
| 11956 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
198 |
Avoid if (x != y) ..; else ..; |
| 11957 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
199 |
Avoid using if...else statements without curly braces |
| 11958 |
src/weixin/idea/photo/controller/WeixinPhotoAlbumController.java |
210 |
Avoid reassigning parameters such as 'photo' |
| 11959 |
src/weixin/idea/photo/entity/WeixinPhotoAlbumEntity.java |
23 |
Classes implementing Serializable should set a serialVersionUID |
| 11960 |
src/weixin/idea/photo/entity/WeixinPhotoAlbumEntity.java |
26 |
Avoid variables with short names like id |
| 11961 |
src/weixin/idea/photo/entity/WeixinPhotoAlbumEntity.java |
46 |
Avoid variables with short names like id |
| 11962 |
src/weixin/idea/photo/entity/WeixinPhotoAlbumEntity.java |
46 |
Parameter 'id' is not assigned and could be declared final |
| 11963 |
src/weixin/idea/photo/entity/WeixinPhotoAlbumEntity.java |
57 |
Parameter 'name' is not assigned and could be declared final |
| 11964 |
src/weixin/idea/photo/entity/WeixinPhotoAlbumEntity.java |
68 |
Parameter 'content' is not assigned and could be declared final |
| 11965 |
src/weixin/idea/photo/entity/WeixinPhotoAlbumEntity.java |
79 |
Parameter 'accountid' is not assigned and could be declared final |
| 11966 |
src/weixin/idea/photo/entity/WeixinPhotoAlbumEntity.java |
90 |
Parameter 'createDate' is not assigned and could be declared final |
| 11967 |
src/weixin/idea/photo/entity/WeixinPhotoEntity.java |
17 |
Classes implementing Serializable should set a serialVersionUID |
| 11968 |
src/weixin/idea/photo/entity/WeixinPhotoEntity.java |
35 |
Parameter 'album' is not assigned and could be declared final |
| 11969 |
src/weixin/idea/photo/entity/WeixinPhotoEntity.java |
45 |
Parameter 'name' is not assigned and could be declared final |
| 11970 |
src/weixin/idea/photo/entity/WeixinPhotoEntity.java |
56 |
Parameter 'content' is not assigned and could be declared final |
| 11971 |
src/weixin/idea/photo/entity/WeixinPhotoEntity.java |
67 |
Parameter 'createDate' is not assigned and could be declared final |
| 11972 |
src/weixin/idea/photo/entity/WeixinPhotoEntity.java |
78 |
Parameter 'createBy' is not assigned and could be declared final |
| 11973 |
src/weixin/idea/photo/service/WeixinPhotoAlbumServiceI.java |
9 |
Avoid modifiers which are implied by the context |
| 11974 |
src/weixin/idea/photo/service/WeixinPhotoAlbumServiceI.java |
11 |
Avoid excessively long variable names like paramWeixinPhotoAlbumEntity |
| 11975 |
src/weixin/idea/photo/service/WeixinPhotoAlbumServiceI.java |
11 |
Avoid modifiers which are implied by the context |
| 11976 |
src/weixin/idea/photo/service/impl/WeixinPhotoAlbumServiceImpl.java |
5 |
Avoid unused imports such as 'javax.servlet.ServletContext' |
| 11977 |
src/weixin/idea/photo/service/impl/WeixinPhotoAlbumServiceImpl.java |
5 |
Avoid unused imports such as 'javax.servlet.ServletContext' |
| 11978 |
src/weixin/idea/photo/service/impl/WeixinPhotoAlbumServiceImpl.java |
6 |
Avoid unused imports such as 'javax.servlet.http.HttpSession' |
| 11979 |
src/weixin/idea/photo/service/impl/WeixinPhotoAlbumServiceImpl.java |
6 |
Avoid unused imports such as 'javax.servlet.http.HttpSession' |
| 11980 |
src/weixin/idea/photo/service/impl/WeixinPhotoAlbumServiceImpl.java |
7 |
Avoid unused imports such as 'org.jeecgframework.core.common.dao.ICommonDao' |
| 11981 |
src/weixin/idea/photo/service/impl/WeixinPhotoAlbumServiceImpl.java |
7 |
Avoid unused imports such as 'org.jeecgframework.core.common.dao.ICommonDao' |
| 11982 |
src/weixin/idea/photo/service/impl/WeixinPhotoAlbumServiceImpl.java |
22 |
Parameter 'file' is not assigned and could be declared final |
| 11983 |
src/weixin/idea/photo/service/impl/WeixinPhotoAlbumServiceImpl.java |
23 |
Local variable 'sql' could be declared final |
| 11984 |
src/weixin/idea/photo/service/impl/WeixinPhotoAlbumServiceImpl.java |
24 |
Local variable 'attachmentMap' could be declared final |
| 11985 |
src/weixin/idea/photo/service/impl/WeixinPhotoAlbumServiceImpl.java |
27 |
Local variable 'realpath' could be declared final |
| 11986 |
src/weixin/idea/photo/service/impl/WeixinPhotoAlbumServiceImpl.java |
28 |
Local variable 'fileName' could be declared final |
| 11987 |
src/weixin/idea/photo/service/impl/WeixinPhotoAlbumServiceImpl.java |
30 |
Local variable 'realPath' could be declared final |
| 11988 |
src/weixin/idea/photo/service/impl/WeixinPhotoAlbumServiceImpl.java |
39 |
Parameter 'weixinPhotoAlbum' is not assigned and could be declared final |
| 11989 |
src/weixin/idea/photo/service/impl/WeixinPhotoAlbumServiceImpl.java |
41 |
Found 'DU'-anomaly for variable 'sql' (lines '41'-'59'). |
| 11990 |
src/weixin/idea/photo/service/impl/WeixinPhotoAlbumServiceImpl.java |
44 |
Avoid instantiating new objects inside loops |
| 11991 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 11992 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
7 |
Avoid unused imports such as 'java.io.InputStream' |
| 11993 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
7 |
Avoid unused imports such as 'java.io.InputStream' |
| 11994 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
12 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 11995 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
12 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 11996 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
13 |
Avoid unused imports such as 'javax.servlet.ServletContext' |
| 11997 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
13 |
Avoid unused imports such as 'javax.servlet.ServletContext' |
| 11998 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
16 |
Avoid unused imports such as 'javax.servlet.http.HttpSession' |
| 11999 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
16 |
Avoid unused imports such as 'javax.servlet.http.HttpSession' |
| 12000 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
37 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 12001 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
37 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 12002 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
60 |
This class has too many methods, consider refactoring it. |
| 12003 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
61 |
Variables that are final and static should be in all caps. |
| 12004 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
65 |
Avoid excessively long variable names like weixinQrcodeService |
| 12005 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
65 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12006 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
68 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12007 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
71 |
Avoid excessively long variable names like weixinQrcodeSceneService |
| 12008 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
71 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12009 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
74 |
Avoid excessively long variable names like weixinAccountService |
| 12010 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
74 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12011 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
81 |
Parameter 'message' is not assigned and could be declared final |
| 12012 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
87 |
Parameter 'request' is not assigned and could be declared final |
| 12013 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
88 |
Avoid reassigning parameters such as 'weixinQrcode' |
| 12014 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
89 |
Avoid variables with short names like j |
| 12015 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
89 |
Local variable 'j' could be declared final |
| 12016 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
90 |
Local variable 'qrCode' could be declared final |
| 12017 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
91 |
Local variable 'scene' could be declared final |
| 12018 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
92 |
Local variable 'actionInfo' could be declared final |
| 12019 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
100 |
Avoid if (x != y) ..; else ..; |
| 12020 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
114 |
Local variable 'jsonQrcode' could be declared final |
| 12021 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
123 |
Avoid if (x != y) ..; else ..; |
| 12022 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
149 |
Parameter 'request' is not assigned and could be declared final |
| 12023 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
154 |
Parameter 'weixinQrcode' is not assigned and could be declared final |
| 12024 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
155 |
Parameter 'request' is not assigned and could be declared final |
| 12025 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
157 |
Avoid variables with short names like cq |
| 12026 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
163 |
New exception is thrown in catch block, original stack trace may be lost |
| 12027 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
172 |
Avoid reassigning parameters such as 'weixinQrcode' |
| 12028 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
174 |
Avoid variables with short names like j |
| 12029 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
174 |
Found 'DU'-anomaly for variable 'j' (lines '174'-'189'). |
| 12030 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
183 |
Avoid printStackTrace(); use a logger call instead. |
| 12031 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
185 |
New exception is thrown in catch block, original stack trace may be lost |
| 12032 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
194 |
Avoid variables with short names like j |
| 12033 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
194 |
Found 'DU'-anomaly for variable 'j' (lines '194'-'212'). |
| 12034 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
206 |
Avoid printStackTrace(); use a logger call instead. |
| 12035 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
208 |
New exception is thrown in catch block, original stack trace may be lost |
| 12036 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
218 |
Avoid variables with short names like j |
| 12037 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
218 |
Found 'DU'-anomaly for variable 'j' (lines '218'-'231'). |
| 12038 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
225 |
Avoid printStackTrace(); use a logger call instead. |
| 12039 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
227 |
New exception is thrown in catch block, original stack trace may be lost |
| 12040 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
237 |
Found 'DU'-anomaly for variable 'j' (lines '237'-'253'). |
| 12041 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
247 |
Avoid printStackTrace(); use a logger call instead. |
| 12042 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
249 |
New exception is thrown in catch block, original stack trace may be lost |
| 12043 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
256 |
Avoid reassigning parameters such as 'weixinQrcode' |
| 12044 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
271 |
Avoid reassigning parameters such as 'weixinQrcode' |
| 12045 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
291 |
Avoid reassigning parameters such as 'weixinQrcode' |
| 12046 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
300 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '300'-'310'). |
| 12047 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
300 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '300'-'312'). |
| 12048 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
301 |
Found 'DD'-anomaly for variable 'fOut' (lines '301'-'329'). |
| 12049 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
309 |
Avoid if (x != y) ..; else ..; |
| 12050 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
310 |
Avoid using if...else statements without curly braces |
| 12051 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
310 |
The String literal "¶þάÂëÐÅÏ¢" appears 4 times in this file; the first occurrence is on line 310 |
| 12052 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
317 |
The String literal "content-disposition" appears 6 times in this file; the first occurrence is on line 317 |
| 12053 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
318 |
The String literal "attachment;filename=" appears 6 times in this file; the first occurrence is on line 318 |
| 12054 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
319 |
The String literal "UTF-8" appears 6 times in this file; the first occurrence is on line 319 |
| 12055 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
331 |
Avoid assignments in operands |
| 12056 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
331 |
Avoid using while statements without curly braces |
| 12057 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
331 |
Found 'DU'-anomaly for variable 'bytesRead' (lines '331'-'342'). |
| 12058 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
334 |
Avoid printStackTrace(); use a logger call instead. |
| 12059 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
339 |
Avoid empty catch blocks |
| 12060 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
349 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '349'-'352'). |
| 12061 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
350 |
Found 'DD'-anomaly for variable 'fOut' (lines '350'-'380'). |
| 12062 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
359 |
The String literal ".xls" appears 4 times in this file; the first occurrence is on line 359 |
| 12063 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
368 |
Found 'DD'-anomaly for variable 'workbook' (lines '368'-'376'). |
| 12064 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
375 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12065 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
382 |
Avoid empty catch blocks |
| 12066 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
387 |
Avoid empty catch blocks |
| 12067 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
397 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '397'-'400'). |
| 12068 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
398 |
Found 'DD'-anomaly for variable 'fOut' (lines '398'-'421'). |
| 12069 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
416 |
Found 'DD'-anomaly for variable 'workbook' (lines '416'-'417'). |
| 12070 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
423 |
Avoid empty catch blocks |
| 12071 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
428 |
Avoid empty catch blocks |
| 12072 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
443 |
Avoid instantiating new objects inside loops |
| 12073 |
src/weixin/idea/qrcode/controller/WeixinQrcodeController.java |
448 |
Avoid excessively long variable names like listWeixinQrcodeEntitys |
| 12074 |
src/weixin/idea/qrcode/controller/WeixinQrcodeScanRecordController.java |
28 |
Avoid unused private fields such as 'logger'. |
| 12075 |
src/weixin/idea/qrcode/controller/WeixinQrcodeScanRecordController.java |
28 |
Variables that are final and static should be in all caps. |
| 12076 |
src/weixin/idea/qrcode/controller/WeixinQrcodeScanRecordController.java |
31 |
Avoid excessively long variable names like weixinQrcodeScanRecordService |
| 12077 |
src/weixin/idea/qrcode/controller/WeixinQrcodeScanRecordController.java |
31 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12078 |
src/weixin/idea/qrcode/controller/WeixinQrcodeScanRecordController.java |
34 |
Avoid unused private fields such as 'systemService'. |
| 12079 |
src/weixin/idea/qrcode/controller/WeixinQrcodeScanRecordController.java |
37 |
Avoid excessively long variable names like weixinAccountService |
| 12080 |
src/weixin/idea/qrcode/controller/WeixinQrcodeScanRecordController.java |
37 |
Avoid unused private fields such as 'weixinAccountService'. |
| 12081 |
src/weixin/idea/qrcode/controller/WeixinQrcodeScanRecordController.java |
42 |
Parameter 'message' is not assigned and could be declared final |
| 12082 |
src/weixin/idea/qrcode/controller/WeixinQrcodeScanRecordController.java |
48 |
Parameter 'request' is not assigned and could be declared final |
| 12083 |
src/weixin/idea/qrcode/controller/WeixinQrcodeScanRecordController.java |
52 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 12084 |
src/weixin/idea/qrcode/controller/WeixinQrcodeScanRecordController.java |
52 |
Parameter 'request' is not assigned and could be declared final |
| 12085 |
src/weixin/idea/qrcode/controller/WeixinQrcodeScanRecordController.java |
52 |
Parameter 'response' is not assigned and could be declared final |
| 12086 |
src/weixin/idea/qrcode/controller/WeixinQrcodeScanRecordController.java |
53 |
Avoid variables with short names like cq |
| 12087 |
src/weixin/idea/qrcode/controller/WeixinQrcodeScanRecordController.java |
53 |
Local variable 'cq' could be declared final |
| 12088 |
src/weixin/idea/qrcode/controller/WeixinQrcodeScanRecordController.java |
60 |
New exception is thrown in catch block, original stack trace may be lost |
| 12089 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 12090 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
4 |
Avoid unused imports such as 'java.io.InputStream' |
| 12091 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
4 |
Avoid unused imports such as 'java.io.InputStream' |
| 12092 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
9 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 12093 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
9 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 12094 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
31 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 12095 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
31 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 12096 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
47 |
This class has too many methods, consider refactoring it. |
| 12097 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
48 |
Variables that are final and static should be in all caps. |
| 12098 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
52 |
Avoid excessively long variable names like weixinQrcodeSceneService |
| 12099 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
52 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12100 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
55 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12101 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
62 |
Parameter 'message' is not assigned and could be declared final |
| 12102 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
67 |
Parameter 'request' is not assigned and could be declared final |
| 12103 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
72 |
Parameter 'weixinQrcodeScene' is not assigned and could be declared final |
| 12104 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
73 |
Parameter 'request' is not assigned and could be declared final |
| 12105 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
73 |
Parameter 'response' is not assigned and could be declared final |
| 12106 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
75 |
Avoid variables with short names like cq |
| 12107 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
75 |
Local variable 'cq' could be declared final |
| 12108 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
83 |
New exception is thrown in catch block, original stack trace may be lost |
| 12109 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
92 |
Avoid reassigning parameters such as 'weixinQrcodeScene' |
| 12110 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
94 |
Avoid variables with short names like j |
| 12111 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
94 |
Found 'DU'-anomaly for variable 'j' (lines '94'-'110'). |
| 12112 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
94 |
Local variable 'j' could be declared final |
| 12113 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
104 |
Avoid printStackTrace(); use a logger call instead. |
| 12114 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
106 |
New exception is thrown in catch block, original stack trace may be lost |
| 12115 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
115 |
Avoid variables with short names like j |
| 12116 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
115 |
Found 'DU'-anomaly for variable 'j' (lines '115'-'133'). |
| 12117 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
115 |
Local variable 'j' could be declared final |
| 12118 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
119 |
Local variable 'weixinQrcodeScene' could be declared final |
| 12119 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
127 |
Avoid printStackTrace(); use a logger call instead. |
| 12120 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
129 |
New exception is thrown in catch block, original stack trace may be lost |
| 12121 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
139 |
Avoid variables with short names like j |
| 12122 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
139 |
Found 'DU'-anomaly for variable 'j' (lines '139'-'160'). |
| 12123 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
139 |
Local variable 'j' could be declared final |
| 12124 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
146 |
Avoid if (x != y) ..; else ..; |
| 12125 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
146 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 12126 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
154 |
Avoid printStackTrace(); use a logger call instead. |
| 12127 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
156 |
New exception is thrown in catch block, original stack trace may be lost |
| 12128 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
166 |
Avoid variables with short names like j |
| 12129 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
166 |
Found 'DU'-anomaly for variable 'j' (lines '166'-'182'). |
| 12130 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
176 |
Avoid printStackTrace(); use a logger call instead. |
| 12131 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
178 |
New exception is thrown in catch block, original stack trace may be lost |
| 12132 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
185 |
Avoid reassigning parameters such as 'weixinQrcodeScene' |
| 12133 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
197 |
Avoid reassigning parameters such as 'weixinQrcodeScene' |
| 12134 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
218 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '218'-'221'). |
| 12135 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
219 |
Found 'DD'-anomaly for variable 'fOut' (lines '219'-'249'). |
| 12136 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
225 |
The String literal "content-disposition" appears 4 times in this file; the first occurrence is on line 225 |
| 12137 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
226 |
The String literal "attachment;filename=" appears 4 times in this file; the first occurrence is on line 226 |
| 12138 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
227 |
The String literal "UTF-8" appears 4 times in this file; the first occurrence is on line 227 |
| 12139 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
228 |
The String literal ".xls" appears 4 times in this file; the first occurrence is on line 228 |
| 12140 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
237 |
Found 'DD'-anomaly for variable 'workbook' (lines '237'-'245'). |
| 12141 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
243 |
Avoid excessively long variable names like weixinQrcodeScenes |
| 12142 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
244 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12143 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
251 |
Avoid empty catch blocks |
| 12144 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
256 |
Avoid empty catch blocks |
| 12145 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
266 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '266'-'269'). |
| 12146 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
267 |
Found 'DD'-anomaly for variable 'fOut' (lines '267'-'290'). |
| 12147 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
285 |
Found 'DD'-anomaly for variable 'workbook' (lines '285'-'286'). |
| 12148 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
292 |
Avoid empty catch blocks |
| 12149 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
297 |
Avoid empty catch blocks |
| 12150 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
312 |
Avoid instantiating new objects inside loops |
| 12151 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
317 |
Avoid excessively long variable names like listWeixinQrcodeSceneEntitys |
| 12152 |
src/weixin/idea/qrcode/controller/WeixinQrcodeSceneController.java |
332 |
Avoid printStackTrace(); use a logger call instead. |
| 12153 |
src/weixin/idea/qrcode/entity/WeixinQrcodeEntity.java |
15 |
Classes implementing Serializable should set a serialVersionUID |
| 12154 |
src/weixin/idea/qrcode/entity/WeixinQrcodeEntity.java |
18 |
Avoid variables with short names like id |
| 12155 |
src/weixin/idea/qrcode/entity/WeixinQrcodeEntity.java |
47 |
Avoid variables with short names like id |
| 12156 |
src/weixin/idea/qrcode/entity/WeixinQrcodeEntity.java |
47 |
Parameter 'id' is not assigned and could be declared final |
| 12157 |
src/weixin/idea/qrcode/entity/WeixinQrcodeEntity.java |
58 |
Parameter 'createName' is not assigned and could be declared final |
| 12158 |
src/weixin/idea/qrcode/entity/WeixinQrcodeEntity.java |
69 |
Parameter 'createDate' is not assigned and could be declared final |
| 12159 |
src/weixin/idea/qrcode/entity/WeixinQrcodeEntity.java |
80 |
Parameter 'updateName' is not assigned and could be declared final |
| 12160 |
src/weixin/idea/qrcode/entity/WeixinQrcodeEntity.java |
91 |
Parameter 'updateDate' is not assigned and could be declared final |
| 12161 |
src/weixin/idea/qrcode/entity/WeixinQrcodeScanRecord.java |
15 |
Avoid variables with short names like id |
| 12162 |
src/weixin/idea/qrcode/entity/WeixinQrcodeScanRecord.java |
33 |
Avoid variables with short names like id |
| 12163 |
src/weixin/idea/qrcode/entity/WeixinQrcodeScanRecord.java |
33 |
Parameter 'id' is not assigned and could be declared final |
| 12164 |
src/weixin/idea/qrcode/entity/WeixinQrcodeScanRecord.java |
41 |
Parameter 'scenevalue' is not assigned and could be declared final |
| 12165 |
src/weixin/idea/qrcode/entity/WeixinQrcodeScanRecord.java |
48 |
Parameter 'scenekey' is not assigned and could be declared final |
| 12166 |
src/weixin/idea/qrcode/entity/WeixinQrcodeScanRecord.java |
55 |
Parameter 'imageurl' is not assigned and could be declared final |
| 12167 |
src/weixin/idea/qrcode/entity/WeixinQrcodeScanRecord.java |
62 |
Parameter 'openid' is not assigned and could be declared final |
| 12168 |
src/weixin/idea/qrcode/entity/WeixinQrcodeSceneEntity.java |
15 |
Classes implementing Serializable should set a serialVersionUID |
| 12169 |
src/weixin/idea/qrcode/entity/WeixinQrcodeSceneEntity.java |
18 |
Avoid variables with short names like id |
| 12170 |
src/weixin/idea/qrcode/entity/WeixinQrcodeSceneEntity.java |
40 |
Avoid variables with short names like id |
| 12171 |
src/weixin/idea/qrcode/entity/WeixinQrcodeSceneEntity.java |
40 |
Parameter 'id' is not assigned and could be declared final |
| 12172 |
src/weixin/idea/qrcode/entity/WeixinQrcodeSceneEntity.java |
51 |
Parameter 'createName' is not assigned and could be declared final |
| 12173 |
src/weixin/idea/qrcode/entity/WeixinQrcodeSceneEntity.java |
62 |
Parameter 'createDate' is not assigned and could be declared final |
| 12174 |
src/weixin/idea/qrcode/entity/WeixinQrcodeSceneEntity.java |
73 |
Parameter 'updateName' is not assigned and could be declared final |
| 12175 |
src/weixin/idea/qrcode/entity/WeixinQrcodeSceneEntity.java |
84 |
Parameter 'updateDate' is not assigned and could be declared final |
| 12176 |
src/weixin/idea/qrcode/entity/WeixinQrcodeSceneSeq.java |
14 |
Avoid variables with short names like id |
| 12177 |
src/weixin/idea/qrcode/entity/WeixinQrcodeSceneSeq.java |
27 |
Avoid variables with short names like id |
| 12178 |
src/weixin/idea/qrcode/entity/WeixinQrcodeSceneSeq.java |
27 |
Parameter 'id' is not assigned and could be declared final |
| 12179 |
src/weixin/idea/qrcode/entity/WeixinQrcodeSceneSeq.java |
35 |
Parameter 'accountid' is not assigned and could be declared final |
| 12180 |
src/weixin/idea/qrcode/entity/WeixinQrcodeSceneSeq.java |
42 |
Parameter 'count' is not assigned and could be declared final |
| 12181 |
src/weixin/idea/qrcode/model/ActionInfo.java |
7 |
Parameter 'scene' is not assigned and could be declared final |
| 12182 |
src/weixin/idea/qrcode/model/QrCode.java |
5 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 12183 |
src/weixin/idea/qrcode/model/QrCode.java |
6 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 12184 |
src/weixin/idea/qrcode/model/QrCode.java |
7 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 12185 |
src/weixin/idea/qrcode/model/QrCode.java |
9 |
Method names should not contain underscores |
| 12186 |
src/weixin/idea/qrcode/model/QrCode.java |
13 |
Method names should not contain underscores |
| 12187 |
src/weixin/idea/qrcode/model/QrCode.java |
13 |
Parameter 'expire_seconds' is not assigned and could be declared final |
| 12188 |
src/weixin/idea/qrcode/model/QrCode.java |
16 |
Method names should not contain underscores |
| 12189 |
src/weixin/idea/qrcode/model/QrCode.java |
19 |
Method names should not contain underscores |
| 12190 |
src/weixin/idea/qrcode/model/QrCode.java |
19 |
Parameter 'action_name' is not assigned and could be declared final |
| 12191 |
src/weixin/idea/qrcode/model/QrCode.java |
22 |
Method names should not contain underscores |
| 12192 |
src/weixin/idea/qrcode/model/QrCode.java |
25 |
Parameter 'action_info' is not assigned and could be declared final |
| 12193 |
src/weixin/idea/qrcode/model/Scene.java |
5 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 12194 |
src/weixin/idea/qrcode/model/Scene.java |
7 |
Method names should not contain underscores |
| 12195 |
src/weixin/idea/qrcode/model/Scene.java |
7 |
Parameter 'scene_id' is not assigned and could be declared final |
| 12196 |
src/weixin/idea/qrcode/model/Scene.java |
11 |
Method names should not contain underscores |
| 12197 |
src/weixin/idea/qrcode/service/WeixinQrcodeScanRecordServiceI.java |
9 |
Avoid modifiers which are implied by the context |
| 12198 |
src/weixin/idea/qrcode/service/WeixinQrcodeScanRecordServiceI.java |
11 |
Avoid modifiers which are implied by the context |
| 12199 |
src/weixin/idea/qrcode/service/WeixinQrcodeScanRecordServiceI.java |
13 |
Avoid modifiers which are implied by the context |
| 12200 |
src/weixin/idea/qrcode/service/WeixinQrcodeScanRecordServiceI.java |
15 |
Avoid excessively long variable names like paramWeixinQrcodeScanRecord |
| 12201 |
src/weixin/idea/qrcode/service/WeixinQrcodeScanRecordServiceI.java |
15 |
Avoid modifiers which are implied by the context |
| 12202 |
src/weixin/idea/qrcode/service/WeixinQrcodeScanRecordServiceI.java |
17 |
Avoid excessively long variable names like paramWeixinQrcodeScanRecord |
| 12203 |
src/weixin/idea/qrcode/service/WeixinQrcodeScanRecordServiceI.java |
17 |
Avoid modifiers which are implied by the context |
| 12204 |
src/weixin/idea/qrcode/service/WeixinQrcodeScanRecordServiceI.java |
19 |
Avoid excessively long variable names like paramWeixinQrcodeScanRecord |
| 12205 |
src/weixin/idea/qrcode/service/WeixinQrcodeSceneSeqServiceI.java |
9 |
Avoid modifiers which are implied by the context |
| 12206 |
src/weixin/idea/qrcode/service/WeixinQrcodeSceneSeqServiceI.java |
11 |
Avoid modifiers which are implied by the context |
| 12207 |
src/weixin/idea/qrcode/service/WeixinQrcodeSceneSeqServiceI.java |
13 |
Avoid modifiers which are implied by the context |
| 12208 |
src/weixin/idea/qrcode/service/WeixinQrcodeSceneSeqServiceI.java |
15 |
Avoid modifiers which are implied by the context |
| 12209 |
src/weixin/idea/qrcode/service/WeixinQrcodeSceneServiceI.java |
8 |
Avoid modifiers which are implied by the context |
| 12210 |
src/weixin/idea/qrcode/service/WeixinQrcodeSceneServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 12211 |
src/weixin/idea/qrcode/service/WeixinQrcodeSceneServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 12212 |
src/weixin/idea/qrcode/service/WeixinQrcodeServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 12213 |
src/weixin/idea/qrcode/service/WeixinQrcodeServiceI.java |
12 |
Avoid modifiers which are implied by the context |
| 12214 |
src/weixin/idea/qrcode/service/WeixinQrcodeServiceI.java |
14 |
Avoid modifiers which are implied by the context |
| 12215 |
src/weixin/idea/qrcode/service/WeixinQrcodeServiceI.java |
16 |
Avoid excessively long variable names like paramWeixinQrcodeEntity |
| 12216 |
src/weixin/idea/qrcode/service/WeixinQrcodeServiceI.java |
16 |
Avoid modifiers which are implied by the context |
| 12217 |
src/weixin/idea/qrcode/service/WeixinQrcodeServiceI.java |
18 |
Avoid excessively long variable names like paramWeixinQrcodeEntity |
| 12218 |
src/weixin/idea/qrcode/service/WeixinQrcodeServiceI.java |
18 |
Avoid modifiers which are implied by the context |
| 12219 |
src/weixin/idea/qrcode/service/WeixinQrcodeServiceI.java |
20 |
Avoid excessively long variable names like paramWeixinQrcodeEntity |
| 12220 |
src/weixin/idea/qrcode/service/WeixinQrcodeServiceI.java |
22 |
Avoid excessively long variable names like paramHttpServletRequest |
| 12221 |
src/weixin/idea/qrcode/service/WeixinQrcodeServiceI.java |
22 |
Avoid excessively long variable names like paramWeixinQrcodeEntity |
| 12222 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeScanRecordServiceImpl.java |
15 |
Parameter 'entity' is not assigned and could be declared final |
| 12223 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeScanRecordServiceImpl.java |
22 |
Parameter 'entity' is not assigned and could be declared final |
| 12224 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeScanRecordServiceImpl.java |
23 |
Avoid variables with short names like t |
| 12225 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeScanRecordServiceImpl.java |
23 |
Local variable 't' could be declared final |
| 12226 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeScanRecordServiceImpl.java |
29 |
Parameter 'entity' is not assigned and could be declared final |
| 12227 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeScanRecordServiceImpl.java |
35 |
Avoid variables with short names like t |
| 12228 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeScanRecordServiceImpl.java |
35 |
Parameter 't' is not assigned and could be declared final |
| 12229 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeScanRecordServiceImpl.java |
40 |
Avoid variables with short names like t |
| 12230 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeScanRecordServiceImpl.java |
40 |
Parameter 't' is not assigned and could be declared final |
| 12231 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeScanRecordServiceImpl.java |
45 |
Avoid variables with short names like t |
| 12232 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeScanRecordServiceImpl.java |
50 |
Avoid variables with short names like t |
| 12233 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneSeqServiceImpl.java |
15 |
Parameter 'accountid' is not assigned and could be declared final |
| 12234 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneSeqServiceImpl.java |
17 |
Local variable 'seqlist' could be declared final |
| 12235 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneSeqServiceImpl.java |
18 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 12236 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneSeqServiceImpl.java |
19 |
Local variable 'seq' could be declared final |
| 12237 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneSeqServiceImpl.java |
22 |
A method should have only one exit point, and that should be the last statement in the method |
| 12238 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneSeqServiceImpl.java |
24 |
Local variable 'seq' could be declared final |
| 12239 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneServiceImpl.java |
16 |
Parameter 'entity' is not assigned and could be declared final |
| 12240 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneServiceImpl.java |
23 |
Parameter 'entity' is not assigned and could be declared final |
| 12241 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneServiceImpl.java |
24 |
Avoid variables with short names like t |
| 12242 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneServiceImpl.java |
24 |
Local variable 't' could be declared final |
| 12243 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneServiceImpl.java |
30 |
Parameter 'entity' is not assigned and could be declared final |
| 12244 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneServiceImpl.java |
36 |
Avoid variables with short names like t |
| 12245 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneServiceImpl.java |
36 |
Parameter 't' is not assigned and could be declared final |
| 12246 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneServiceImpl.java |
41 |
Avoid variables with short names like t |
| 12247 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneServiceImpl.java |
41 |
Parameter 't' is not assigned and could be declared final |
| 12248 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneServiceImpl.java |
46 |
Avoid variables with short names like t |
| 12249 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneServiceImpl.java |
51 |
Avoid reassigning parameters such as 'sql' |
| 12250 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneServiceImpl.java |
51 |
Avoid reassigning parameters such as 'sql' |
| 12251 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneServiceImpl.java |
51 |
Avoid reassigning parameters such as 'sql' |
| 12252 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneServiceImpl.java |
51 |
Avoid reassigning parameters such as 'sql' |
| 12253 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneServiceImpl.java |
51 |
Avoid reassigning parameters such as 'sql' |
| 12254 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeSceneServiceImpl.java |
51 |
Avoid variables with short names like t |
| 12255 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
6 |
Avoid unused imports such as 'javax.servlet.ServletContext' |
| 12256 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
6 |
Avoid unused imports such as 'javax.servlet.ServletContext' |
| 12257 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
8 |
Avoid unused imports such as 'javax.servlet.http.HttpSession' |
| 12258 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
8 |
Avoid unused imports such as 'javax.servlet.http.HttpSession' |
| 12259 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
31 |
Avoid excessively long variable names like weixinQrcodeSceneService |
| 12260 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
31 |
Avoid unused private fields such as 'weixinQrcodeSceneService'. |
| 12261 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
33 |
Use explicit scoping instead of the default package private level |
| 12262 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
34 |
Avoid excessively long variable names like weixinAccountService |
| 12263 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
34 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12264 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
36 |
Parameter 'entity' is not assigned and could be declared final |
| 12265 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
43 |
Parameter 'entity' is not assigned and could be declared final |
| 12266 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
44 |
Avoid variables with short names like t |
| 12267 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
44 |
Local variable 't' could be declared final |
| 12268 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
50 |
Parameter 'entity' is not assigned and could be declared final |
| 12269 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
56 |
Avoid variables with short names like t |
| 12270 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
56 |
Parameter 't' is not assigned and could be declared final |
| 12271 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
61 |
Avoid variables with short names like t |
| 12272 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
61 |
Parameter 't' is not assigned and could be declared final |
| 12273 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
66 |
Avoid variables with short names like t |
| 12274 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
73 |
Found 'DD'-anomaly for variable 'imgurl' (lines '73'-'100'). |
| 12275 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
74 |
Local variable 'qrCode' could be declared final |
| 12276 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
75 |
Local variable 'scene' could be declared final |
| 12277 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
76 |
Local variable 'actionInfo' could be declared final |
| 12278 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
84 |
Local variable 'jsonQrcode' could be declared final |
| 12279 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
107 |
Avoid reassigning parameters such as 'sql' |
| 12280 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
107 |
Avoid reassigning parameters such as 'sql' |
| 12281 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
107 |
Avoid reassigning parameters such as 'sql' |
| 12282 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
107 |
Avoid reassigning parameters such as 'sql' |
| 12283 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
107 |
Avoid reassigning parameters such as 'sql' |
| 12284 |
src/weixin/idea/qrcode/service/impl/WeixinQrcodeServiceImpl.java |
107 |
Avoid variables with short names like t |
| 12285 |
src/weixin/idea/qrcode/util/QrcodeConstant.java |
3 |
Each class should declare at least one constructor |
| 12286 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 12287 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
4 |
Avoid unused imports such as 'java.io.InputStream' |
| 12288 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
4 |
Avoid unused imports such as 'java.io.InputStream' |
| 12289 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
10 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 12290 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
10 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 12291 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
33 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 12292 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
33 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 12293 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
58 |
The class 'WeixinSurveyController' has a Cyclomatic Complexity of 3 (Highest = 10). |
| 12294 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
58 |
This class has too many methods, consider refactoring it. |
| 12295 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
59 |
Variables that are final and static should be in all caps. |
| 12296 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
63 |
Avoid excessively long variable names like weixinSurveyService |
| 12297 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
63 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12298 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
66 |
Avoid excessively long variable names like weixinSurveyMainService |
| 12299 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
66 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12300 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
69 |
Avoid excessively long variable names like weixinSurveyOptionService |
| 12301 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
69 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12302 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
72 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12303 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
75 |
Avoid excessively long variable names like weixinVipMemberService |
| 12304 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
75 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12305 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
78 |
Avoid excessively long variable names like weixinSurveyRecordService |
| 12306 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
85 |
Parameter 'message' is not assigned and could be declared final |
| 12307 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
90 |
Parameter 'request' is not assigned and could be declared final |
| 12308 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
95 |
Parameter 'request' is not assigned and could be declared final |
| 12309 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
100 |
Parameter 'weixinSurvey' is not assigned and could be declared final |
| 12310 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
101 |
Parameter 'request' is not assigned and could be declared final |
| 12311 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
103 |
Avoid variables with short names like cq |
| 12312 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
103 |
Local variable 'cq' could be declared final |
| 12313 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
107 |
The String literal "accountid" appears 9 times in this file; the first occurrence is on line 107 |
| 12314 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
109 |
New exception is thrown in catch block, original stack trace may be lost |
| 12315 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
120 |
Avoid variables with short names like cq |
| 12316 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
120 |
Local variable 'cq' could be declared final |
| 12317 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
128 |
New exception is thrown in catch block, original stack trace may be lost |
| 12318 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
139 |
Local variable 'surveyOptionList' could be declared final |
| 12319 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
141 |
The String literal "weixinSurvey.id" appears 6 times in this file; the first occurrence is on line 141 |
| 12320 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
151 |
Avoid variables with short names like j |
| 12321 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
151 |
Local variable 'j' could be declared final |
| 12322 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
154 |
Local variable 'weixinSurvey' could be declared final |
| 12323 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
171 |
The String literal "openid" appears 7 times in this file; the first occurrence is on line 171 |
| 12324 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
185 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12325 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
187 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 12326 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
195 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12327 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
197 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 12328 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
198 |
A method should have only one exit point, and that should be the last statement in the method |
| 12329 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
201 |
Avoid variables with short names like cq |
| 12330 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
207 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12331 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
210 |
Found 'DU'-anomaly for variable 'viewlist' (lines '210'-'230'). |
| 12332 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
211 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 12333 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
213 |
Avoid instantiating new objects inside loops |
| 12334 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
234 |
The method 'doSurvey' has a Cyclomatic Complexity of 10. |
| 12335 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
236 |
Avoid variables with short names like j |
| 12336 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
254 |
Found 'DD'-anomaly for variable 'allcount' (lines '254'-'254'). |
| 12337 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
254 |
Found 'DU'-anomaly for variable 'allcount' (lines '254'-'308'). |
| 12338 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
277 |
Avoid instantiating new objects inside loops |
| 12339 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
284 |
Avoid instantiating new objects inside loops |
| 12340 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
312 |
Avoid reassigning parameters such as 'weixinSurveyMain' |
| 12341 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
320 |
Avoid reassigning parameters such as 'weixinSurveyMain' |
| 12342 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
335 |
Avoid instantiating new objects inside loops |
| 12343 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
339 |
Avoid instantiating new objects inside loops |
| 12344 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
341 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12345 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
369 |
Avoid reassigning parameters such as 'weixinSurvey' |
| 12346 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
371 |
Found 'DU'-anomaly for variable 'j' (lines '371'-'390'). |
| 12347 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
384 |
Avoid printStackTrace(); use a logger call instead. |
| 12348 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
386 |
New exception is thrown in catch block, original stack trace may be lost |
| 12349 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
395 |
Found 'DU'-anomaly for variable 'j' (lines '395'-'416'). |
| 12350 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
410 |
Avoid printStackTrace(); use a logger call instead. |
| 12351 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
412 |
New exception is thrown in catch block, original stack trace may be lost |
| 12352 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
422 |
Found 'DU'-anomaly for variable 'j' (lines '422'-'435'). |
| 12353 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
429 |
Avoid printStackTrace(); use a logger call instead. |
| 12354 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
431 |
New exception is thrown in catch block, original stack trace may be lost |
| 12355 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
441 |
Found 'DU'-anomaly for variable 'j' (lines '441'-'457'). |
| 12356 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
451 |
Avoid printStackTrace(); use a logger call instead. |
| 12357 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
460 |
Avoid reassigning parameters such as 'weixinSurvey' |
| 12358 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
475 |
Avoid reassigning parameters such as 'weixinSurvey' |
| 12359 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
498 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '498'-'501'). |
| 12360 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
499 |
Found 'DD'-anomaly for variable 'fOut' (lines '499'-'529'). |
| 12361 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
505 |
The String literal "content-disposition" appears 4 times in this file; the first occurrence is on line 505 |
| 12362 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
506 |
The String literal "attachment;filename=" appears 4 times in this file; the first occurrence is on line 506 |
| 12363 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
517 |
Found 'DD'-anomaly for variable 'workbook' (lines '517'-'525'). |
| 12364 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
524 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12365 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
531 |
Avoid empty catch blocks |
| 12366 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
536 |
Avoid empty catch blocks |
| 12367 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
546 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '546'-'549'). |
| 12368 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
547 |
Found 'DD'-anomaly for variable 'fOut' (lines '547'-'570'). |
| 12369 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
565 |
Found 'DD'-anomaly for variable 'workbook' (lines '565'-'566'). |
| 12370 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
572 |
Avoid empty catch blocks |
| 12371 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
577 |
Avoid empty catch blocks |
| 12372 |
src/weixin/idea/survey/controller/WeixinSurveyController.java |
612 |
Avoid printStackTrace(); use a logger call instead. |
| 12373 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 12374 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
4 |
Avoid unused imports such as 'java.io.InputStream' |
| 12375 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
4 |
Avoid unused imports such as 'java.io.InputStream' |
| 12376 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
10 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 12377 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
10 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 12378 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
33 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 12379 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
33 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 12380 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
56 |
This class has too many methods, consider refactoring it. |
| 12381 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
57 |
Variables that are final and static should be in all caps. |
| 12382 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
61 |
Avoid excessively long variable names like weixinSurveyService |
| 12383 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
61 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12384 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
64 |
Avoid excessively long variable names like weixinSurveyMainService |
| 12385 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
64 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12386 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
67 |
Avoid excessively long variable names like weixinSurveyOptionService |
| 12387 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
67 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12388 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
70 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12389 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
73 |
Avoid excessively long variable names like weixinVipMemberService |
| 12390 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
73 |
Avoid unused private fields such as 'weixinVipMemberService'. |
| 12391 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
76 |
Avoid excessively long variable names like weixinSurveyRecordService |
| 12392 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
76 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12393 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
83 |
Parameter 'message' is not assigned and could be declared final |
| 12394 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
88 |
Parameter 'request' is not assigned and could be declared final |
| 12395 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
93 |
Avoid reassigning parameters such as 'weixinSurveyMain' |
| 12396 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
94 |
Parameter 'request' is not assigned and could be declared final |
| 12397 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
97 |
The String literal "accountid" appears 4 times in this file; the first occurrence is on line 97 |
| 12398 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
98 |
Local variable 'openid' could be declared final |
| 12399 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
98 |
The String literal "openid" appears 4 times in this file; the first occurrence is on line 98 |
| 12400 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
106 |
Avoid variables with short names like cq |
| 12401 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
106 |
Local variable 'cq' could be declared final |
| 12402 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
107 |
The String literal "mainId" appears 4 times in this file; the first occurrence is on line 107 |
| 12403 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
111 |
Local variable 'weixinSurveys' could be declared final |
| 12404 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
112 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12405 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
115 |
Found 'DU'-anomaly for variable 'viewlist' (lines '115'-'134'). |
| 12406 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
115 |
Local variable 'viewlist' could be declared final |
| 12407 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
116 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 12408 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
118 |
Avoid instantiating new objects inside loops |
| 12409 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
118 |
Local variable 'surveyView' could be declared final |
| 12410 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
121 |
The String literal "weixinSurvey.id" appears 4 times in this file; the first occurrence is on line 121 |
| 12411 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
138 |
Avoid reassigning parameters such as 'weixinSurveyMain' |
| 12412 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
138 |
Parameter 'request' is not assigned and could be declared final |
| 12413 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
142 |
Avoid variables with short names like cq |
| 12414 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
148 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12415 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
156 |
Parameter 'weixinSurvey' is not assigned and could be declared final |
| 12416 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
158 |
Avoid variables with short names like j |
| 12417 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
172 |
Avoid variables with short names like cq |
| 12418 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
179 |
New exception is thrown in catch block, original stack trace may be lost |
| 12419 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
190 |
Avoid variables with short names like j |
| 12420 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
200 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12421 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
201 |
Avoid if (x != y) ..; else ..; |
| 12422 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
201 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 12423 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
230 |
Avoid reassigning parameters such as 'weixinMainSurvey' |
| 12424 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
232 |
Found 'DU'-anomaly for variable 'j' (lines '232'-'256'). |
| 12425 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
250 |
Avoid printStackTrace(); use a logger call instead. |
| 12426 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
252 |
New exception is thrown in catch block, original stack trace may be lost |
| 12427 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
261 |
Found 'DU'-anomaly for variable 'j' (lines '261'-'286'). |
| 12428 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
280 |
Avoid printStackTrace(); use a logger call instead. |
| 12429 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
282 |
New exception is thrown in catch block, original stack trace may be lost |
| 12430 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
292 |
Found 'DU'-anomaly for variable 'j' (lines '292'-'311'). |
| 12431 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
305 |
Avoid printStackTrace(); use a logger call instead. |
| 12432 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
307 |
New exception is thrown in catch block, original stack trace may be lost |
| 12433 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
317 |
Found 'DU'-anomaly for variable 'j' (lines '317'-'333'). |
| 12434 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
327 |
Avoid printStackTrace(); use a logger call instead. |
| 12435 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
329 |
New exception is thrown in catch block, original stack trace may be lost |
| 12436 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
336 |
Avoid reassigning parameters such as 'weixinSurvey' |
| 12437 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
348 |
Avoid reassigning parameters such as 'weixinSurvey' |
| 12438 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
369 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '369'-'372'). |
| 12439 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
370 |
Found 'DD'-anomaly for variable 'fOut' (lines '370'-'400'). |
| 12440 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
376 |
The String literal "content-disposition" appears 4 times in this file; the first occurrence is on line 376 |
| 12441 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
388 |
Found 'DD'-anomaly for variable 'workbook' (lines '388'-'396'). |
| 12442 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
395 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12443 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
402 |
Avoid empty catch blocks |
| 12444 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
407 |
Avoid empty catch blocks |
| 12445 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
417 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '417'-'420'). |
| 12446 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
418 |
Found 'DD'-anomaly for variable 'fOut' (lines '418'-'441'). |
| 12447 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
436 |
Found 'DD'-anomaly for variable 'workbook' (lines '436'-'437'). |
| 12448 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
443 |
Avoid empty catch blocks |
| 12449 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
448 |
Avoid empty catch blocks |
| 12450 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
463 |
Avoid instantiating new objects inside loops |
| 12451 |
src/weixin/idea/survey/controller/WeixinSurveyMainController.java |
483 |
Avoid printStackTrace(); use a logger call instead. |
| 12452 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 12453 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
21 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 12454 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
21 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 12455 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
38 |
The class 'WeixinSurveyRecordController' has a Cyclomatic Complexity of 14 (Highest = 13). |
| 12456 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
41 |
Avoid excessively long variable names like weixinSurveyRecordService |
| 12457 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
41 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12458 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
44 |
Avoid excessively long variable names like weixinSurveyMainService |
| 12459 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
44 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12460 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
47 |
Avoid excessively long variable names like weixinSurveyService |
| 12461 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
47 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12462 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
50 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12463 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
53 |
Avoid excessively long variable names like weixinSurveyRecord |
| 12464 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
53 |
Parameter 'weixinSurveyRecord' is not assigned and could be declared final |
| 12465 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
53 |
The method 'exportXls' has a Cyclomatic Complexity of 13. |
| 12466 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
53 |
The method exportXls() has an NPath complexity of 370 |
| 12467 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
54 |
Parameter 'request' is not assigned and could be declared final |
| 12468 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
54 |
Parameter 'response' is not assigned and could be declared final |
| 12469 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
55 |
Avoid variables with short names like cq |
| 12470 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
55 |
Local variable 'cq' could be declared final |
| 12471 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
62 |
New exception is thrown in catch block, original stack trace may be lost |
| 12472 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
66 |
Local variable 'recordlist' could be declared final |
| 12473 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
67 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12474 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
69 |
Local variable 'viewlist' could be declared final |
| 12475 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
71 |
Avoid excessively long variable names like weixinSurveyMainList |
| 12476 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
71 |
Local variable 'weixinSurveyMainList' could be declared final |
| 12477 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
75 |
Local variable 'surveylist' could be declared final |
| 12478 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
81 |
Avoid instantiating new objects inside loops |
| 12479 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
136 |
Avoid empty catch blocks |
| 12480 |
src/weixin/idea/survey/controller/WeixinSurveyRecordController.java |
141 |
Avoid empty catch blocks |
| 12481 |
src/weixin/idea/survey/entity/WeixinSurveyEntity.java |
17 |
Classes implementing Serializable should set a serialVersionUID |
| 12482 |
src/weixin/idea/survey/entity/WeixinSurveyEntity.java |
20 |
Avoid variables with short names like id |
| 12483 |
src/weixin/idea/survey/entity/WeixinSurveyEntity.java |
34 |
Avoid excessively long variable names like weixinSurveyOptions |
| 12484 |
src/weixin/idea/survey/entity/WeixinSurveyEntity.java |
45 |
Avoid variables with short names like id |
| 12485 |
src/weixin/idea/survey/entity/WeixinSurveyEntity.java |
45 |
Parameter 'id' is not assigned and could be declared final |
| 12486 |
src/weixin/idea/survey/entity/WeixinSurveyEntity.java |
55 |
Avoid excessively long variable names like weixinSurveyOptions |
| 12487 |
src/weixin/idea/survey/entity/WeixinSurveyEntity.java |
55 |
Parameter 'weixinSurveyOptions' is not assigned and could be declared final |
| 12488 |
src/weixin/idea/survey/entity/WeixinSurveyEntity.java |
66 |
Parameter 'createName' is not assigned and could be declared final |
| 12489 |
src/weixin/idea/survey/entity/WeixinSurveyEntity.java |
77 |
Parameter 'createDate' is not assigned and could be declared final |
| 12490 |
src/weixin/idea/survey/entity/WeixinSurveyEntity.java |
88 |
Parameter 'updateName' is not assigned and could be declared final |
| 12491 |
src/weixin/idea/survey/entity/WeixinSurveyMainEntity.java |
14 |
Classes implementing Serializable should set a serialVersionUID |
| 12492 |
src/weixin/idea/survey/entity/WeixinSurveyMainEntity.java |
17 |
Avoid variables with short names like id |
| 12493 |
src/weixin/idea/survey/entity/WeixinSurveyMainEntity.java |
40 |
Avoid variables with short names like id |
| 12494 |
src/weixin/idea/survey/entity/WeixinSurveyMainEntity.java |
40 |
Parameter 'id' is not assigned and could be declared final |
| 12495 |
src/weixin/idea/survey/entity/WeixinSurveyMainEntity.java |
51 |
Parameter 'createName' is not assigned and could be declared final |
| 12496 |
src/weixin/idea/survey/entity/WeixinSurveyMainEntity.java |
62 |
Parameter 'createDate' is not assigned and could be declared final |
| 12497 |
src/weixin/idea/survey/entity/WeixinSurveyMainEntity.java |
73 |
Parameter 'updateName' is not assigned and could be declared final |
| 12498 |
src/weixin/idea/survey/entity/WeixinSurveyMainEntity.java |
84 |
Parameter 'updateDate' is not assigned and could be declared final |
| 12499 |
src/weixin/idea/survey/entity/WeixinSurveyOptionEntity.java |
17 |
Classes implementing Serializable should set a serialVersionUID |
| 12500 |
src/weixin/idea/survey/entity/WeixinSurveyOptionEntity.java |
20 |
Avoid variables with short names like id |
| 12501 |
src/weixin/idea/survey/entity/WeixinSurveyOptionEntity.java |
35 |
Avoid variables with short names like id |
| 12502 |
src/weixin/idea/survey/entity/WeixinSurveyOptionEntity.java |
35 |
Parameter 'id' is not assigned and could be declared final |
| 12503 |
src/weixin/idea/survey/entity/WeixinSurveyOptionEntity.java |
43 |
Parameter 'weixinSurvey' is not assigned and could be declared final |
| 12504 |
src/weixin/idea/survey/entity/WeixinSurveyOptionEntity.java |
52 |
Parameter 'surveyOptionTitle' is not assigned and could be declared final |
| 12505 |
src/weixin/idea/survey/entity/WeixinSurveyOptionEntity.java |
59 |
Parameter 'count' is not assigned and could be declared final |
| 12506 |
src/weixin/idea/survey/entity/WeixinSurveyOptionEntity.java |
66 |
Parameter 'scale' is not assigned and could be declared final |
| 12507 |
src/weixin/idea/survey/entity/WeixinSurveyRecordEntity.java |
16 |
Avoid variables with short names like id |
| 12508 |
src/weixin/idea/survey/entity/WeixinSurveyRecordEntity.java |
37 |
Avoid variables with short names like id |
| 12509 |
src/weixin/idea/survey/entity/WeixinSurveyRecordEntity.java |
37 |
Parameter 'id' is not assigned and could be declared final |
| 12510 |
src/weixin/idea/survey/entity/WeixinSurveyRecordEntity.java |
44 |
Parameter 'accountid' is not assigned and could be declared final |
| 12511 |
src/weixin/idea/survey/entity/WeixinSurveyRecordEntity.java |
51 |
Parameter 'openid' is not assigned and could be declared final |
| 12512 |
src/weixin/idea/survey/entity/WeixinSurveyRecordEntity.java |
58 |
Parameter 'answer' is not assigned and could be declared final |
| 12513 |
src/weixin/idea/survey/entity/WeixinSurveyRecordEntity.java |
65 |
Parameter 'surveyid' is not assigned and could be declared final |
| 12514 |
src/weixin/idea/survey/entity/WeixinSurveyRecordExportView.java |
28 |
Parameter 'mainTitle' is not assigned and could be declared final |
| 12515 |
src/weixin/idea/survey/entity/WeixinSurveyRecordExportView.java |
34 |
Parameter 'surveyTitle' is not assigned and could be declared final |
| 12516 |
src/weixin/idea/survey/entity/WeixinSurveyRecordExportView.java |
40 |
Parameter 'answers' is not assigned and could be declared final |
| 12517 |
src/weixin/idea/survey/entity/WeixinSurveyRecordExportView.java |
46 |
Parameter 'username' is not assigned and could be declared final |
| 12518 |
src/weixin/idea/survey/entity/WeixinSurveyRecordExportView.java |
52 |
Parameter 'surveyDate' is not assigned and could be declared final |
| 12519 |
src/weixin/idea/survey/entity/WeixinSurveyResultView.java |
10 |
Parameter 'weixinSurvey' is not assigned and could be declared final |
| 12520 |
src/weixin/idea/survey/entity/WeixinSurveyResultView.java |
17 |
Parameter 'recordlist' is not assigned and could be declared final |
| 12521 |
src/weixin/idea/survey/entity/WeixinSurveyView.java |
17 |
Parameter 'surveyid' is not assigned and could be declared final |
| 12522 |
src/weixin/idea/survey/entity/WeixinSurveyView.java |
23 |
Parameter 'surveyTitle' is not assigned and could be declared final |
| 12523 |
src/weixin/idea/survey/entity/WeixinSurveyView.java |
29 |
Parameter 'surveyType' is not assigned and could be declared final |
| 12524 |
src/weixin/idea/survey/entity/WeixinSurveyView.java |
35 |
Parameter 'surveyDescription' is not assigned and could be declared final |
| 12525 |
src/weixin/idea/survey/entity/WeixinSurveyView.java |
41 |
Parameter 'optionlist' is not assigned and could be declared final |
| 12526 |
src/weixin/idea/survey/service/WeixinSurveyMainServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 12527 |
src/weixin/idea/survey/service/WeixinSurveyOptionServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 12528 |
src/weixin/idea/survey/service/WeixinSurveyRecordServiceI.java |
7 |
Avoid modifiers which are implied by the context |
| 12529 |
src/weixin/idea/survey/service/WeixinSurveyServiceI.java |
9 |
Avoid modifiers which are implied by the context |
| 12530 |
src/weixin/idea/survey/service/WeixinSurveyServiceI.java |
11 |
Avoid modifiers which are implied by the context |
| 12531 |
src/weixin/idea/survey/service/WeixinSurveyServiceI.java |
13 |
Avoid modifiers which are implied by the context |
| 12532 |
src/weixin/idea/survey/service/WeixinSurveyServiceI.java |
15 |
Avoid excessively long variable names like paramWeixinSurveyEntity |
| 12533 |
src/weixin/idea/survey/service/WeixinSurveyServiceI.java |
15 |
Avoid modifiers which are implied by the context |
| 12534 |
src/weixin/idea/survey/service/WeixinSurveyServiceI.java |
17 |
Avoid excessively long variable names like paramWeixinSurveyEntity |
| 12535 |
src/weixin/idea/survey/service/WeixinSurveyServiceI.java |
17 |
Avoid modifiers which are implied by the context |
| 12536 |
src/weixin/idea/survey/service/WeixinSurveyServiceI.java |
19 |
Avoid excessively long variable names like paramWeixinSurveyEntity |
| 12537 |
src/weixin/idea/survey/service/impl/WeixinSurveyMainServiceImpl.java |
8 |
Each class should declare at least one constructor |
| 12538 |
src/weixin/idea/survey/service/impl/WeixinSurveyOptionServiceImpl.java |
8 |
Each class should declare at least one constructor |
| 12539 |
src/weixin/idea/survey/service/impl/WeixinSurveyRecordServiceImpl.java |
11 |
Parameter 'userid' is not assigned and could be declared final |
| 12540 |
src/weixin/idea/survey/service/impl/WeixinSurveyRecordServiceImpl.java |
11 |
Parameter 'voteid' is not assigned and could be declared final |
| 12541 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
14 |
The class 'WeixinSurveyServiceImpl' has a Cyclomatic Complexity of 3 (Highest = 10). |
| 12542 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
17 |
Overriding method merely calls super |
| 12543 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
17 |
Parameter 'entity' is not assigned and could be declared final |
| 12544 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
22 |
Parameter 'entity' is not assigned and could be declared final |
| 12545 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
22 |
The method 'save' has a Cyclomatic Complexity of 10. |
| 12546 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
24 |
Avoid excessively long variable names like weixinSurveyEntity |
| 12547 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
24 |
Local variable 'weixinSurveyEntity' could be declared final |
| 12548 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
28 |
Local variable 'optionlist' could be declared final |
| 12549 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
31 |
Avoid unused local variables such as 't'. |
| 12550 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
31 |
Avoid variables with short names like t |
| 12551 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
31 |
Found 'DU'-anomaly for variable 't' (lines '31'-'76'). |
| 12552 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
31 |
Local variable 't' could be declared final |
| 12553 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
39 |
Local variable 'updateEntity' could be declared final |
| 12554 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
40 |
Local variable 'optionlist' could be declared final |
| 12555 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
46 |
Avoid printStackTrace(); use a logger call instead. |
| 12556 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
69 |
Avoid printStackTrace(); use a logger call instead. |
| 12557 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
78 |
Parameter 'entity' is not assigned and could be declared final |
| 12558 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
79 |
Avoid excessively long variable names like weixinSurveyEntity |
| 12559 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
83 |
Avoid variables with short names like t |
| 12560 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
83 |
Parameter 't' is not assigned and could be declared final |
| 12561 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
88 |
Avoid variables with short names like t |
| 12562 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
88 |
Parameter 't' is not assigned and could be declared final |
| 12563 |
src/weixin/idea/survey/service/impl/WeixinSurveyServiceImpl.java |
93 |
Avoid variables with short names like t |
| 12564 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 12565 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
4 |
Avoid unused imports such as 'java.io.InputStream' |
| 12566 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
4 |
Avoid unused imports such as 'java.io.InputStream' |
| 12567 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
9 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 12568 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
9 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 12569 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
31 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 12570 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
31 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 12571 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
52 |
This class has too many methods, consider refactoring it. |
| 12572 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
53 |
Variables that are final and static should be in all caps. |
| 12573 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
57 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12574 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
60 |
Avoid excessively long variable names like weixinVoteOptionService |
| 12575 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
60 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12576 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
63 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12577 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
66 |
Avoid excessively long variable names like weixinVipMemberService |
| 12578 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
66 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12579 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
69 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12580 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
76 |
Parameter 'message' is not assigned and could be declared final |
| 12581 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
81 |
Parameter 'request' is not assigned and could be declared final |
| 12582 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
86 |
Parameter 'weixinVote' is not assigned and could be declared final |
| 12583 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
87 |
Parameter 'request' is not assigned and could be declared final |
| 12584 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
87 |
Parameter 'response' is not assigned and could be declared final |
| 12585 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
89 |
Avoid variables with short names like cq |
| 12586 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
89 |
Local variable 'cq' could be declared final |
| 12587 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
93 |
The String literal "accountid" appears 6 times in this file; the first occurrence is on line 93 |
| 12588 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
95 |
New exception is thrown in catch block, original stack trace may be lost |
| 12589 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
106 |
Local variable 'voteOptionList' could be declared final |
| 12590 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
118 |
Avoid variables with short names like j |
| 12591 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
118 |
Local variable 'j' could be declared final |
| 12592 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
119 |
Found 'DU'-anomaly for variable 'accountid' (lines '119'-'134'). |
| 12593 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
119 |
Local variable 'accountid' could be declared final |
| 12594 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
122 |
Local variable 'sql' could be declared final |
| 12595 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
150 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 12596 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
163 |
Avoid reassigning parameters such as 'weixinVote' |
| 12597 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
165 |
Avoid variables with short names like j |
| 12598 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
171 |
A method should have only one exit point, and that should be the last statement in the method |
| 12599 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
216 |
Avoid reassigning parameters such as 'weixinVote' |
| 12600 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
233 |
Avoid variables with short names like j |
| 12601 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
245 |
Avoid reassigning parameters such as 'weixinVote' |
| 12602 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
247 |
Avoid variables with short names like j |
| 12603 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
247 |
Found 'DU'-anomaly for variable 'j' (lines '247'-'262'). |
| 12604 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
256 |
Avoid printStackTrace(); use a logger call instead. |
| 12605 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
258 |
New exception is thrown in catch block, original stack trace may be lost |
| 12606 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
267 |
Found 'DU'-anomaly for variable 'j' (lines '267'-'285'). |
| 12607 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
279 |
Avoid printStackTrace(); use a logger call instead. |
| 12608 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
281 |
New exception is thrown in catch block, original stack trace may be lost |
| 12609 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
291 |
Found 'DU'-anomaly for variable 'j' (lines '291'-'304'). |
| 12610 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
298 |
Avoid printStackTrace(); use a logger call instead. |
| 12611 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
300 |
New exception is thrown in catch block, original stack trace may be lost |
| 12612 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
310 |
Found 'DU'-anomaly for variable 'j' (lines '310'-'326'). |
| 12613 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
320 |
Avoid printStackTrace(); use a logger call instead. |
| 12614 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
322 |
New exception is thrown in catch block, original stack trace may be lost |
| 12615 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
329 |
Avoid reassigning parameters such as 'weixinVote' |
| 12616 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
340 |
Avoid reassigning parameters such as 'weixinVote' |
| 12617 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
360 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '360'-'363'). |
| 12618 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
361 |
Found 'DD'-anomaly for variable 'fOut' (lines '361'-'391'). |
| 12619 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
367 |
The String literal "content-disposition" appears 4 times in this file; the first occurrence is on line 367 |
| 12620 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
368 |
The String literal "attachment;filename=" appears 4 times in this file; the first occurrence is on line 368 |
| 12621 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
369 |
The String literal "UTF-8" appears 4 times in this file; the first occurrence is on line 369 |
| 12622 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
370 |
The String literal ".xls" appears 4 times in this file; the first occurrence is on line 370 |
| 12623 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
379 |
Found 'DD'-anomaly for variable 'workbook' (lines '379'-'387'). |
| 12624 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
386 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12625 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
393 |
Avoid empty catch blocks |
| 12626 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
398 |
Avoid empty catch blocks |
| 12627 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
408 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '408'-'411'). |
| 12628 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
409 |
Found 'DD'-anomaly for variable 'fOut' (lines '409'-'432'). |
| 12629 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
427 |
Found 'DD'-anomaly for variable 'workbook' (lines '427'-'428'). |
| 12630 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
434 |
Avoid empty catch blocks |
| 12631 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
439 |
Avoid empty catch blocks |
| 12632 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
454 |
Avoid instantiating new objects inside loops |
| 12633 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
459 |
Avoid excessively long variable names like listWeixinVoteEntitys |
| 12634 |
src/weixin/idea/vote/controller/WeixinVoteController.java |
474 |
Avoid printStackTrace(); use a logger call instead. |
| 12635 |
src/weixin/idea/vote/entity/VoteRecordEntity.java |
14 |
Avoid variables with short names like id |
| 12636 |
src/weixin/idea/vote/entity/VoteRecordEntity.java |
28 |
Avoid variables with short names like id |
| 12637 |
src/weixin/idea/vote/entity/VoteRecordEntity.java |
28 |
Parameter 'id' is not assigned and could be declared final |
| 12638 |
src/weixin/idea/vote/entity/VoteRecordEntity.java |
35 |
Parameter 'accountid' is not assigned and could be declared final |
| 12639 |
src/weixin/idea/vote/entity/VoteRecordEntity.java |
42 |
Parameter 'openid' is not assigned and could be declared final |
| 12640 |
src/weixin/idea/vote/entity/VoteRecordEntity.java |
49 |
Parameter 'optionid' is not assigned and could be declared final |
| 12641 |
src/weixin/idea/vote/entity/VoteRecordEntity.java |
56 |
Parameter 'voteid' is not assigned and could be declared final |
| 12642 |
src/weixin/idea/vote/entity/WeixinVoteEntity.java |
18 |
Classes implementing Serializable should set a serialVersionUID |
| 12643 |
src/weixin/idea/vote/entity/WeixinVoteEntity.java |
21 |
Avoid variables with short names like id |
| 12644 |
src/weixin/idea/vote/entity/WeixinVoteEntity.java |
51 |
Avoid variables with short names like id |
| 12645 |
src/weixin/idea/vote/entity/WeixinVoteEntity.java |
51 |
Parameter 'id' is not assigned and could be declared final |
| 12646 |
src/weixin/idea/vote/entity/WeixinVoteEntity.java |
60 |
Parameter 'weixinVoteOptions' is not assigned and could be declared final |
| 12647 |
src/weixin/idea/vote/entity/WeixinVoteEntity.java |
71 |
Parameter 'createName' is not assigned and could be declared final |
| 12648 |
src/weixin/idea/vote/entity/WeixinVoteEntity.java |
82 |
Parameter 'createDate' is not assigned and could be declared final |
| 12649 |
src/weixin/idea/vote/entity/WeixinVoteEntity.java |
93 |
Parameter 'updateName' is not assigned and could be declared final |
| 12650 |
src/weixin/idea/vote/entity/WeixinVoteOptionEntity.java |
17 |
Classes implementing Serializable should set a serialVersionUID |
| 12651 |
src/weixin/idea/vote/entity/WeixinVoteOptionEntity.java |
20 |
Avoid variables with short names like id |
| 12652 |
src/weixin/idea/vote/entity/WeixinVoteOptionEntity.java |
35 |
Avoid variables with short names like id |
| 12653 |
src/weixin/idea/vote/entity/WeixinVoteOptionEntity.java |
35 |
Parameter 'id' is not assigned and could be declared final |
| 12654 |
src/weixin/idea/vote/entity/WeixinVoteOptionEntity.java |
43 |
Parameter 'weixinVote' is not assigned and could be declared final |
| 12655 |
src/weixin/idea/vote/entity/WeixinVoteOptionEntity.java |
52 |
Parameter 'voteOptionTitle' is not assigned and could be declared final |
| 12656 |
src/weixin/idea/vote/entity/WeixinVoteOptionEntity.java |
59 |
Parameter 'count' is not assigned and could be declared final |
| 12657 |
src/weixin/idea/vote/entity/WeixinVoteOptionEntity.java |
66 |
Parameter 'scale' is not assigned and could be declared final |
| 12658 |
src/weixin/idea/vote/service/VoteRecordServiceI.java |
7 |
Avoid modifiers which are implied by the context |
| 12659 |
src/weixin/idea/vote/service/WeixinVoteOptionServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 12660 |
src/weixin/idea/vote/service/WeixinVoteServiceI.java |
9 |
Avoid modifiers which are implied by the context |
| 12661 |
src/weixin/idea/vote/service/WeixinVoteServiceI.java |
11 |
Avoid modifiers which are implied by the context |
| 12662 |
src/weixin/idea/vote/service/WeixinVoteServiceI.java |
13 |
Avoid modifiers which are implied by the context |
| 12663 |
src/weixin/idea/vote/service/WeixinVoteServiceI.java |
15 |
Avoid excessively long variable names like paramWeixinVoteEntity |
| 12664 |
src/weixin/idea/vote/service/WeixinVoteServiceI.java |
15 |
Avoid modifiers which are implied by the context |
| 12665 |
src/weixin/idea/vote/service/WeixinVoteServiceI.java |
17 |
Avoid excessively long variable names like paramWeixinVoteEntity |
| 12666 |
src/weixin/idea/vote/service/WeixinVoteServiceI.java |
17 |
Avoid modifiers which are implied by the context |
| 12667 |
src/weixin/idea/vote/service/WeixinVoteServiceI.java |
19 |
Avoid excessively long variable names like paramWeixinVoteEntity |
| 12668 |
src/weixin/idea/vote/service/impl/VoteRecordServiceImpl.java |
15 |
Parameter 'userid' is not assigned and could be declared final |
| 12669 |
src/weixin/idea/vote/service/impl/VoteRecordServiceImpl.java |
15 |
Parameter 'voteid' is not assigned and could be declared final |
| 12670 |
src/weixin/idea/vote/service/impl/VoteRecordServiceImpl.java |
17 |
Avoid variables with short names like cq |
| 12671 |
src/weixin/idea/vote/service/impl/VoteRecordServiceImpl.java |
17 |
Local variable 'cq' could be declared final |
| 12672 |
src/weixin/idea/vote/service/impl/VoteRecordServiceImpl.java |
24 |
New exception is thrown in catch block, original stack trace may be lost |
| 12673 |
src/weixin/idea/vote/service/impl/VoteRecordServiceImpl.java |
27 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12674 |
src/weixin/idea/vote/service/impl/VoteRecordServiceImpl.java |
27 |
Local variable 'recordlst' could be declared final |
| 12675 |
src/weixin/idea/vote/service/impl/VoteRecordServiceImpl.java |
28 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 12676 |
src/weixin/idea/vote/service/impl/VoteRecordServiceImpl.java |
29 |
A method should have only one exit point, and that should be the last statement in the method |
| 12677 |
src/weixin/idea/vote/service/impl/WeixinVoteOptionServiceImpl.java |
8 |
Each class should declare at least one constructor |
| 12678 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
20 |
Parameter 'entity' is not assigned and could be declared final |
| 12679 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
27 |
Parameter 'entity' is not assigned and could be declared final |
| 12680 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
28 |
Local variable 'weixinVoteEntity' could be declared final |
| 12681 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
30 |
Local variable 'optionlist' could be declared final |
| 12682 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
33 |
Avoid unused local variables such as 't'. |
| 12683 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
33 |
Avoid variables with short names like t |
| 12684 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
33 |
Found 'DU'-anomaly for variable 't' (lines '33'-'61'). |
| 12685 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
33 |
Local variable 't' could be declared final |
| 12686 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
41 |
Local variable 'updateEntity' could be declared final |
| 12687 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
42 |
Local variable 'optionlist' could be declared final |
| 12688 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
48 |
Avoid printStackTrace(); use a logger call instead. |
| 12689 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
63 |
Parameter 'entity' is not assigned and could be declared final |
| 12690 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
70 |
Avoid variables with short names like t |
| 12691 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
70 |
Parameter 't' is not assigned and could be declared final |
| 12692 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
75 |
Avoid variables with short names like t |
| 12693 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
75 |
Parameter 't' is not assigned and could be declared final |
| 12694 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
80 |
Avoid variables with short names like t |
| 12695 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
85 |
Avoid reassigning parameters such as 'sql' |
| 12696 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
85 |
Avoid reassigning parameters such as 'sql' |
| 12697 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
85 |
Avoid reassigning parameters such as 'sql' |
| 12698 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
85 |
Avoid reassigning parameters such as 'sql' |
| 12699 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
85 |
Avoid reassigning parameters such as 'sql' |
| 12700 |
src/weixin/idea/vote/service/impl/WeixinVoteServiceImpl.java |
85 |
Avoid variables with short names like t |
| 12701 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
31 |
Avoid unused private fields such as 'logger'. |
| 12702 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
31 |
Variables that are final and static should be in all caps. |
| 12703 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
34 |
Avoid excessively long variable names like weixinVotePKConfigService |
| 12704 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
34 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12705 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
37 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12706 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
42 |
Parameter 'message' is not assigned and could be declared final |
| 12707 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
48 |
Parameter 'request' is not assigned and could be declared final |
| 12708 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
54 |
Avoid excessively long variable names like weixinVotePKConfig |
| 12709 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
54 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 12710 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
54 |
Parameter 'request' is not assigned and could be declared final |
| 12711 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
54 |
Parameter 'response' is not assigned and could be declared final |
| 12712 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
56 |
Avoid variables with short names like cq |
| 12713 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
56 |
Local variable 'cq' could be declared final |
| 12714 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
63 |
New exception is thrown in catch block, original stack trace may be lost |
| 12715 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
71 |
Avoid excessively long variable names like weixinVotePKConfig |
| 12716 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
71 |
Avoid reassigning parameters such as 'weixinVotePKConfig' |
| 12717 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
71 |
Avoid variables with short names like j |
| 12718 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
71 |
Found 'DU'-anomaly for variable 'j' (lines '71'-'84'). |
| 12719 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
71 |
Local variable 'j' could be declared final |
| 12720 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
78 |
Avoid printStackTrace(); use a logger call instead. |
| 12721 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
80 |
New exception is thrown in catch block, original stack trace may be lost |
| 12722 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
90 |
Avoid variables with short names like j |
| 12723 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
90 |
Found 'DU'-anomaly for variable 'j' (lines '90'-'106'). |
| 12724 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
90 |
Local variable 'j' could be declared final |
| 12725 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
94 |
Avoid excessively long variable names like weixinVotePKConfig |
| 12726 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
94 |
Local variable 'weixinVotePKConfig' could be declared final |
| 12727 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
100 |
Avoid printStackTrace(); use a logger call instead. |
| 12728 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
102 |
New exception is thrown in catch block, original stack trace may be lost |
| 12729 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
110 |
Avoid excessively long variable names like weixinVotePKConfig |
| 12730 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
112 |
Avoid variables with short names like j |
| 12731 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
112 |
Found 'DU'-anomaly for variable 'j' (lines '112'-'128'). |
| 12732 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
112 |
Local variable 'j' could be declared final |
| 12733 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
115 |
Avoid if (x != y) ..; else ..; |
| 12734 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
116 |
Avoid using if...else statements without curly braces |
| 12735 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
122 |
Avoid printStackTrace(); use a logger call instead. |
| 12736 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
124 |
New exception is thrown in catch block, original stack trace may be lost |
| 12737 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
134 |
Avoid variables with short names like j |
| 12738 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
134 |
Found 'DU'-anomaly for variable 'j' (lines '134'-'148'). |
| 12739 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
142 |
Avoid printStackTrace(); use a logger call instead. |
| 12740 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
144 |
New exception is thrown in catch block, original stack trace may be lost |
| 12741 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
151 |
Avoid reassigning parameters such as 'weixinVotePKConfig' |
| 12742 |
src/weixin/idea/votepk/controller/WeixinVotePKConfigController.java |
161 |
Avoid reassigning parameters such as 'weixinVotePKConfig' |
| 12743 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 12744 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
3 |
Avoid unused imports such as 'java.io.PrintStream' |
| 12745 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
3 |
Avoid unused imports such as 'java.io.PrintStream' |
| 12746 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
35 |
Avoid unused imports such as 'weixin.idea.qrcode.entity.WeixinQrcodeSceneSeq' |
| 12747 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
35 |
Avoid unused imports such as 'weixin.idea.qrcode.entity.WeixinQrcodeSceneSeq' |
| 12748 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
38 |
Avoid unused imports such as 'weixin.idea.votepk.entity.WeixinVotePKConfig' |
| 12749 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
38 |
Avoid unused imports such as 'weixin.idea.votepk.entity.WeixinVotePKConfig' |
| 12750 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
51 |
The class 'WeixinVotePKController' has a Cyclomatic Complexity of 5 (Highest = 15). |
| 12751 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
52 |
Variables that are final and static should be in all caps. |
| 12752 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
56 |
Avoid excessively long variable names like weixinVotePKSignUserinfoService |
| 12753 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
56 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12754 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
59 |
Avoid excessively long variable names like weixinVotePKRecordService |
| 12755 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
59 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12756 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
62 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12757 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
65 |
Avoid excessively long variable names like weixinQrcodeService |
| 12758 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
65 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12759 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
68 |
Avoid excessively long variable names like weixinQrcodeSceneSeqService |
| 12760 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
68 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12761 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
71 |
Avoid excessively long variable names like weixinAccountService |
| 12762 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
74 |
Avoid unused private fields such as 'customerMessageService'. |
| 12763 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
90 |
Avoid really long methods. |
| 12764 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
90 |
The method 'goVotePK' has a Cyclomatic Complexity of 15. |
| 12765 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
90 |
The method goVotePK() has an NPath complexity of 1140 |
| 12766 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
91 |
Parameter 'weixinVotePKSignUserinfo' is not assigned and could be declared final |
| 12767 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
92 |
Avoid reassigning parameters such as 'voteopenid' |
| 12768 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
92 |
Parameter 'request' is not assigned and could be declared final |
| 12769 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
93 |
Local variable 'bundler' could be declared final |
| 12770 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
95 |
Local variable 'accountid' could be declared final |
| 12771 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
98 |
Local variable 'account' could be declared final |
| 12772 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
101 |
Found 'DD'-anomaly for variable 'shareurl' (lines '101'-'106'). |
| 12773 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
103 |
Local variable 'redirecturi' could be declared final |
| 12774 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
103 |
The String literal "domain" appears 7 times in this file; the first occurrence is on line 103 |
| 12775 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
107 |
The String literal "APPID" appears 5 times in this file; the first occurrence is on line 107 |
| 12776 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
111 |
Avoid printStackTrace(); use a logger call instead. |
| 12777 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
114 |
The String literal "code" appears 4 times in this file; the first occurrence is on line 114 |
| 12778 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
115 |
Local variable 'code' could be declared final |
| 12779 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
122 |
System.out.print is used |
| 12780 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
124 |
The String literal "openid" appears 10 times in this file; the first occurrence is on line 124 |
| 12781 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
143 |
Found 'DU'-anomaly for variable 'cuser' (lines '143'-'235'). |
| 12782 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
157 |
Avoid variables with short names like u |
| 12783 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
160 |
Avoid instantiating new objects inside loops |
| 12784 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
161 |
The String literal "ÄäÃûÓû§" appears 4 times in this file; the first occurrence is on line 161 |
| 12785 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
164 |
Avoid if (x != y) ..; else ..; |
| 12786 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
165 |
Avoid using if...else statements without curly braces |
| 12787 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
174 |
Avoid instantiating new objects inside loops |
| 12788 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
213 |
A method should have only one exit point, and that should be the last statement in the method |
| 12789 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
239 |
Parameter 'weixinVotePKSignUserinfo' is not assigned and could be declared final |
| 12790 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
240 |
Parameter 'request' is not assigned and could be declared final |
| 12791 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
240 |
Parameter 'voteopenid' is not assigned and could be declared final |
| 12792 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
244 |
Found 'DD'-anomaly for variable 'openid' (lines '244'-'246'). |
| 12793 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
252 |
Found 'DD'-anomaly for variable 'shareurl' (lines '252'-'257'). |
| 12794 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
257 |
Found 'DU'-anomaly for variable 'shareurl' (lines '257'-'330'). |
| 12795 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
262 |
Avoid printStackTrace(); use a logger call instead. |
| 12796 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
268 |
Found 'DU'-anomaly for variable 'cuser' (lines '268'-'330'). |
| 12797 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
282 |
Avoid instantiating new objects inside loops |
| 12798 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
285 |
Avoid if (x != y) ..; else ..; |
| 12799 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
286 |
Avoid using if...else statements without curly braces |
| 12800 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
344 |
Avoid unused local variables such as 'j'. |
| 12801 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
344 |
Avoid variables with short names like j |
| 12802 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
344 |
Found 'DU'-anomaly for variable 'j' (lines '344'-'362'). |
| 12803 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
367 |
Unnecessary wrapper object creation |
| 12804 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
370 |
Avoid variables with short names like cq |
| 12805 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
378 |
New exception is thrown in catch block, original stack trace may be lost |
| 12806 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
381 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12807 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
391 |
Avoid instantiating new objects inside loops |
| 12808 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
422 |
Found 'DD'-anomaly for variable 'shareurl' (lines '422'-'427'). |
| 12809 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
432 |
Avoid printStackTrace(); use a logger call instead. |
| 12810 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
441 |
Avoid variables with short names like j |
| 12811 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
441 |
Found 'DU'-anomaly for variable 'j' (lines '441'-'469'). |
| 12812 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
443 |
Avoid variables with short names like cq |
| 12813 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
451 |
New exception is thrown in catch block, original stack trace may be lost |
| 12814 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
454 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12815 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
459 |
Avoid instantiating new objects inside loops |
| 12816 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
473 |
Avoid reassigning parameters such as 'userinfo' |
| 12817 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
479 |
A method should have only one exit point, and that should be the last statement in the method |
| 12818 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
483 |
A method should have only one exit point, and that should be the last statement in the method |
| 12819 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
492 |
Unnecessary wrapper object creation |
| 12820 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
510 |
Avoid if (x != y) ..; else ..; |
| 12821 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
511 |
Avoid using if...else statements without curly braces |
| 12822 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
528 |
Avoid really long methods. |
| 12823 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
528 |
Avoid reassigning parameters such as 'userinfo' |
| 12824 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
528 |
The method 'doVotePK' has a Cyclomatic Complexity of 12. |
| 12825 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
528 |
The method doVotePK() has an NPath complexity of 384 |
| 12826 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
530 |
Found 'DU'-anomaly for variable 'cuser' (lines '530'-'628'). |
| 12827 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
532 |
Found 'DU'-anomaly for variable 'locationmap' (lines '532'-'628'). |
| 12828 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
533 |
Found 'DD'-anomaly for variable 'voteuser' (lines '533'-'561'). |
| 12829 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
533 |
Found 'DU'-anomaly for variable 'voteuser' (lines '533'-'628'). |
| 12830 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
541 |
A method should have only one exit point, and that should be the last statement in the method |
| 12831 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
549 |
A method should have only one exit point, and that should be the last statement in the method |
| 12832 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
573 |
Avoid if (x != y) ..; else ..; |
| 12833 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
574 |
Avoid using if...else statements without curly braces |
| 12834 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
579 |
Avoid if (x != y) ..; else ..; |
| 12835 |
src/weixin/idea/votepk/controller/WeixinVotePKController.java |
580 |
Avoid using if...else statements without curly braces |
| 12836 |
src/weixin/idea/votepk/controller/WeixinVotePKRecordController.java |
26 |
Avoid unused private fields such as 'logger'. |
| 12837 |
src/weixin/idea/votepk/controller/WeixinVotePKRecordController.java |
26 |
Variables that are final and static should be in all caps. |
| 12838 |
src/weixin/idea/votepk/controller/WeixinVotePKRecordController.java |
29 |
Avoid excessively long variable names like weixinVotePKRecordService |
| 12839 |
src/weixin/idea/votepk/controller/WeixinVotePKRecordController.java |
29 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12840 |
src/weixin/idea/votepk/controller/WeixinVotePKRecordController.java |
32 |
Avoid unused private fields such as 'systemService'. |
| 12841 |
src/weixin/idea/votepk/controller/WeixinVotePKRecordController.java |
37 |
Parameter 'message' is not assigned and could be declared final |
| 12842 |
src/weixin/idea/votepk/controller/WeixinVotePKRecordController.java |
43 |
Parameter 'request' is not assigned and could be declared final |
| 12843 |
src/weixin/idea/votepk/controller/WeixinVotePKRecordController.java |
48 |
Avoid excessively long variable names like weixinVotePKRecord |
| 12844 |
src/weixin/idea/votepk/controller/WeixinVotePKRecordController.java |
48 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 12845 |
src/weixin/idea/votepk/controller/WeixinVotePKRecordController.java |
48 |
Parameter 'request' is not assigned and could be declared final |
| 12846 |
src/weixin/idea/votepk/controller/WeixinVotePKRecordController.java |
48 |
Parameter 'response' is not assigned and could be declared final |
| 12847 |
src/weixin/idea/votepk/controller/WeixinVotePKRecordController.java |
49 |
Avoid variables with short names like cq |
| 12848 |
src/weixin/idea/votepk/controller/WeixinVotePKRecordController.java |
49 |
Local variable 'cq' could be declared final |
| 12849 |
src/weixin/idea/votepk/controller/WeixinVotePKRecordController.java |
57 |
New exception is thrown in catch block, original stack trace may be lost |
| 12850 |
src/weixin/idea/votepk/controller/WeixinVotePKSignUserinfoController.java |
26 |
Avoid unused private fields such as 'logger'. |
| 12851 |
src/weixin/idea/votepk/controller/WeixinVotePKSignUserinfoController.java |
26 |
Variables that are final and static should be in all caps. |
| 12852 |
src/weixin/idea/votepk/controller/WeixinVotePKSignUserinfoController.java |
29 |
Avoid excessively long variable names like weixinVotePKSignUserinfoService |
| 12853 |
src/weixin/idea/votepk/controller/WeixinVotePKSignUserinfoController.java |
29 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12854 |
src/weixin/idea/votepk/controller/WeixinVotePKSignUserinfoController.java |
32 |
Avoid unused private fields such as 'systemService'. |
| 12855 |
src/weixin/idea/votepk/controller/WeixinVotePKSignUserinfoController.java |
37 |
Parameter 'message' is not assigned and could be declared final |
| 12856 |
src/weixin/idea/votepk/controller/WeixinVotePKSignUserinfoController.java |
43 |
Parameter 'request' is not assigned and could be declared final |
| 12857 |
src/weixin/idea/votepk/controller/WeixinVotePKSignUserinfoController.java |
48 |
Avoid excessively long variable names like weixinVotePKSignUserinfo |
| 12858 |
src/weixin/idea/votepk/controller/WeixinVotePKSignUserinfoController.java |
48 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 12859 |
src/weixin/idea/votepk/controller/WeixinVotePKSignUserinfoController.java |
48 |
Parameter 'request' is not assigned and could be declared final |
| 12860 |
src/weixin/idea/votepk/controller/WeixinVotePKSignUserinfoController.java |
48 |
Parameter 'response' is not assigned and could be declared final |
| 12861 |
src/weixin/idea/votepk/controller/WeixinVotePKSignUserinfoController.java |
49 |
Avoid variables with short names like cq |
| 12862 |
src/weixin/idea/votepk/controller/WeixinVotePKSignUserinfoController.java |
49 |
Local variable 'cq' could be declared final |
| 12863 |
src/weixin/idea/votepk/controller/WeixinVotePKSignUserinfoController.java |
56 |
New exception is thrown in catch block, original stack trace may be lost |
| 12864 |
src/weixin/idea/votepk/entity/WeixinVotePKConfig.java |
14 |
Avoid variables with short names like id |
| 12865 |
src/weixin/idea/votepk/entity/WeixinVotePKConfig.java |
27 |
Avoid variables with short names like id |
| 12866 |
src/weixin/idea/votepk/entity/WeixinVotePKConfig.java |
27 |
Parameter 'id' is not assigned and could be declared final |
| 12867 |
src/weixin/idea/votepk/entity/WeixinVotePKConfig.java |
34 |
Parameter 'configName' is not assigned and could be declared final |
| 12868 |
src/weixin/idea/votepk/entity/WeixinVotePKConfig.java |
42 |
Parameter 'configValue' is not assigned and could be declared final |
| 12869 |
src/weixin/idea/votepk/entity/WeixinVotePKConfig.java |
49 |
Parameter 'accountid' is not assigned and could be declared final |
| 12870 |
src/weixin/idea/votepk/entity/WeixinVotePKRecord.java |
15 |
Avoid variables with short names like id |
| 12871 |
src/weixin/idea/votepk/entity/WeixinVotePKRecord.java |
34 |
Avoid variables with short names like id |
| 12872 |
src/weixin/idea/votepk/entity/WeixinVotePKRecord.java |
34 |
Parameter 'id' is not assigned and could be declared final |
| 12873 |
src/weixin/idea/votepk/entity/WeixinVotePKRecord.java |
41 |
Parameter 'openid' is not assigned and could be declared final |
| 12874 |
src/weixin/idea/votepk/entity/WeixinVotePKRecord.java |
48 |
Parameter 'voteopenid' is not assigned and could be declared final |
| 12875 |
src/weixin/idea/votepk/entity/WeixinVotePKRecord.java |
55 |
Parameter 'accountid' is not assigned and could be declared final |
| 12876 |
src/weixin/idea/votepk/entity/WeixinVotePKRecord.java |
62 |
Parameter 'votedate' is not assigned and could be declared final |
| 12877 |
src/weixin/idea/votepk/entity/WeixinVotePKSignUserinfo.java |
15 |
Avoid variables with short names like id |
| 12878 |
src/weixin/idea/votepk/entity/WeixinVotePKSignUserinfo.java |
34 |
Avoid variables with short names like id |
| 12879 |
src/weixin/idea/votepk/entity/WeixinVotePKSignUserinfo.java |
34 |
Parameter 'id' is not assigned and could be declared final |
| 12880 |
src/weixin/idea/votepk/entity/WeixinVotePKSignUserinfo.java |
41 |
Parameter 'openid' is not assigned and could be declared final |
| 12881 |
src/weixin/idea/votepk/entity/WeixinVotePKSignUserinfo.java |
48 |
Parameter 'accountid' is not assigned and could be declared final |
| 12882 |
src/weixin/idea/votepk/entity/WeixinVotePKSignUserinfo.java |
55 |
Parameter 'votecount' is not assigned and could be declared final |
| 12883 |
src/weixin/idea/votepk/entity/WeixinVotePKSignUserinfo.java |
62 |
Parameter 'signdate' is not assigned and could be declared final |
| 12884 |
src/weixin/idea/votepk/service/WeixinVotePKConfigService.java |
8 |
Avoid modifiers which are implied by the context |
| 12885 |
src/weixin/idea/votepk/service/WeixinVotePKRecordService.java |
9 |
Avoid modifiers which are implied by the context |
| 12886 |
src/weixin/idea/votepk/service/WeixinVotePKRecordService.java |
11 |
Avoid modifiers which are implied by the context |
| 12887 |
src/weixin/idea/votepk/service/WeixinVotePKRecordService.java |
13 |
Avoid modifiers which are implied by the context |
| 12888 |
src/weixin/idea/votepk/service/WeixinVotePKRecordService.java |
15 |
Avoid modifiers which are implied by the context |
| 12889 |
src/weixin/idea/votepk/service/WeixinVotePKService.java |
7 |
Avoid modifiers which are implied by the context |
| 12890 |
src/weixin/idea/votepk/service/WeixinVotePKService.java |
9 |
Avoid modifiers which are implied by the context |
| 12891 |
src/weixin/idea/votepk/service/WeixinVotePKSignUserinfoService.java |
9 |
Avoid modifiers which are implied by the context |
| 12892 |
src/weixin/idea/votepk/service/WeixinVotePKSignUserinfoService.java |
11 |
Avoid excessively long variable names like paramCriteriaQuery |
| 12893 |
src/weixin/idea/votepk/service/WeixinVotePKSignUserinfoService.java |
11 |
Avoid modifiers which are implied by the context |
| 12894 |
src/weixin/idea/votepk/service/impl/WeixinVotePKConfigServiceImpl.java |
16 |
Parameter 'accountid' is not assigned and could be declared final |
| 12895 |
src/weixin/idea/votepk/service/impl/WeixinVotePKConfigServiceImpl.java |
16 |
Parameter 'name' is not assigned and could be declared final |
| 12896 |
src/weixin/idea/votepk/service/impl/WeixinVotePKConfigServiceImpl.java |
18 |
Avoid variables with short names like cq |
| 12897 |
src/weixin/idea/votepk/service/impl/WeixinVotePKConfigServiceImpl.java |
18 |
Local variable 'cq' could be declared final |
| 12898 |
src/weixin/idea/votepk/service/impl/WeixinVotePKConfigServiceImpl.java |
25 |
New exception is thrown in catch block, original stack trace may be lost |
| 12899 |
src/weixin/idea/votepk/service/impl/WeixinVotePKConfigServiceImpl.java |
28 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12900 |
src/weixin/idea/votepk/service/impl/WeixinVotePKConfigServiceImpl.java |
28 |
Local variable 'userlist' could be declared final |
| 12901 |
src/weixin/idea/votepk/service/impl/WeixinVotePKConfigServiceImpl.java |
29 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 12902 |
src/weixin/idea/votepk/service/impl/WeixinVotePKConfigServiceImpl.java |
30 |
A method should have only one exit point, and that should be the last statement in the method |
| 12903 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
20 |
The class 'WeixinVotePKRecordServiceImpl' has a Cyclomatic Complexity of 4 (Highest = 10). |
| 12904 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
25 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12905 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
28 |
Avoid excessively long variable names like customerMessageService |
| 12906 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
28 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12907 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
30 |
Parameter 'accountid' is not assigned and could be declared final |
| 12908 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
30 |
Parameter 'openid' is not assigned and could be declared final |
| 12909 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
32 |
Avoid variables with short names like cq |
| 12910 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
32 |
Local variable 'cq' could be declared final |
| 12911 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
40 |
New exception is thrown in catch block, original stack trace may be lost |
| 12912 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
43 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12913 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
43 |
Local variable 'recordlist' could be declared final |
| 12914 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
44 |
Consider simply returning the value vs storing it in local variable 'recordlist' |
| 12915 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
47 |
Parameter 'accountid' is not assigned and could be declared final |
| 12916 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
47 |
Parameter 'openid' is not assigned and could be declared final |
| 12917 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
49 |
Avoid variables with short names like cq |
| 12918 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
49 |
Local variable 'cq' could be declared final |
| 12919 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
56 |
New exception is thrown in catch block, original stack trace may be lost |
| 12920 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
59 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12921 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
59 |
Local variable 'recordlist' could be declared final |
| 12922 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
60 |
Consider simply returning the value vs storing it in local variable 'recordlist' |
| 12923 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
63 |
Parameter 'accountid' is not assigned and could be declared final |
| 12924 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
65 |
Avoid variables with short names like cq |
| 12925 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
65 |
Local variable 'cq' could be declared final |
| 12926 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
73 |
New exception is thrown in catch block, original stack trace may be lost |
| 12927 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
76 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12928 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
77 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 12929 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
78 |
A method should have only one exit point, and that should be the last statement in the method |
| 12930 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
83 |
The method 'sendMsg' has a Cyclomatic Complexity of 10. |
| 12931 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
87 |
Found 'DD'-anomaly for variable 'content' (lines '87'-'105'). |
| 12932 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
87 |
Found 'DD'-anomaly for variable 'content' (lines '87'-'91'). |
| 12933 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
87 |
Found 'DD'-anomaly for variable 'content' (lines '87'-'98'). |
| 12934 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
88 |
Found 'DD'-anomaly for variable 'content2' (lines '88'-'101'). |
| 12935 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
88 |
Found 'DD'-anomaly for variable 'content2' (lines '88'-'108'). |
| 12936 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
88 |
Found 'DD'-anomaly for variable 'content2' (lines '88'-'94'). |
| 12937 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
93 |
Avoid using if statements without curly braces |
| 12938 |
src/weixin/idea/votepk/service/impl/WeixinVotePKRecordServiceImpl.java |
100 |
Avoid using if statements without curly braces |
| 12939 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
23 |
Avoid excessively long variable names like weixinVotePKSignUserinfoService |
| 12940 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
23 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12941 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
26 |
Avoid excessively long variable names like weixinVotePKRecordService |
| 12942 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
26 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12943 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
29 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12944 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
31 |
Parameter 'accountid' is not assigned and could be declared final |
| 12945 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
31 |
Parameter 'openid' is not assigned and could be declared final |
| 12946 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
31 |
Parameter 'sceneid' is not assigned and could be declared final |
| 12947 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
32 |
Parameter 'count' is not assigned and could be declared final |
| 12948 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
32 |
Parameter 'votetype' is not assigned and could be declared final |
| 12949 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
33 |
Found 'DU'-anomaly for variable 'voteuser' (lines '33'-'66'). |
| 12950 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
33 |
Local variable 'voteuser' could be declared final |
| 12951 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
36 |
Local variable 'userinfolist' could be declared final |
| 12952 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
40 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 12953 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
41 |
These nested if statements could be combined |
| 12954 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
44 |
Local variable 'record' could be declared final |
| 12955 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
55 |
Local variable 'user' could be declared final |
| 12956 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
70 |
Avoid variables with short names like cq |
| 12957 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
70 |
Local variable 'cq' could be declared final |
| 12958 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
76 |
New exception is thrown in catch block, original stack trace may be lost |
| 12959 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
80 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12960 |
src/weixin/idea/votepk/service/impl/WeixinVotePKServiceImpl.java |
84 |
Avoid variables with short names like u |
| 12961 |
src/weixin/idea/votepk/service/impl/WeixinVotePKSignUserinfoServiceImpl.java |
5 |
Avoid unused imports such as 'org.hibernate.criterion.DetachedCriteria' |
| 12962 |
src/weixin/idea/votepk/service/impl/WeixinVotePKSignUserinfoServiceImpl.java |
5 |
Avoid unused imports such as 'org.hibernate.criterion.DetachedCriteria' |
| 12963 |
src/weixin/idea/votepk/service/impl/WeixinVotePKSignUserinfoServiceImpl.java |
19 |
Parameter 'accountid' is not assigned and could be declared final |
| 12964 |
src/weixin/idea/votepk/service/impl/WeixinVotePKSignUserinfoServiceImpl.java |
19 |
Parameter 'openid' is not assigned and could be declared final |
| 12965 |
src/weixin/idea/votepk/service/impl/WeixinVotePKSignUserinfoServiceImpl.java |
21 |
Avoid variables with short names like cq |
| 12966 |
src/weixin/idea/votepk/service/impl/WeixinVotePKSignUserinfoServiceImpl.java |
21 |
Local variable 'cq' could be declared final |
| 12967 |
src/weixin/idea/votepk/service/impl/WeixinVotePKSignUserinfoServiceImpl.java |
28 |
New exception is thrown in catch block, original stack trace may be lost |
| 12968 |
src/weixin/idea/votepk/service/impl/WeixinVotePKSignUserinfoServiceImpl.java |
31 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 12969 |
src/weixin/idea/votepk/service/impl/WeixinVotePKSignUserinfoServiceImpl.java |
31 |
Local variable 'userlist' could be declared final |
| 12970 |
src/weixin/idea/votepk/service/impl/WeixinVotePKSignUserinfoServiceImpl.java |
32 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 12971 |
src/weixin/idea/votepk/service/impl/WeixinVotePKSignUserinfoServiceImpl.java |
33 |
A method should have only one exit point, and that should be the last statement in the method |
| 12972 |
src/weixin/idea/votepk/service/impl/WeixinVotePKSignUserinfoServiceImpl.java |
38 |
Avoid variables with short names like cq |
| 12973 |
src/weixin/idea/votepk/service/impl/WeixinVotePKSignUserinfoServiceImpl.java |
38 |
Parameter 'cq' is not assigned and could be declared final |
| 12974 |
src/weixin/idea/votepk/service/impl/WeixinVotePKSignUserinfoServiceImpl.java |
40 |
Local variable 'criteria' could be declared final |
| 12975 |
src/weixin/idea/votepk/service/impl/WeixinVotePKSignUserinfoServiceImpl.java |
42 |
Local variable 'allCounts' could be declared final |
| 12976 |
src/weixin/idea/votepk/view/WeixinVotePKRecordView.java |
17 |
Parameter 'openid' is not assigned and could be declared final |
| 12977 |
src/weixin/idea/votepk/view/WeixinVotePKRecordView.java |
23 |
Parameter 'nickname' is not assigned and could be declared final |
| 12978 |
src/weixin/idea/votepk/view/WeixinVotePKRecordView.java |
29 |
Parameter 'imgurl' is not assigned and could be declared final |
| 12979 |
src/weixin/idea/votepk/view/WeixinVotePKRecordView.java |
35 |
Parameter 'accountid' is not assigned and could be declared final |
| 12980 |
src/weixin/idea/votepk/view/WeixinVotePKRecordView.java |
41 |
Parameter 'votedate' is not assigned and could be declared final |
| 12981 |
src/weixin/idea/votepk/view/WeixinVotePKSortView.java |
15 |
Parameter 'openid' is not assigned and could be declared final |
| 12982 |
src/weixin/idea/votepk/view/WeixinVotePKSortView.java |
21 |
Parameter 'accountid' is not assigned and could be declared final |
| 12983 |
src/weixin/idea/votepk/view/WeixinVotePKSortView.java |
27 |
Parameter 'imgurl' is not assigned and could be declared final |
| 12984 |
src/weixin/idea/votepk/view/WeixinVotePKSortView.java |
33 |
Parameter 'nickname' is not assigned and could be declared final |
| 12985 |
src/weixin/idea/votepk/view/WeixinVotePKSortView.java |
39 |
Parameter 'votecount' is not assigned and could be declared final |
| 12986 |
src/weixin/promotion/controller/MemberCouponController.java |
24 |
Avoid unused imports such as 'weixin.promotion.entity.PromotionCouponEntity' |
| 12987 |
src/weixin/promotion/controller/MemberCouponController.java |
24 |
Avoid unused imports such as 'weixin.promotion.entity.PromotionCouponEntity' |
| 12988 |
src/weixin/promotion/controller/MemberCouponController.java |
26 |
Avoid unused imports such as 'weixin.vip.entity.WeixinVipMemberEntity' |
| 12989 |
src/weixin/promotion/controller/MemberCouponController.java |
26 |
Avoid unused imports such as 'weixin.vip.entity.WeixinVipMemberEntity' |
| 12990 |
src/weixin/promotion/controller/MemberCouponController.java |
33 |
Avoid unused private fields such as 'logger'. |
| 12991 |
src/weixin/promotion/controller/MemberCouponController.java |
33 |
Variables that are final and static should be in all caps. |
| 12992 |
src/weixin/promotion/controller/MemberCouponController.java |
36 |
Avoid excessively long variable names like memberCouponService |
| 12993 |
src/weixin/promotion/controller/MemberCouponController.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12994 |
src/weixin/promotion/controller/MemberCouponController.java |
39 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 12995 |
src/weixin/promotion/controller/MemberCouponController.java |
44 |
Parameter 'message' is not assigned and could be declared final |
| 12996 |
src/weixin/promotion/controller/MemberCouponController.java |
50 |
Parameter 'request' is not assigned and could be declared final |
| 12997 |
src/weixin/promotion/controller/MemberCouponController.java |
56 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 12998 |
src/weixin/promotion/controller/MemberCouponController.java |
56 |
Parameter 'memberCoupon' is not assigned and could be declared final |
| 12999 |
src/weixin/promotion/controller/MemberCouponController.java |
56 |
Parameter 'request' is not assigned and could be declared final |
| 13000 |
src/weixin/promotion/controller/MemberCouponController.java |
58 |
Avoid variables with short names like cq |
| 13001 |
src/weixin/promotion/controller/MemberCouponController.java |
58 |
Local variable 'cq' could be declared final |
| 13002 |
src/weixin/promotion/controller/MemberCouponController.java |
67 |
Avoid reassigning parameters such as 'memberCoupon' |
| 13003 |
src/weixin/promotion/controller/MemberCouponController.java |
69 |
Avoid variables with short names like j |
| 13004 |
src/weixin/promotion/controller/MemberCouponController.java |
69 |
Local variable 'j' could be declared final |
| 13005 |
src/weixin/promotion/controller/MemberCouponController.java |
83 |
Avoid variables with short names like j |
| 13006 |
src/weixin/promotion/controller/MemberCouponController.java |
83 |
Local variable 'j' could be declared final |
| 13007 |
src/weixin/promotion/controller/MemberCouponController.java |
86 |
Avoid variables with short names like t |
| 13008 |
src/weixin/promotion/controller/MemberCouponController.java |
86 |
Local variable 't' could be declared final |
| 13009 |
src/weixin/promotion/controller/MemberCouponController.java |
92 |
Avoid printStackTrace(); use a logger call instead. |
| 13010 |
src/weixin/promotion/controller/MemberCouponController.java |
97 |
Local variable 'mlist' could be declared final |
| 13011 |
src/weixin/promotion/controller/MemberCouponController.java |
99 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 13012 |
src/weixin/promotion/controller/MemberCouponController.java |
100 |
Avoid variables with short names like c |
| 13013 |
src/weixin/promotion/controller/MemberCouponController.java |
113 |
Avoid reassigning parameters such as 'memberCoupon' |
| 13014 |
src/weixin/promotion/controller/PromotionCouponController.java |
32 |
Avoid unused private fields such as 'logger'. |
| 13015 |
src/weixin/promotion/controller/PromotionCouponController.java |
32 |
Variables that are final and static should be in all caps. |
| 13016 |
src/weixin/promotion/controller/PromotionCouponController.java |
35 |
Avoid excessively long variable names like promotionCouponService |
| 13017 |
src/weixin/promotion/controller/PromotionCouponController.java |
35 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13018 |
src/weixin/promotion/controller/PromotionCouponController.java |
38 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13019 |
src/weixin/promotion/controller/PromotionCouponController.java |
43 |
Parameter 'message' is not assigned and could be declared final |
| 13020 |
src/weixin/promotion/controller/PromotionCouponController.java |
49 |
Parameter 'request' is not assigned and could be declared final |
| 13021 |
src/weixin/promotion/controller/PromotionCouponController.java |
55 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 13022 |
src/weixin/promotion/controller/PromotionCouponController.java |
55 |
Parameter 'promotionCoupon' is not assigned and could be declared final |
| 13023 |
src/weixin/promotion/controller/PromotionCouponController.java |
55 |
Parameter 'request' is not assigned and could be declared final |
| 13024 |
src/weixin/promotion/controller/PromotionCouponController.java |
57 |
Avoid variables with short names like cq |
| 13025 |
src/weixin/promotion/controller/PromotionCouponController.java |
57 |
Local variable 'cq' could be declared final |
| 13026 |
src/weixin/promotion/controller/PromotionCouponController.java |
66 |
Avoid reassigning parameters such as 'promotionCoupon' |
| 13027 |
src/weixin/promotion/controller/PromotionCouponController.java |
68 |
Avoid variables with short names like j |
| 13028 |
src/weixin/promotion/controller/PromotionCouponController.java |
68 |
Local variable 'j' could be declared final |
| 13029 |
src/weixin/promotion/controller/PromotionCouponController.java |
82 |
Avoid variables with short names like j |
| 13030 |
src/weixin/promotion/controller/PromotionCouponController.java |
82 |
Local variable 'j' could be declared final |
| 13031 |
src/weixin/promotion/controller/PromotionCouponController.java |
85 |
Avoid variables with short names like t |
| 13032 |
src/weixin/promotion/controller/PromotionCouponController.java |
85 |
Local variable 't' could be declared final |
| 13033 |
src/weixin/promotion/controller/PromotionCouponController.java |
91 |
Avoid printStackTrace(); use a logger call instead. |
| 13034 |
src/weixin/promotion/controller/PromotionCouponController.java |
108 |
Avoid reassigning parameters such as 'promotionCoupon' |
| 13035 |
src/weixin/promotion/controller/PromotionCouponController.java |
115 |
Avoid variables with short names like s |
| 13036 |
src/weixin/promotion/controller/PromotionCouponController.java |
115 |
Local variable 's' could be declared final |
| 13037 |
src/weixin/promotion/controller/PromotionCouponController.java |
116 |
Found 'DD'-anomaly for variable 'ss' (lines '116'-'122'). |
| 13038 |
src/weixin/promotion/controller/PromotionCouponController.java |
122 |
Prefer StringBuffer over += for concatenating strings |
| 13039 |
src/weixin/promotion/controller/PromotionCouponController.java |
123 |
Prefer StringBuffer over += for concatenating strings |
| 13040 |
src/weixin/promotion/controller/PromotionCouponController.java |
124 |
Prefer StringBuffer over += for concatenating strings |
| 13041 |
src/weixin/promotion/controller/PromotionCouponController.java |
125 |
Prefer StringBuffer over += for concatenating strings |
| 13042 |
src/weixin/promotion/controller/PromotionCouponController.java |
126 |
Prefer StringBuffer over += for concatenating strings |
| 13043 |
src/weixin/promotion/entity/MemberCouponEntity.java |
21 |
Classes implementing Serializable should set a serialVersionUID |
| 13044 |
src/weixin/promotion/entity/MemberCouponEntity.java |
24 |
Avoid variables with short names like id |
| 13045 |
src/weixin/promotion/entity/MemberCouponEntity.java |
38 |
Avoid variables with short names like id |
| 13046 |
src/weixin/promotion/entity/MemberCouponEntity.java |
38 |
Parameter 'id' is not assigned and could be declared final |
| 13047 |
src/weixin/promotion/entity/MemberCouponEntity.java |
50 |
Parameter 'coupon' is not assigned and could be declared final |
| 13048 |
src/weixin/promotion/entity/MemberCouponEntity.java |
62 |
Parameter 'memberVip' is not assigned and could be declared final |
| 13049 |
src/weixin/promotion/entity/MemberCouponEntity.java |
73 |
Parameter 'quantity' is not assigned and could be declared final |
| 13050 |
src/weixin/promotion/entity/PromotionCouponEntity.java |
19 |
Classes implementing Serializable should set a serialVersionUID |
| 13051 |
src/weixin/promotion/entity/PromotionCouponEntity.java |
22 |
Avoid variables with short names like id |
| 13052 |
src/weixin/promotion/entity/PromotionCouponEntity.java |
46 |
Avoid variables with short names like id |
| 13053 |
src/weixin/promotion/entity/PromotionCouponEntity.java |
46 |
Parameter 'id' is not assigned and could be declared final |
| 13054 |
src/weixin/promotion/entity/PromotionCouponEntity.java |
57 |
Parameter 'name' is not assigned and could be declared final |
| 13055 |
src/weixin/promotion/entity/PromotionCouponEntity.java |
68 |
Parameter 'price' is not assigned and could be declared final |
| 13056 |
src/weixin/promotion/entity/PromotionCouponEntity.java |
79 |
Parameter 'code' is not assigned and could be declared final |
| 13057 |
src/weixin/promotion/entity/PromotionCouponEntity.java |
90 |
Parameter 'type' is not assigned and could be declared final |
| 13058 |
src/weixin/promotion/service/MemberCouponServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 13059 |
src/weixin/promotion/service/PromotionCouponServiceI.java |
9 |
Avoid excessively long variable names like paramArrayOfString |
| 13060 |
src/weixin/promotion/service/PromotionCouponServiceI.java |
9 |
Avoid modifiers which are implied by the context |
| 13061 |
src/weixin/promotion/service/PromotionCouponServiceI.java |
11 |
Avoid modifiers which are implied by the context |
| 13062 |
src/weixin/promotion/service/impl/MemberCouponServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 13063 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
11 |
Avoid unused imports such as 'weixin.promotion.entity.PromotionCouponEntity' |
| 13064 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
11 |
Avoid unused imports such as 'weixin.promotion.entity.PromotionCouponEntity' |
| 13065 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
20 |
The class 'PromotionCouponServiceImpl' has a Cyclomatic Complexity of 8 (Highest = 17). |
| 13066 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
25 |
Avoid excessively long variable names like weixinVipMemberService |
| 13067 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
25 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13068 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
28 |
Avoid excessively long variable names like weixinVipInfoService |
| 13069 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
28 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13070 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
30 |
Parameter 'accountid' is not assigned and could be declared final |
| 13071 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
30 |
Parameter 'goodids' is not assigned and could be declared final |
| 13072 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
30 |
Parameter 'price' is not assigned and could be declared final |
| 13073 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
30 |
Parameter 'userid' is not assigned and could be declared final |
| 13074 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
30 |
The method 'findCouponByMember' has a Cyclomatic Complexity of 17. |
| 13075 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
30 |
The method findCouponByMember() has an NPath complexity of 756 |
| 13076 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
33 |
A method should have only one exit point, and that should be the last statement in the method |
| 13077 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
35 |
Local variable 'list' could be declared final |
| 13078 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
37 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 13079 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
38 |
A method should have only one exit point, and that should be the last statement in the method |
| 13080 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
40 |
Found 'DD'-anomaly for variable 'str' (lines '40'-'42'). |
| 13081 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
40 |
Found 'DD'-anomaly for variable 'str' (lines '40'-'44'). |
| 13082 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
42 |
Prefer StringBuffer over += for concatenating strings |
| 13083 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
45 |
Local variable 'memberlist' could be declared final |
| 13084 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
47 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 13085 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
48 |
A method should have only one exit point, and that should be the last statement in the method |
| 13086 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
50 |
Avoid variables with short names like m |
| 13087 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
50 |
Local variable 'm' could be declared final |
| 13088 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
51 |
Local variable 'clist' could be declared final |
| 13089 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
52 |
Local variable 'membercouponlist' could be declared final |
| 13090 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
55 |
Avoid instantiating new objects inside loops |
| 13091 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
57 |
These nested if statements could be combined |
| 13092 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
59 |
Deeply nested if..then statements are hard to read |
| 13093 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
72 |
Parameter 'coupongoods' is not assigned and could be declared final |
| 13094 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
73 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 13095 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
73 |
Found 'DD'-anomaly for variable 'flag' (lines '73'-'77'). |
| 13096 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
77 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 13097 |
src/weixin/promotion/service/impl/PromotionCouponServiceImpl.java |
88 |
Consider simply returning the value vs storing it in local variable 'clist' |
| 13098 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 13099 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
4 |
Avoid unused imports such as 'java.io.InputStream' |
| 13100 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
4 |
Avoid unused imports such as 'java.io.InputStream' |
| 13101 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
9 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 13102 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
9 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 13103 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
31 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 13104 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
31 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 13105 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
47 |
This class has too many methods, consider refactoring it. |
| 13106 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
48 |
Variables that are final and static should be in all caps. |
| 13107 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
52 |
Avoid excessively long variable names like weixinShopAddressService |
| 13108 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
52 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13109 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
55 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13110 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
62 |
Parameter 'message' is not assigned and could be declared final |
| 13111 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
67 |
Parameter 'request' is not assigned and could be declared final |
| 13112 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
72 |
Parameter 'weixinShopAddress' is not assigned and could be declared final |
| 13113 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
73 |
Parameter 'request' is not assigned and could be declared final |
| 13114 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
73 |
Parameter 'response' is not assigned and could be declared final |
| 13115 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
75 |
Avoid variables with short names like cq |
| 13116 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
75 |
Local variable 'cq' could be declared final |
| 13117 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
88 |
Avoid reassigning parameters such as 'weixinShopAddress' |
| 13118 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
90 |
Avoid variables with short names like j |
| 13119 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
90 |
Found 'DU'-anomaly for variable 'j' (lines '90'-'107'). |
| 13120 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
90 |
Local variable 'j' could be declared final |
| 13121 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
101 |
Avoid printStackTrace(); use a logger call instead. |
| 13122 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
103 |
New exception is thrown in catch block, original stack trace may be lost |
| 13123 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
111 |
Avoid reassigning parameters such as 'weixinShopAddress' |
| 13124 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
113 |
Avoid variables with short names like j |
| 13125 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
113 |
Found 'DU'-anomaly for variable 'j' (lines '113'-'135'). |
| 13126 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
113 |
Local variable 'j' could be declared final |
| 13127 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
129 |
Avoid printStackTrace(); use a logger call instead. |
| 13128 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
131 |
New exception is thrown in catch block, original stack trace may be lost |
| 13129 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
140 |
Avoid variables with short names like j |
| 13130 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
140 |
Found 'DU'-anomaly for variable 'j' (lines '140'-'158'). |
| 13131 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
140 |
Local variable 'j' could be declared final |
| 13132 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
144 |
Local variable 'weixinShopAddress' could be declared final |
| 13133 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
152 |
Avoid printStackTrace(); use a logger call instead. |
| 13134 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
154 |
New exception is thrown in catch block, original stack trace may be lost |
| 13135 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
164 |
Avoid variables with short names like j |
| 13136 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
164 |
Found 'DU'-anomaly for variable 'j' (lines '164'-'191'). |
| 13137 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
185 |
Avoid printStackTrace(); use a logger call instead. |
| 13138 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
187 |
New exception is thrown in catch block, original stack trace may be lost |
| 13139 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
197 |
Found 'DU'-anomaly for variable 'j' (lines '197'-'213'). |
| 13140 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
207 |
Avoid printStackTrace(); use a logger call instead. |
| 13141 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
209 |
New exception is thrown in catch block, original stack trace may be lost |
| 13142 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
216 |
Avoid reassigning parameters such as 'weixinShopAddress' |
| 13143 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
229 |
Avoid reassigning parameters such as 'weixinShopAddress' |
| 13144 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
251 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '251'-'254'). |
| 13145 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
252 |
Found 'DD'-anomaly for variable 'fOut' (lines '252'-'284'). |
| 13146 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
258 |
The String literal "content-disposition" appears 4 times in this file; the first occurrence is on line 258 |
| 13147 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
259 |
The String literal "attachment;filename=" appears 4 times in this file; the first occurrence is on line 259 |
| 13148 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
260 |
The String literal "UTF-8" appears 4 times in this file; the first occurrence is on line 260 |
| 13149 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
261 |
The String literal ".xls" appears 4 times in this file; the first occurrence is on line 261 |
| 13150 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
270 |
Found 'DD'-anomaly for variable 'workbook' (lines '270'-'280'). |
| 13151 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
277 |
Avoid excessively long variable names like weixinShopAddresss |
| 13152 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
278 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 13153 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
286 |
Avoid empty catch blocks |
| 13154 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
291 |
Avoid empty catch blocks |
| 13155 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
301 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '301'-'304'). |
| 13156 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
302 |
Found 'DD'-anomaly for variable 'fOut' (lines '302'-'325'). |
| 13157 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
320 |
Found 'DD'-anomaly for variable 'workbook' (lines '320'-'321'). |
| 13158 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
327 |
Avoid empty catch blocks |
| 13159 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
332 |
Avoid empty catch blocks |
| 13160 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
347 |
Avoid instantiating new objects inside loops |
| 13161 |
src/weixin/shop/base/controller/WeixinShopAddressController.java |
352 |
Avoid excessively long variable names like listWeixinShopAddressEntitys |
| 13162 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
3 |
Avoid unused imports such as 'java.io.PrintStream' |
| 13163 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
3 |
Avoid unused imports such as 'java.io.PrintStream' |
| 13164 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
32 |
Avoid unused private fields such as 'logger'. |
| 13165 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
32 |
Variables that are final and static should be in all caps. |
| 13166 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
36 |
Avoid excessively long variable names like weixinShopCartService |
| 13167 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13168 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
39 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13169 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
46 |
Parameter 'message' is not assigned and could be declared final |
| 13170 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
51 |
Parameter 'request' is not assigned and could be declared final |
| 13171 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
56 |
Parameter 'weixinShopCart' is not assigned and could be declared final |
| 13172 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
57 |
Parameter 'request' is not assigned and could be declared final |
| 13173 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
57 |
Parameter 'response' is not assigned and could be declared final |
| 13174 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
59 |
Avoid variables with short names like cq |
| 13175 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
59 |
Local variable 'cq' could be declared final |
| 13176 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
61 |
Local variable 'accountid' could be declared final |
| 13177 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
74 |
Avoid reassigning parameters such as 'weixinShopCart' |
| 13178 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
76 |
Avoid variables with short names like j |
| 13179 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
76 |
Local variable 'j' could be declared final |
| 13180 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
88 |
Avoid reassigning parameters such as 'weixinShopCart' |
| 13181 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
90 |
Local variable 'buyNum' could be declared final |
| 13182 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
90 |
Unnecessary wrapper object creation |
| 13183 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
91 |
Local variable 'goodsId' could be declared final |
| 13184 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
96 |
Found 'DU'-anomaly for variable 'accountid' (lines '96'-'146'). |
| 13185 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
98 |
Found 'DD'-anomaly for variable 'sellerId' (lines '98'-'102'). |
| 13186 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
105 |
System.out.print is used |
| 13187 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
114 |
System.out.print is used |
| 13188 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
115 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 13189 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
141 |
System.out.print is used |
| 13190 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
151 |
Avoid variables with short names like j |
| 13191 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
161 |
Avoid reassigning parameters such as 'weixinShopCart' |
| 13192 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
163 |
Avoid variables with short names like j |
| 13193 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
164 |
Unnecessary wrapper object creation |
| 13194 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
170 |
Found 'DU'-anomaly for variable 'accountid' (lines '170'-'208'). |
| 13195 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
172 |
Found 'DD'-anomaly for variable 'sellerId' (lines '172'-'176'). |
| 13196 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
179 |
System.out.print is used |
| 13197 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
188 |
System.out.print is used |
| 13198 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
189 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 13199 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
213 |
Avoid unused local variables such as 'accountid'. |
| 13200 |
src/weixin/shop/base/controller/WeixinShopCartController.java |
213 |
Found 'DU'-anomaly for variable 'accountid' (lines '213'-'244'). |
| 13201 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 13202 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
4 |
Avoid unused imports such as 'java.io.InputStream' |
| 13203 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
4 |
Avoid unused imports such as 'java.io.InputStream' |
| 13204 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
10 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 13205 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
10 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 13206 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
55 |
This class has too many methods, consider refactoring it. |
| 13207 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
56 |
Variables that are final and static should be in all caps. |
| 13208 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
60 |
Avoid excessively long variable names like weixinShopCategoryService |
| 13209 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
60 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13210 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
63 |
Avoid excessively long variable names like weixinShopGoodsService |
| 13211 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
63 |
Avoid unused private fields such as 'weixinShopGoodsService'. |
| 13212 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
66 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13213 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
73 |
Parameter 'message' is not assigned and could be declared final |
| 13214 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
78 |
Parameter 'request' is not assigned and could be declared final |
| 13215 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
83 |
Avoid excessively long variable names like weixinShopCategory |
| 13216 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
83 |
Parameter 'weixinShopCategory' is not assigned and could be declared final |
| 13217 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
84 |
Parameter 'request' is not assigned and could be declared final |
| 13218 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
84 |
Parameter 'response' is not assigned and could be declared final |
| 13219 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
86 |
Avoid variables with short names like cq |
| 13220 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
86 |
Local variable 'cq' could be declared final |
| 13221 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
102 |
Avoid excessively long variable names like weixinShopCategory |
| 13222 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
102 |
Avoid reassigning parameters such as 'weixinShopCategory' |
| 13223 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
104 |
Avoid variables with short names like j |
| 13224 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
104 |
Found 'DU'-anomaly for variable 'j' (lines '104'-'128'). |
| 13225 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
104 |
Local variable 'j' could be declared final |
| 13226 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
105 |
Local variable 'sql' could be declared final |
| 13227 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
107 |
Local variable 'paramsMap' could be declared final |
| 13228 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
108 |
Avoid if (x != y) ..; else ..; |
| 13229 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
121 |
Avoid printStackTrace(); use a logger call instead. |
| 13230 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
123 |
New exception is thrown in catch block, original stack trace may be lost |
| 13231 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
133 |
Avoid variables with short names like j |
| 13232 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
133 |
Found 'DU'-anomaly for variable 'j' (lines '133'-'151'). |
| 13233 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
133 |
Local variable 'j' could be declared final |
| 13234 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
137 |
Avoid excessively long variable names like weixinShopCategory |
| 13235 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
145 |
Avoid printStackTrace(); use a logger call instead. |
| 13236 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
147 |
New exception is thrown in catch block, original stack trace may be lost |
| 13237 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
157 |
Avoid variables with short names like j |
| 13238 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
157 |
Found 'DU'-anomaly for variable 'j' (lines '157'-'172'). |
| 13239 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
166 |
Avoid printStackTrace(); use a logger call instead. |
| 13240 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
168 |
New exception is thrown in catch block, original stack trace may be lost |
| 13241 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
178 |
Avoid variables with short names like j |
| 13242 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
178 |
Found 'DU'-anomaly for variable 'j' (lines '178'-'194'). |
| 13243 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
188 |
Avoid printStackTrace(); use a logger call instead. |
| 13244 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
190 |
New exception is thrown in catch block, original stack trace may be lost |
| 13245 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
197 |
Avoid reassigning parameters such as 'weixinShopCategory' |
| 13246 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
221 |
Avoid reassigning parameters such as 'weixinShopCategory' |
| 13247 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
254 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '254'-'257'). |
| 13248 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
255 |
Found 'DD'-anomaly for variable 'fOut' (lines '255'-'288'). |
| 13249 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
261 |
The String literal "content-disposition" appears 4 times in this file; the first occurrence is on line 261 |
| 13250 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
262 |
The String literal "attachment;filename=" appears 4 times in this file; the first occurrence is on line 262 |
| 13251 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
263 |
The String literal "UTF-8" appears 4 times in this file; the first occurrence is on line 263 |
| 13252 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
264 |
The String literal ".xls" appears 4 times in this file; the first occurrence is on line 264 |
| 13253 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
273 |
Found 'DD'-anomaly for variable 'workbook' (lines '273'-'283'). |
| 13254 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
281 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 13255 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
290 |
Avoid empty catch blocks |
| 13256 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
295 |
Avoid empty catch blocks |
| 13257 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
305 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '305'-'308'). |
| 13258 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
306 |
Found 'DD'-anomaly for variable 'fOut' (lines '306'-'329'). |
| 13259 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
324 |
Found 'DD'-anomaly for variable 'workbook' (lines '324'-'325'). |
| 13260 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
331 |
Avoid empty catch blocks |
| 13261 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
336 |
Avoid empty catch blocks |
| 13262 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
351 |
Avoid instantiating new objects inside loops |
| 13263 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
371 |
Avoid printStackTrace(); use a logger call instead. |
| 13264 |
src/weixin/shop/base/controller/WeixinShopCategoryController.java |
391 |
Found 'DU'-anomaly for variable 'documentTitle' (lines '391'-'422'). |
| 13265 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 13266 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
3 |
Avoid unused imports such as 'java.io.PrintStream' |
| 13267 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
3 |
Avoid unused imports such as 'java.io.PrintStream' |
| 13268 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
53 |
The class 'WeixinShopDealController' has a Cyclomatic Complexity of 3 (Highest = 15). |
| 13269 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
53 |
This class has too many methods, consider refactoring it. |
| 13270 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
54 |
Avoid unused private fields such as 'logger'. |
| 13271 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
54 |
Variables that are final and static should be in all caps. |
| 13272 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
58 |
Avoid excessively long variable names like weixinShopDealService |
| 13273 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
58 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13274 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
61 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13275 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
64 |
Avoid excessively long variable names like weixinShopAddressService |
| 13276 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
64 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13277 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
67 |
Avoid excessively long variable names like weixinShopCategoryService |
| 13278 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
67 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13279 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
70 |
Avoid excessively long variable names like weixinShopGoodsService |
| 13280 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
70 |
Avoid unused private fields such as 'weixinShopGoodsService'. |
| 13281 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
77 |
Parameter 'message' is not assigned and could be declared final |
| 13282 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
82 |
Parameter 'request' is not assigned and could be declared final |
| 13283 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
83 |
Parameter 'response' is not assigned and could be declared final |
| 13284 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
84 |
Local variable 'addresslist' could be declared final |
| 13285 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
89 |
Avoid unused local variables such as 'goodsparams'. |
| 13286 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
89 |
Found 'DU'-anomaly for variable 'goodsparams' (lines '89'-'92'). |
| 13287 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
89 |
Local variable 'goodsparams' could be declared final |
| 13288 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
95 |
Avoid really long methods. |
| 13289 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
95 |
Parameter 'request' is not assigned and could be declared final |
| 13290 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
95 |
The method 'goPayPage' has a Cyclomatic Complexity of 15. |
| 13291 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
95 |
The method goPayPage() has an NCSS line count of 102 |
| 13292 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
95 |
The method goPayPage() has an NPath complexity of 2695 |
| 13293 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
96 |
Avoid reassigning parameters such as 'weixinShopOrder' |
| 13294 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
96 |
Parameter 'response' is not assigned and could be declared final |
| 13295 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
97 |
Avoid variables with short names like id |
| 13296 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
97 |
Local variable 'id' could be declared final |
| 13297 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
100 |
Local variable 'leaveword' could be declared final |
| 13298 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
102 |
Local variable 'payType' could be declared final |
| 13299 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
131 |
System.out.print is used |
| 13300 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
139 |
Avoid excessively long variable names like weixinShopAddressEntity |
| 13301 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
149 |
Do not add empty strings |
| 13302 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
164 |
Avoid variables with short names like yh |
| 13303 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
185 |
Found 'DU'-anomaly for variable 'accountid' (lines '185'-'263'). |
| 13304 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
196 |
System.out.print is used |
| 13305 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
198 |
System.out.print is used |
| 13306 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
201 |
Avoid instantiating new objects inside loops |
| 13307 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
230 |
Avoid using if statements without curly braces |
| 13308 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
231 |
An empty statement (semicolon) not part of a loop |
| 13309 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
231 |
Avoid empty if statements |
| 13310 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
233 |
Do not add empty strings |
| 13311 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
234 |
Do not add empty strings |
| 13312 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
247 |
Found 'DD'-anomaly for variable 'pay' (lines '247'-'249'). |
| 13313 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
248 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 13314 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
280 |
System.out.print is used |
| 13315 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
282 |
System.out.print is used |
| 13316 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
325 |
Avoid variables with short names like cq |
| 13317 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
343 |
Avoid reassigning parameters such as 'weixinShopDeal' |
| 13318 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
345 |
Avoid variables with short names like j |
| 13319 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
345 |
Found 'DU'-anomaly for variable 'j' (lines '345'-'360'). |
| 13320 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
354 |
Avoid printStackTrace(); use a logger call instead. |
| 13321 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
356 |
New exception is thrown in catch block, original stack trace may be lost |
| 13322 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
366 |
Avoid variables with short names like j |
| 13323 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
366 |
Found 'DU'-anomaly for variable 'j' (lines '366'-'379'). |
| 13324 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
373 |
Avoid printStackTrace(); use a logger call instead. |
| 13325 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
375 |
New exception is thrown in catch block, original stack trace may be lost |
| 13326 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
385 |
Found 'DU'-anomaly for variable 'j' (lines '385'-'401'). |
| 13327 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
395 |
Avoid printStackTrace(); use a logger call instead. |
| 13328 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
397 |
New exception is thrown in catch block, original stack trace may be lost |
| 13329 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
404 |
Avoid reassigning parameters such as 'weixinShopDeal' |
| 13330 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
455 |
Avoid really long methods. |
| 13331 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
520 |
Avoid unused local variables such as 'defaultbank'. |
| 13332 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
520 |
Found 'DU'-anomaly for variable 'defaultbank' (lines '520'-'568'). |
| 13333 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
538 |
StringBuffer constructor is initialized with size 16, but has at least 303 characters appended. |
| 13334 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
556 |
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. |
| 13335 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
559 |
StringBuffer.append is called 3 consecutive times with literal Strings. Use a single append with a single String. |
| 13336 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
570 |
Method names should not start with capital letters |
| 13337 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
588 |
Method names should not start with capital letters |
| 13338 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
589 |
Found 'DD'-anomaly for variable 'prestr' (lines '589'-'590'). |
| 13339 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
590 |
Prefer StringBuffer over += for concatenating strings |
| 13340 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
592 |
Consider simply returning the value vs storing it in local variable 'mysign' |
| 13341 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
595 |
Method names should not start with capital letters |
| 13342 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
599 |
Found 'DD'-anomaly for variable 'prestr' (lines '599'-'606'). |
| 13343 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
599 |
Found 'DD'-anomaly for variable 'prestr' (lines '599'-'608'). |
| 13344 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
606 |
Avoid using if...else statements without curly braces |
| 13345 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
606 |
Prefer StringBuffer over += for concatenating strings |
| 13346 |
src/weixin/shop/base/controller/WeixinShopDealController.java |
608 |
Prefer StringBuffer over += for concatenating strings |
| 13347 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 13348 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
4 |
Avoid unused imports such as 'java.io.InputStream' |
| 13349 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
4 |
Avoid unused imports such as 'java.io.InputStream' |
| 13350 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
10 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 13351 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
10 |
Avoid unused imports such as 'java.util.Map.Entry' |
| 13352 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
57 |
This class has too many methods, consider refactoring it. |
| 13353 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
58 |
Variables that are final and static should be in all caps. |
| 13354 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
62 |
Avoid excessively long variable names like weixinShopGoodsService |
| 13355 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
62 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13356 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
65 |
Avoid excessively long variable names like weixinShopDealService |
| 13357 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
65 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13358 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
68 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13359 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
75 |
Parameter 'message' is not assigned and could be declared final |
| 13360 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
80 |
Parameter 'request' is not assigned and could be declared final |
| 13361 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
85 |
Parameter 'request' is not assigned and could be declared final |
| 13362 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
90 |
Parameter 'weixinShopGoods' is not assigned and could be declared final |
| 13363 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
91 |
Parameter 'request' is not assigned and could be declared final |
| 13364 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
93 |
Avoid variables with short names like cq |
| 13365 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
93 |
Local variable 'cq' could be declared final |
| 13366 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
108 |
Avoid reassigning parameters such as 'weixinShopGoods' |
| 13367 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
110 |
Avoid variables with short names like j |
| 13368 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
110 |
Found 'DU'-anomaly for variable 'j' (lines '110'-'132'). |
| 13369 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
110 |
Local variable 'j' could be declared final |
| 13370 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
113 |
Local variable 'deallst' could be declared final |
| 13371 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
116 |
Avoid if (x != y) ..; else ..; |
| 13372 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
116 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 13373 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
123 |
Avoid printStackTrace(); use a logger call instead. |
| 13374 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
125 |
New exception is thrown in catch block, original stack trace may be lost |
| 13375 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
137 |
Avoid variables with short names like j |
| 13376 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
137 |
Found 'DU'-anomaly for variable 'j' (lines '137'-'164'). |
| 13377 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
137 |
Local variable 'j' could be declared final |
| 13378 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
141 |
Local variable 'deallst' could be declared final |
| 13379 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
143 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 13380 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
158 |
Avoid printStackTrace(); use a logger call instead. |
| 13381 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
160 |
New exception is thrown in catch block, original stack trace may be lost |
| 13382 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
170 |
Avoid variables with short names like j |
| 13383 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
170 |
Found 'DU'-anomaly for variable 'j' (lines '170'-'191'). |
| 13384 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
185 |
Avoid printStackTrace(); use a logger call instead. |
| 13385 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
187 |
New exception is thrown in catch block, original stack trace may be lost |
| 13386 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
197 |
Avoid variables with short names like j |
| 13387 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
197 |
Found 'DU'-anomaly for variable 'j' (lines '197'-'213'). |
| 13388 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
207 |
Avoid printStackTrace(); use a logger call instead. |
| 13389 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
209 |
New exception is thrown in catch block, original stack trace may be lost |
| 13390 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
216 |
Avoid reassigning parameters such as 'weixinShopGoods' |
| 13391 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
228 |
Avoid reassigning parameters such as 'weixinShopGoods' |
| 13392 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
249 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '249'-'252'). |
| 13393 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
250 |
Found 'DD'-anomaly for variable 'fOut' (lines '250'-'280'). |
| 13394 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
256 |
The String literal "content-disposition" appears 4 times in this file; the first occurrence is on line 256 |
| 13395 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
257 |
The String literal "attachment;filename=" appears 4 times in this file; the first occurrence is on line 257 |
| 13396 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
258 |
The String literal "UTF-8" appears 4 times in this file; the first occurrence is on line 258 |
| 13397 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
259 |
The String literal ".xls" appears 4 times in this file; the first occurrence is on line 259 |
| 13398 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
268 |
Found 'DD'-anomaly for variable 'workbook' (lines '268'-'276'). |
| 13399 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
275 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 13400 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
282 |
Avoid empty catch blocks |
| 13401 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
287 |
Avoid empty catch blocks |
| 13402 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
297 |
Found 'DD'-anomaly for variable 'codedFileName' (lines '297'-'300'). |
| 13403 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
298 |
Found 'DD'-anomaly for variable 'fOut' (lines '298'-'321'). |
| 13404 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
316 |
Found 'DD'-anomaly for variable 'workbook' (lines '316'-'317'). |
| 13405 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
323 |
Avoid empty catch blocks |
| 13406 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
328 |
Avoid empty catch blocks |
| 13407 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
343 |
Avoid instantiating new objects inside loops |
| 13408 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
348 |
Avoid excessively long variable names like listWeixinShopGoodsEntitys |
| 13409 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
363 |
Avoid printStackTrace(); use a logger call instead. |
| 13410 |
src/weixin/shop/base/controller/WeixinShopGoodsController.java |
381 |
Found 'DU'-anomaly for variable 'documentTitle' (lines '381'-'409'). |
| 13411 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
3 |
Avoid unused imports such as 'java.io.PrintStream' |
| 13412 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
3 |
Avoid unused imports such as 'java.io.PrintStream' |
| 13413 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
33 |
Avoid unused private fields such as 'logger'. |
| 13414 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
33 |
Variables that are final and static should be in all caps. |
| 13415 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
36 |
Avoid excessively long variable names like weixinShopMemberService |
| 13416 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13417 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
39 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13418 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
44 |
Parameter 'message' is not assigned and could be declared final |
| 13419 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
49 |
Parameter 'request' is not assigned and could be declared final |
| 13420 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
55 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 13421 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
55 |
Parameter 'request' is not assigned and could be declared final |
| 13422 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
55 |
Parameter 'response' is not assigned and could be declared final |
| 13423 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
57 |
Avoid variables with short names like cq |
| 13424 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
57 |
Local variable 'cq' could be declared final |
| 13425 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
66 |
Avoid reassigning parameters such as 'weixinShopMember' |
| 13426 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
68 |
Avoid variables with short names like j |
| 13427 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
68 |
Local variable 'j' could be declared final |
| 13428 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
82 |
Avoid variables with short names like j |
| 13429 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
82 |
Local variable 'j' could be declared final |
| 13430 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
85 |
Avoid variables with short names like t |
| 13431 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
85 |
Local variable 't' could be declared final |
| 13432 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
91 |
Avoid printStackTrace(); use a logger call instead. |
| 13433 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
105 |
Avoid reassigning parameters such as 'weixinShopMember' |
| 13434 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
124 |
Avoid variables with short names like j |
| 13435 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
124 |
Local variable 'j' could be declared final |
| 13436 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
127 |
System.out.print is used |
| 13437 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
129 |
System.out.print is used |
| 13438 |
src/weixin/shop/base/controller/WeixinShopMemberController.java |
131 |
Avoid if (x != y) ..; else ..; |
| 13439 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
30 |
Avoid unused private fields such as 'logger'. |
| 13440 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
30 |
Variables that are final and static should be in all caps. |
| 13441 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
33 |
Avoid excessively long variable names like weixinShopOrderDetailService |
| 13442 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
33 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13443 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13444 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
41 |
Parameter 'message' is not assigned and could be declared final |
| 13445 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
47 |
Parameter 'request' is not assigned and could be declared final |
| 13446 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
53 |
Avoid excessively long variable names like weixinShopOrderDetail |
| 13447 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
53 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 13448 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
53 |
Parameter 'request' is not assigned and could be declared final |
| 13449 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
53 |
Parameter 'response' is not assigned and could be declared final |
| 13450 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
55 |
Avoid variables with short names like cq |
| 13451 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
55 |
Local variable 'cq' could be declared final |
| 13452 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
64 |
Avoid excessively long variable names like weixinShopOrderDetail |
| 13453 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
64 |
Avoid reassigning parameters such as 'weixinShopOrderDetail' |
| 13454 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
66 |
Avoid variables with short names like j |
| 13455 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
66 |
Local variable 'j' could be declared final |
| 13456 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
78 |
Avoid excessively long variable names like weixinShopOrderDetail |
| 13457 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
80 |
Avoid variables with short names like j |
| 13458 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
80 |
Local variable 'j' could be declared final |
| 13459 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
83 |
Avoid variables with short names like t |
| 13460 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
83 |
Local variable 't' could be declared final |
| 13461 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
89 |
Avoid printStackTrace(); use a logger call instead. |
| 13462 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
102 |
Avoid excessively long variable names like weixinShopOrderDetail |
| 13463 |
src/weixin/shop/base/controller/WeixinShopOrderDetailController.java |
102 |
Avoid reassigning parameters such as 'weixinShopOrderDetail' |
| 13464 |
src/weixin/shop/base/dao/WeixinShopAddressDao.java |
14 |
The String literal "weixin.shop.base.entity.WeixinShopAddressEntity" appears 4 times in this file; the first occurrence is on line 14 |
| 13465 |
src/weixin/shop/base/dao/WeixinShopAddressDao.java |
15 |
Avoid excessively long variable names like paramWeixinShopAddressEntity |
| 13466 |
src/weixin/shop/base/dao/WeixinShopAddressDao.java |
15 |
Avoid modifiers which are implied by the context |
| 13467 |
src/weixin/shop/base/dao/WeixinShopAddressDao.java |
19 |
Avoid excessively long variable names like paramWeixinShopAddressEntity |
| 13468 |
src/weixin/shop/base/dao/WeixinShopAddressDao.java |
19 |
Avoid modifiers which are implied by the context |
| 13469 |
src/weixin/shop/base/dao/WeixinShopAddressDao.java |
23 |
Avoid modifiers which are implied by the context |
| 13470 |
src/weixin/shop/base/dao/WeixinShopAddressDao.java |
27 |
Avoid modifiers which are implied by the context |
| 13471 |
src/weixin/shop/base/dao/WeixinShopAddressDao.java |
30 |
Avoid modifiers which are implied by the context |
| 13472 |
src/weixin/shop/base/dao/WeixinShopCategoryDao.java |
15 |
The String literal "weixin.shop.base.entity.WeixinShopCategoryEntity" appears 4 times in this file; the first occurrence is on line 15 |
| 13473 |
src/weixin/shop/base/dao/WeixinShopCategoryDao.java |
16 |
Avoid excessively long variable names like paramWeixinShopCategoryEntity |
| 13474 |
src/weixin/shop/base/dao/WeixinShopCategoryDao.java |
16 |
Avoid modifiers which are implied by the context |
| 13475 |
src/weixin/shop/base/dao/WeixinShopCategoryDao.java |
20 |
Avoid excessively long variable names like paramWeixinShopCategoryEntity |
| 13476 |
src/weixin/shop/base/dao/WeixinShopCategoryDao.java |
20 |
Avoid modifiers which are implied by the context |
| 13477 |
src/weixin/shop/base/dao/WeixinShopCategoryDao.java |
24 |
Avoid modifiers which are implied by the context |
| 13478 |
src/weixin/shop/base/dao/WeixinShopCategoryDao.java |
28 |
Avoid modifiers which are implied by the context |
| 13479 |
src/weixin/shop/base/dao/WeixinShopGoodsDao.java |
15 |
The String literal "weixin.shop.base.entity.WeixinShopGoodsEntity" appears 4 times in this file; the first occurrence is on line 15 |
| 13480 |
src/weixin/shop/base/dao/WeixinShopGoodsDao.java |
16 |
Avoid excessively long variable names like paramWeixinShopGoodsEntity |
| 13481 |
src/weixin/shop/base/dao/WeixinShopGoodsDao.java |
16 |
Avoid modifiers which are implied by the context |
| 13482 |
src/weixin/shop/base/dao/WeixinShopGoodsDao.java |
20 |
Avoid excessively long variable names like paramWeixinShopGoodsEntity |
| 13483 |
src/weixin/shop/base/dao/WeixinShopGoodsDao.java |
20 |
Avoid modifiers which are implied by the context |
| 13484 |
src/weixin/shop/base/dao/WeixinShopGoodsDao.java |
24 |
Avoid modifiers which are implied by the context |
| 13485 |
src/weixin/shop/base/dao/WeixinShopGoodsDao.java |
28 |
Avoid modifiers which are implied by the context |
| 13486 |
src/weixin/shop/base/dao/WeixinShopGoodsDao.java |
31 |
Avoid modifiers which are implied by the context |
| 13487 |
src/weixin/shop/base/entity/WeixinShopAddressEntity.java |
15 |
Classes implementing Serializable should set a serialVersionUID |
| 13488 |
src/weixin/shop/base/entity/WeixinShopAddressEntity.java |
15 |
Too many fields |
| 13489 |
src/weixin/shop/base/entity/WeixinShopAddressEntity.java |
18 |
Avoid variables with short names like id |
| 13490 |
src/weixin/shop/base/entity/WeixinShopAddressEntity.java |
65 |
Avoid variables with short names like id |
| 13491 |
src/weixin/shop/base/entity/WeixinShopAddressEntity.java |
65 |
Parameter 'id' is not assigned and could be declared final |
| 13492 |
src/weixin/shop/base/entity/WeixinShopAddressEntity.java |
76 |
Parameter 'createName' is not assigned and could be declared final |
| 13493 |
src/weixin/shop/base/entity/WeixinShopAddressEntity.java |
87 |
Parameter 'createDate' is not assigned and could be declared final |
| 13494 |
src/weixin/shop/base/entity/WeixinShopAddressEntity.java |
98 |
Parameter 'updateName' is not assigned and could be declared final |
| 13495 |
src/weixin/shop/base/entity/WeixinShopAddressEntity.java |
109 |
Parameter 'updateDate' is not assigned and could be declared final |
| 13496 |
src/weixin/shop/base/entity/WeixinShopCartEntity.java |
21 |
Classes implementing Serializable should set a serialVersionUID |
| 13497 |
src/weixin/shop/base/entity/WeixinShopCartEntity.java |
24 |
Avoid variables with short names like id |
| 13498 |
src/weixin/shop/base/entity/WeixinShopCartEntity.java |
43 |
Avoid variables with short names like id |
| 13499 |
src/weixin/shop/base/entity/WeixinShopCartEntity.java |
43 |
Parameter 'id' is not assigned and could be declared final |
| 13500 |
src/weixin/shop/base/entity/WeixinShopCartEntity.java |
54 |
Parameter 'goodsProperty' is not assigned and could be declared final |
| 13501 |
src/weixin/shop/base/entity/WeixinShopCartEntity.java |
65 |
Parameter 'buyPrice' is not assigned and could be declared final |
| 13502 |
src/weixin/shop/base/entity/WeixinShopCartEntity.java |
76 |
Parameter 'count' is not assigned and could be declared final |
| 13503 |
src/weixin/shop/base/entity/WeixinShopCartEntity.java |
87 |
Parameter 'total' is not assigned and could be declared final |
| 13504 |
src/weixin/shop/base/entity/WeixinShopCategoryEntity.java |
21 |
Classes implementing Serializable should set a serialVersionUID |
| 13505 |
src/weixin/shop/base/entity/WeixinShopCategoryEntity.java |
24 |
Avoid variables with short names like id |
| 13506 |
src/weixin/shop/base/entity/WeixinShopCategoryEntity.java |
35 |
Avoid excessively long variable names like weixinShopCategoryEntity |
| 13507 |
src/weixin/shop/base/entity/WeixinShopCategoryEntity.java |
35 |
It is somewhat confusing to have a field name matching the declaring class name |
| 13508 |
src/weixin/shop/base/entity/WeixinShopCategoryEntity.java |
45 |
Parameter 'accountid' is not assigned and could be declared final |
| 13509 |
src/weixin/shop/base/entity/WeixinShopCategoryEntity.java |
58 |
Avoid variables with short names like id |
| 13510 |
src/weixin/shop/base/entity/WeixinShopCategoryEntity.java |
58 |
Parameter 'id' is not assigned and could be declared final |
| 13511 |
src/weixin/shop/base/entity/WeixinShopCategoryEntity.java |
69 |
Parameter 'createName' is not assigned and could be declared final |
| 13512 |
src/weixin/shop/base/entity/WeixinShopCategoryEntity.java |
80 |
Parameter 'createDate' is not assigned and could be declared final |
| 13513 |
src/weixin/shop/base/entity/WeixinShopCategoryEntity.java |
91 |
Parameter 'updateName' is not assigned and could be declared final |
| 13514 |
src/weixin/shop/base/entity/WeixinShopCategoryEntity.java |
134 |
Avoid excessively long variable names like weixinShopCategoryEntity |
| 13515 |
src/weixin/shop/base/entity/WeixinShopDealEntity.java |
1 |
This class has a bunch of public methods and attributes |
| 13516 |
src/weixin/shop/base/entity/WeixinShopDealEntity.java |
18 |
Classes implementing Serializable should set a serialVersionUID |
| 13517 |
src/weixin/shop/base/entity/WeixinShopDealEntity.java |
18 |
Too many fields |
| 13518 |
src/weixin/shop/base/entity/WeixinShopDealEntity.java |
21 |
Avoid variables with short names like id |
| 13519 |
src/weixin/shop/base/entity/WeixinShopDealEntity.java |
110 |
Avoid variables with short names like id |
| 13520 |
src/weixin/shop/base/entity/WeixinShopDealEntity.java |
110 |
Parameter 'id' is not assigned and could be declared final |
| 13521 |
src/weixin/shop/base/entity/WeixinShopDealEntity.java |
121 |
Parameter 'createName' is not assigned and could be declared final |
| 13522 |
src/weixin/shop/base/entity/WeixinShopDealEntity.java |
132 |
Parameter 'createDate' is not assigned and could be declared final |
| 13523 |
src/weixin/shop/base/entity/WeixinShopDealEntity.java |
143 |
Parameter 'updateName' is not assigned and could be declared final |
| 13524 |
src/weixin/shop/base/entity/WeixinShopDealEntity.java |
154 |
Parameter 'updateDate' is not assigned and could be declared final |
| 13525 |
src/weixin/shop/base/entity/WeixinShopGoodsEntity.java |
1 |
This class has a bunch of public methods and attributes |
| 13526 |
src/weixin/shop/base/entity/WeixinShopGoodsEntity.java |
18 |
Classes implementing Serializable should set a serialVersionUID |
| 13527 |
src/weixin/shop/base/entity/WeixinShopGoodsEntity.java |
18 |
Too many fields |
| 13528 |
src/weixin/shop/base/entity/WeixinShopGoodsEntity.java |
21 |
Avoid variables with short names like id |
| 13529 |
src/weixin/shop/base/entity/WeixinShopGoodsEntity.java |
62 |
Avoid excessively long variable names like weixinShopCategory |
| 13530 |
src/weixin/shop/base/entity/WeixinShopGoodsEntity.java |
70 |
Parameter 'accountid' is not assigned and could be declared final |
| 13531 |
src/weixin/shop/base/entity/WeixinShopGoodsEntity.java |
83 |
Avoid variables with short names like id |
| 13532 |
src/weixin/shop/base/entity/WeixinShopGoodsEntity.java |
83 |
Parameter 'id' is not assigned and could be declared final |
| 13533 |
src/weixin/shop/base/entity/WeixinShopGoodsEntity.java |
94 |
Parameter 'createName' is not assigned and could be declared final |
| 13534 |
src/weixin/shop/base/entity/WeixinShopGoodsEntity.java |
105 |
Parameter 'createDate' is not assigned and could be declared final |
| 13535 |
src/weixin/shop/base/entity/WeixinShopGoodsEntity.java |
116 |
Parameter 'updateName' is not assigned and could be declared final |
| 13536 |
src/weixin/shop/base/entity/WeixinShopGoodsEntity.java |
312 |
Avoid excessively long variable names like weixinShopCategory |
| 13537 |
src/weixin/shop/base/entity/WeixinShopMemberEntity.java |
18 |
Classes implementing Serializable should set a serialVersionUID |
| 13538 |
src/weixin/shop/base/entity/WeixinShopMemberEntity.java |
21 |
Avoid variables with short names like id |
| 13539 |
src/weixin/shop/base/entity/WeixinShopMemberEntity.java |
33 |
Parameter 'accountid' is not assigned and could be declared final |
| 13540 |
src/weixin/shop/base/entity/WeixinShopMemberEntity.java |
46 |
Avoid variables with short names like id |
| 13541 |
src/weixin/shop/base/entity/WeixinShopMemberEntity.java |
46 |
Parameter 'id' is not assigned and could be declared final |
| 13542 |
src/weixin/shop/base/entity/WeixinShopMemberEntity.java |
57 |
Parameter 'username' is not assigned and could be declared final |
| 13543 |
src/weixin/shop/base/entity/WeixinShopMemberEntity.java |
68 |
Parameter 'password' is not assigned and could be declared final |
| 13544 |
src/weixin/shop/base/entity/WeixinShopMemberEntity.java |
79 |
Parameter 'addtime' is not assigned and could be declared final |
| 13545 |
src/weixin/shop/base/entity/WeixinShopOrderDetailEntity.java |
20 |
Classes implementing Serializable should set a serialVersionUID |
| 13546 |
src/weixin/shop/base/entity/WeixinShopOrderDetailEntity.java |
23 |
Avoid variables with short names like id |
| 13547 |
src/weixin/shop/base/entity/WeixinShopOrderDetailEntity.java |
44 |
Avoid variables with short names like id |
| 13548 |
src/weixin/shop/base/entity/WeixinShopOrderDetailEntity.java |
44 |
Parameter 'id' is not assigned and could be declared final |
| 13549 |
src/weixin/shop/base/entity/WeixinShopOrderDetailEntity.java |
56 |
Parameter 'weixnShopOrder' is not assigned and could be declared final |
| 13550 |
src/weixin/shop/base/entity/WeixinShopOrderDetailEntity.java |
67 |
Parameter 'weixinShopGoods' is not assigned and could be declared final |
| 13551 |
src/weixin/shop/base/entity/WeixinShopOrderDetailEntity.java |
77 |
Parameter 'goodsProperty' is not assigned and could be declared final |
| 13552 |
src/weixin/shop/base/entity/WeixinShopOrderDetailEntity.java |
88 |
Parameter 'buyPrice' is not assigned and could be declared final |
| 13553 |
src/weixin/shop/base/service/WeixinShopAddressServiceI.java |
11 |
Avoid modifiers which are implied by the context |
| 13554 |
src/weixin/shop/base/service/WeixinShopAddressServiceI.java |
13 |
Avoid modifiers which are implied by the context |
| 13555 |
src/weixin/shop/base/service/WeixinShopAddressServiceI.java |
15 |
Avoid modifiers which are implied by the context |
| 13556 |
src/weixin/shop/base/service/WeixinShopAddressServiceI.java |
17 |
Avoid excessively long variable names like paramWeixinShopAddressEntity |
| 13557 |
src/weixin/shop/base/service/WeixinShopAddressServiceI.java |
17 |
Avoid modifiers which are implied by the context |
| 13558 |
src/weixin/shop/base/service/WeixinShopAddressServiceI.java |
19 |
Avoid excessively long variable names like paramWeixinShopAddressEntity |
| 13559 |
src/weixin/shop/base/service/WeixinShopAddressServiceI.java |
19 |
Avoid modifiers which are implied by the context |
| 13560 |
src/weixin/shop/base/service/WeixinShopAddressServiceI.java |
21 |
Avoid excessively long variable names like paramWeixinShopAddressEntity |
| 13561 |
src/weixin/shop/base/service/WeixinShopCartServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 13562 |
src/weixin/shop/base/service/WeixinShopCategoryServiceI.java |
11 |
Avoid modifiers which are implied by the context |
| 13563 |
src/weixin/shop/base/service/WeixinShopCategoryServiceI.java |
13 |
Avoid modifiers which are implied by the context |
| 13564 |
src/weixin/shop/base/service/WeixinShopCategoryServiceI.java |
15 |
Avoid modifiers which are implied by the context |
| 13565 |
src/weixin/shop/base/service/WeixinShopCategoryServiceI.java |
17 |
Avoid excessively long variable names like paramWeixinShopCategoryEntity |
| 13566 |
src/weixin/shop/base/service/WeixinShopCategoryServiceI.java |
17 |
Avoid modifiers which are implied by the context |
| 13567 |
src/weixin/shop/base/service/WeixinShopCategoryServiceI.java |
19 |
Avoid excessively long variable names like paramWeixinShopCategoryEntity |
| 13568 |
src/weixin/shop/base/service/WeixinShopCategoryServiceI.java |
19 |
Avoid modifiers which are implied by the context |
| 13569 |
src/weixin/shop/base/service/WeixinShopCategoryServiceI.java |
21 |
Avoid excessively long variable names like paramWeixinShopCategoryEntity |
| 13570 |
src/weixin/shop/base/service/WeixinShopCategoryServiceI.java |
23 |
Avoid excessively long variable names like paramWeixinShopCategoryEntity |
| 13571 |
src/weixin/shop/base/service/WeixinShopCategoryServiceI.java |
25 |
Avoid excessively long variable names like paramWeixinShopCategoryEntity |
| 13572 |
src/weixin/shop/base/service/WeixinShopDealServiceI.java |
9 |
Avoid modifiers which are implied by the context |
| 13573 |
src/weixin/shop/base/service/WeixinShopDealServiceI.java |
11 |
Avoid modifiers which are implied by the context |
| 13574 |
src/weixin/shop/base/service/WeixinShopDealServiceI.java |
13 |
Avoid modifiers which are implied by the context |
| 13575 |
src/weixin/shop/base/service/WeixinShopDealServiceI.java |
15 |
Avoid excessively long variable names like paramWeixinShopDealEntity |
| 13576 |
src/weixin/shop/base/service/WeixinShopDealServiceI.java |
15 |
Avoid modifiers which are implied by the context |
| 13577 |
src/weixin/shop/base/service/WeixinShopDealServiceI.java |
17 |
Avoid excessively long variable names like paramWeixinShopDealEntity |
| 13578 |
src/weixin/shop/base/service/WeixinShopDealServiceI.java |
17 |
Avoid modifiers which are implied by the context |
| 13579 |
src/weixin/shop/base/service/WeixinShopDealServiceI.java |
19 |
Avoid excessively long variable names like paramWeixinShopDealEntity |
| 13580 |
src/weixin/shop/base/service/WeixinShopGoodsServiceI.java |
11 |
Avoid modifiers which are implied by the context |
| 13581 |
src/weixin/shop/base/service/WeixinShopGoodsServiceI.java |
13 |
Avoid modifiers which are implied by the context |
| 13582 |
src/weixin/shop/base/service/WeixinShopGoodsServiceI.java |
15 |
Avoid modifiers which are implied by the context |
| 13583 |
src/weixin/shop/base/service/WeixinShopGoodsServiceI.java |
17 |
Avoid excessively long variable names like paramWeixinShopGoodsEntity |
| 13584 |
src/weixin/shop/base/service/WeixinShopGoodsServiceI.java |
17 |
Avoid modifiers which are implied by the context |
| 13585 |
src/weixin/shop/base/service/WeixinShopGoodsServiceI.java |
19 |
Avoid excessively long variable names like paramWeixinShopGoodsEntity |
| 13586 |
src/weixin/shop/base/service/WeixinShopGoodsServiceI.java |
19 |
Avoid modifiers which are implied by the context |
| 13587 |
src/weixin/shop/base/service/WeixinShopGoodsServiceI.java |
21 |
Avoid excessively long variable names like paramWeixinShopGoodsEntity |
| 13588 |
src/weixin/shop/base/service/WeixinShopGoodsServiceI.java |
23 |
Avoid excessively long variable names like paramWeixinShopGoodsEntity |
| 13589 |
src/weixin/shop/base/service/WeixinShopGoodsServiceI.java |
25 |
Avoid excessively long variable names like paramWeixinShopGoodsEntity |
| 13590 |
src/weixin/shop/base/service/WeixinShopMemberServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 13591 |
src/weixin/shop/base/service/WeixinShopOrderDetailServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 13592 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
22 |
Avoid excessively long variable names like weixinShopAddressDao |
| 13593 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
22 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13594 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
24 |
Parameter 'entity' is not assigned and could be declared final |
| 13595 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
31 |
Parameter 'entity' is not assigned and could be declared final |
| 13596 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
32 |
Avoid variables with short names like t |
| 13597 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
32 |
Local variable 't' could be declared final |
| 13598 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
38 |
Parameter 'entity' is not assigned and could be declared final |
| 13599 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
44 |
Avoid variables with short names like t |
| 13600 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
44 |
Parameter 't' is not assigned and could be declared final |
| 13601 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
49 |
Avoid variables with short names like t |
| 13602 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
49 |
Parameter 't' is not assigned and could be declared final |
| 13603 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
54 |
Avoid variables with short names like t |
| 13604 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
59 |
Avoid reassigning parameters such as 'sql' |
| 13605 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
59 |
Avoid reassigning parameters such as 'sql' |
| 13606 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
59 |
Avoid reassigning parameters such as 'sql' |
| 13607 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
59 |
Avoid reassigning parameters such as 'sql' |
| 13608 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
59 |
Avoid reassigning parameters such as 'sql' |
| 13609 |
src/weixin/shop/base/service/impl/WeixinShopAddressServiceImpl.java |
59 |
Avoid variables with short names like t |
| 13610 |
src/weixin/shop/base/service/impl/WeixinShopCartServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 13611 |
src/weixin/shop/base/service/impl/WeixinShopCategoryServiceImpl.java |
21 |
Avoid excessively long variable names like weixinShopCategoryDao |
| 13612 |
src/weixin/shop/base/service/impl/WeixinShopCategoryServiceImpl.java |
21 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13613 |
src/weixin/shop/base/service/impl/WeixinShopCategoryServiceImpl.java |
23 |
Parameter 'entity' is not assigned and could be declared final |
| 13614 |
src/weixin/shop/base/service/impl/WeixinShopCategoryServiceImpl.java |
30 |
Parameter 'entity' is not assigned and could be declared final |
| 13615 |
src/weixin/shop/base/service/impl/WeixinShopCategoryServiceImpl.java |
31 |
Avoid variables with short names like t |
| 13616 |
src/weixin/shop/base/service/impl/WeixinShopCategoryServiceImpl.java |
31 |
Local variable 't' could be declared final |
| 13617 |
src/weixin/shop/base/service/impl/WeixinShopCategoryServiceImpl.java |
37 |
Parameter 'entity' is not assigned and could be declared final |
| 13618 |
src/weixin/shop/base/service/impl/WeixinShopCategoryServiceImpl.java |
43 |
Avoid variables with short names like t |
| 13619 |
src/weixin/shop/base/service/impl/WeixinShopCategoryServiceImpl.java |
43 |
Parameter 't' is not assigned and could be declared final |
| 13620 |
src/weixin/shop/base/service/impl/WeixinShopCategoryServiceImpl.java |
48 |
Avoid variables with short names like t |
| 13621 |
src/weixin/shop/base/service/impl/WeixinShopCategoryServiceImpl.java |
48 |
Parameter 't' is not assigned and could be declared final |
| 13622 |
src/weixin/shop/base/service/impl/WeixinShopCategoryServiceImpl.java |
53 |
Avoid variables with short names like t |
| 13623 |
src/weixin/shop/base/service/impl/WeixinShopCategoryServiceImpl.java |
58 |
Avoid excessively long variable names like weixinShopCategory |
| 13624 |
src/weixin/shop/base/service/impl/WeixinShopCategoryServiceImpl.java |
63 |
Avoid excessively long variable names like weixinShopCategory |
| 13625 |
src/weixin/shop/base/service/impl/WeixinShopDealServiceImpl.java |
16 |
Parameter 'entity' is not assigned and could be declared final |
| 13626 |
src/weixin/shop/base/service/impl/WeixinShopDealServiceImpl.java |
23 |
Parameter 'entity' is not assigned and could be declared final |
| 13627 |
src/weixin/shop/base/service/impl/WeixinShopDealServiceImpl.java |
24 |
Avoid variables with short names like t |
| 13628 |
src/weixin/shop/base/service/impl/WeixinShopDealServiceImpl.java |
24 |
Local variable 't' could be declared final |
| 13629 |
src/weixin/shop/base/service/impl/WeixinShopDealServiceImpl.java |
30 |
Parameter 'entity' is not assigned and could be declared final |
| 13630 |
src/weixin/shop/base/service/impl/WeixinShopDealServiceImpl.java |
36 |
Avoid variables with short names like t |
| 13631 |
src/weixin/shop/base/service/impl/WeixinShopDealServiceImpl.java |
36 |
Parameter 't' is not assigned and could be declared final |
| 13632 |
src/weixin/shop/base/service/impl/WeixinShopDealServiceImpl.java |
41 |
Avoid variables with short names like t |
| 13633 |
src/weixin/shop/base/service/impl/WeixinShopDealServiceImpl.java |
41 |
Parameter 't' is not assigned and could be declared final |
| 13634 |
src/weixin/shop/base/service/impl/WeixinShopDealServiceImpl.java |
46 |
Avoid variables with short names like t |
| 13635 |
src/weixin/shop/base/service/impl/WeixinShopDealServiceImpl.java |
51 |
Avoid reassigning parameters such as 'sql' |
| 13636 |
src/weixin/shop/base/service/impl/WeixinShopDealServiceImpl.java |
51 |
Avoid reassigning parameters such as 'sql' |
| 13637 |
src/weixin/shop/base/service/impl/WeixinShopDealServiceImpl.java |
51 |
Avoid reassigning parameters such as 'sql' |
| 13638 |
src/weixin/shop/base/service/impl/WeixinShopDealServiceImpl.java |
51 |
Avoid reassigning parameters such as 'sql' |
| 13639 |
src/weixin/shop/base/service/impl/WeixinShopDealServiceImpl.java |
51 |
Avoid reassigning parameters such as 'sql' |
| 13640 |
src/weixin/shop/base/service/impl/WeixinShopDealServiceImpl.java |
51 |
Avoid variables with short names like t |
| 13641 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
19 |
This class has too many methods, consider refactoring it. |
| 13642 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
22 |
Avoid excessively long variable names like weixinShopGoodsDao |
| 13643 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
22 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13644 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
24 |
Parameter 'entity' is not assigned and could be declared final |
| 13645 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
31 |
Parameter 'entity' is not assigned and could be declared final |
| 13646 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
32 |
Avoid variables with short names like t |
| 13647 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
32 |
Local variable 't' could be declared final |
| 13648 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
38 |
Parameter 'entity' is not assigned and could be declared final |
| 13649 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
44 |
Avoid variables with short names like t |
| 13650 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
44 |
Parameter 't' is not assigned and could be declared final |
| 13651 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
49 |
Avoid variables with short names like t |
| 13652 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
49 |
Parameter 't' is not assigned and could be declared final |
| 13653 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
54 |
Avoid variables with short names like t |
| 13654 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
59 |
Avoid reassigning parameters such as 'sql' |
| 13655 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
59 |
Avoid reassigning parameters such as 'sql' |
| 13656 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
59 |
Avoid reassigning parameters such as 'sql' |
| 13657 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
59 |
Avoid reassigning parameters such as 'sql' |
| 13658 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
59 |
Avoid reassigning parameters such as 'sql' |
| 13659 |
src/weixin/shop/base/service/impl/WeixinShopGoodsServiceImpl.java |
59 |
Avoid variables with short names like t |
| 13660 |
src/weixin/shop/base/service/impl/WeixinShopMemberServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 13661 |
src/weixin/shop/base/service/impl/WeixinShopOrderDetailServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 13662 |
src/weixin/shop/common/ShopConstant.java |
3 |
Each class should declare at least one constructor |
| 13663 |
src/weixin/shop/common/ShopConstant.java |
6 |
Avoid excessively long variable names like SHOP_DEFAULT_STYLE |
| 13664 |
src/weixin/shop/common/ShopConstant.java |
7 |
Avoid excessively long variable names like SHOP_TEMPL_PACKAGE |
| 13665 |
src/weixin/shop/common/ShopConstant.java |
10 |
Avoid excessively long variable names like WEIXIN_SHOP_CATEGORY_LIST |
| 13666 |
src/weixin/shop/common/ShopConstant.java |
11 |
Avoid excessively long variable names like WEIXIN_SHOP_GOODS_LIST |
| 13667 |
src/weixin/shop/common/ShopConstant.java |
19 |
Avoid excessively long variable names like SHOP_PAGE_GOODSLIST |
| 13668 |
src/weixin/shop/common/ShopDataContent.java |
7 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 13669 |
src/weixin/shop/common/ShopDataContent.java |
9 |
Variables that are final and static should be in all caps. |
| 13670 |
src/weixin/shop/common/ShopDataContent.java |
10 |
Variables that are final and static should be in all caps. |
| 13671 |
src/weixin/shop/common/ShopDataContent.java |
12 |
Parameter 'key' is not assigned and could be declared final |
| 13672 |
src/weixin/shop/common/ShopDataContent.java |
12 |
Parameter 'object' is not assigned and could be declared final |
| 13673 |
src/weixin/shop/common/ShopDataContent.java |
17 |
Parameter 'key' is not assigned and could be declared final |
| 13674 |
src/weixin/shop/common/ShopPage.java |
9 |
Parameter 'pageNo' is not assigned and could be declared final |
| 13675 |
src/weixin/shop/common/ShopPage.java |
18 |
Parameter 'pageSize' is not assigned and could be declared final |
| 13676 |
src/weixin/shop/common/ShopPage.java |
26 |
Parameter 'total' is not assigned and could be declared final |
| 13677 |
src/weixin/shop/core/WeixinShopController.java |
10 |
Avoid unused imports such as 'javax.servlet.ServletContext' |
| 13678 |
src/weixin/shop/core/WeixinShopController.java |
10 |
Avoid unused imports such as 'javax.servlet.ServletContext' |
| 13679 |
src/weixin/shop/core/WeixinShopController.java |
39 |
Avoid excessively long variable names like weixinShopGoodsService |
| 13680 |
src/weixin/shop/core/WeixinShopController.java |
39 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13681 |
src/weixin/shop/core/WeixinShopController.java |
42 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13682 |
src/weixin/shop/core/WeixinShopController.java |
43 |
Avoid excessively long variable names like dataCollectContent |
| 13683 |
src/weixin/shop/core/WeixinShopController.java |
46 |
Parameter 'page' is not assigned and could be declared final |
| 13684 |
src/weixin/shop/core/WeixinShopController.java |
46 |
Parameter 'request' is not assigned and could be declared final |
| 13685 |
src/weixin/shop/core/WeixinShopController.java |
46 |
Parameter 'response' is not assigned and could be declared final |
| 13686 |
src/weixin/shop/core/WeixinShopController.java |
48 |
Found 'DU'-anomaly for variable 'params' (lines '48'-'83'). |
| 13687 |
src/weixin/shop/core/WeixinShopController.java |
48 |
Local variable 'params' could be declared final |
| 13688 |
src/weixin/shop/core/WeixinShopController.java |
51 |
Local variable 'accountId' could be declared final |
| 13689 |
src/weixin/shop/core/WeixinShopController.java |
52 |
Local variable 'openId' could be declared final |
| 13690 |
src/weixin/shop/core/WeixinShopController.java |
53 |
Found 'DU'-anomaly for variable 'session' (lines '53'-'83'). |
| 13691 |
src/weixin/shop/core/WeixinShopController.java |
53 |
Local variable 'session' could be declared final |
| 13692 |
src/weixin/shop/core/WeixinShopController.java |
57 |
Local variable 'weixinAccount' could be declared final |
| 13693 |
src/weixin/shop/core/WeixinShopController.java |
71 |
Avoid excessively long variable names like weixinShopFreemarkerHelper |
| 13694 |
src/weixin/shop/core/WeixinShopController.java |
81 |
Avoid printStackTrace(); use a logger call instead. |
| 13695 |
src/weixin/shop/core/WeixinShopController.java |
87 |
Parameter 'request' is not assigned and could be declared final |
| 13696 |
src/weixin/shop/core/WeixinShopController.java |
87 |
Parameter 'response' is not assigned and could be declared final |
| 13697 |
src/weixin/shop/core/WeixinShopController.java |
89 |
Found 'DD'-anomaly for variable 'json' (lines '89'-'94'). |
| 13698 |
src/weixin/shop/core/WeixinShopController.java |
102 |
Avoid variables with short names like em |
| 13699 |
src/weixin/shop/shopdata/ShopDataCollectI.java |
7 |
Avoid modifiers which are implied by the context |
| 13700 |
src/weixin/shop/shopdata/impl/ShopAddressListCollect.java |
9 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 13701 |
src/weixin/shop/shopdata/impl/ShopAddressListCollect.java |
9 |
Avoid unused imports such as 'org.jeecgframework.web.system.pojo.base.TSUser' |
| 13702 |
src/weixin/shop/shopdata/impl/ShopAddressListCollect.java |
10 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 13703 |
src/weixin/shop/shopdata/impl/ShopAddressListCollect.java |
10 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 13704 |
src/weixin/shop/shopdata/impl/ShopAddressListCollect.java |
18 |
Parameter 'params' is not assigned and could be declared final |
| 13705 |
src/weixin/shop/shopdata/impl/ShopAddressListCollect.java |
18 |
The method collect() has an NPath complexity of 200 |
| 13706 |
src/weixin/shop/shopdata/impl/ShopAddressListCollect.java |
20 |
Avoid excessively long variable names like weixinShopAddressService |
| 13707 |
src/weixin/shop/shopdata/impl/ShopAddressListCollect.java |
20 |
Local variable 'weixinShopAddressService' could be declared final |
| 13708 |
src/weixin/shop/shopdata/impl/ShopAddressListCollect.java |
22 |
Found 'DU'-anomaly for variable 'categoryParams' (lines '22'-'39'). |
| 13709 |
src/weixin/shop/shopdata/impl/ShopAddressListCollect.java |
22 |
Local variable 'categoryParams' could be declared final |
| 13710 |
src/weixin/shop/shopdata/impl/ShopAddressListCollect.java |
30 |
Local variable 'addresslist' could be declared final |
| 13711 |
src/weixin/shop/shopdata/impl/ShopAddressListCollect.java |
32 |
Local variable 'goodsparams' could be declared final |
| 13712 |
src/weixin/shop/shopdata/impl/ShopAddressListCollect.java |
37 |
Avoid if (x != y) ..; else ..; |
| 13713 |
src/weixin/shop/shopdata/impl/ShopGoodsdetailCollect.java |
7 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 13714 |
src/weixin/shop/shopdata/impl/ShopGoodsdetailCollect.java |
7 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 13715 |
src/weixin/shop/shopdata/impl/ShopGoodsdetailCollect.java |
17 |
Parameter 'params' is not assigned and could be declared final |
| 13716 |
src/weixin/shop/shopdata/impl/ShopGoodsdetailCollect.java |
19 |
Avoid excessively long variable names like weixinShopCategoryService |
| 13717 |
src/weixin/shop/shopdata/impl/ShopGoodsdetailCollect.java |
19 |
Local variable 'weixinShopCategoryService' could be declared final |
| 13718 |
src/weixin/shop/shopdata/impl/ShopGoodsdetailCollect.java |
20 |
Avoid excessively long variable names like weixinShopGoodsService |
| 13719 |
src/weixin/shop/shopdata/impl/ShopGoodsdetailCollect.java |
20 |
Local variable 'weixinShopGoodsService' could be declared final |
| 13720 |
src/weixin/shop/shopdata/impl/ShopGoodsdetailCollect.java |
22 |
Local variable 'categoryParams' could be declared final |
| 13721 |
src/weixin/shop/shopdata/impl/ShopGoodsdetailCollect.java |
24 |
The String literal "accountid" appears 5 times in this file; the first occurrence is on line 24 |
| 13722 |
src/weixin/shop/shopdata/impl/ShopGoodsdetailCollect.java |
27 |
Avoid excessively long variable names like weixinShopCategoryList |
| 13723 |
src/weixin/shop/shopdata/impl/ShopGoodsdetailCollect.java |
27 |
Local variable 'weixinShopCategoryList' could be declared final |
| 13724 |
src/weixin/shop/shopdata/impl/ShopGoodsdetailCollect.java |
29 |
Local variable 'goodsid' could be declared final |
| 13725 |
src/weixin/shop/shopdata/impl/ShopGoodslistCollect.java |
7 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 13726 |
src/weixin/shop/shopdata/impl/ShopGoodslistCollect.java |
7 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 13727 |
src/weixin/shop/shopdata/impl/ShopGoodslistCollect.java |
18 |
Parameter 'params' is not assigned and could be declared final |
| 13728 |
src/weixin/shop/shopdata/impl/ShopGoodslistCollect.java |
20 |
Avoid excessively long variable names like weixinShopCategoryService |
| 13729 |
src/weixin/shop/shopdata/impl/ShopGoodslistCollect.java |
20 |
Local variable 'weixinShopCategoryService' could be declared final |
| 13730 |
src/weixin/shop/shopdata/impl/ShopGoodslistCollect.java |
21 |
Avoid excessively long variable names like weixinShopGoodsService |
| 13731 |
src/weixin/shop/shopdata/impl/ShopGoodslistCollect.java |
21 |
Local variable 'weixinShopGoodsService' could be declared final |
| 13732 |
src/weixin/shop/shopdata/impl/ShopGoodslistCollect.java |
22 |
Found 'DD'-anomaly for variable 'category' (lines '22'-'33'). |
| 13733 |
src/weixin/shop/shopdata/impl/ShopGoodslistCollect.java |
23 |
Local variable 'categoryid' could be declared final |
| 13734 |
src/weixin/shop/shopdata/impl/ShopGoodslistCollect.java |
25 |
Local variable 'categoryParams' could be declared final |
| 13735 |
src/weixin/shop/shopdata/impl/ShopGoodslistCollect.java |
27 |
The String literal "accountid" appears 5 times in this file; the first occurrence is on line 27 |
| 13736 |
src/weixin/shop/shopdata/impl/ShopGoodslistCollect.java |
30 |
Avoid excessively long variable names like weixinShopCategoryList |
| 13737 |
src/weixin/shop/shopdata/impl/ShopGoodslistCollect.java |
30 |
Local variable 'weixinShopCategoryList' could be declared final |
| 13738 |
src/weixin/shop/shopdata/impl/ShopIndexCollect.java |
7 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 13739 |
src/weixin/shop/shopdata/impl/ShopIndexCollect.java |
7 |
Avoid unused imports such as 'org.springframework.context.ApplicationContext' |
| 13740 |
src/weixin/shop/shopdata/impl/ShopIndexCollect.java |
15 |
Parameter 'params' is not assigned and could be declared final |
| 13741 |
src/weixin/shop/shopdata/impl/ShopIndexCollect.java |
17 |
Avoid excessively long variable names like weixinShopCategoryService |
| 13742 |
src/weixin/shop/shopdata/impl/ShopIndexCollect.java |
17 |
Local variable 'weixinShopCategoryService' could be declared final |
| 13743 |
src/weixin/shop/shopdata/impl/ShopIndexCollect.java |
19 |
Local variable 'categoryParams' could be declared final |
| 13744 |
src/weixin/shop/shopdata/impl/ShopIndexCollect.java |
21 |
The String literal "accountid" appears 5 times in this file; the first occurrence is on line 21 |
| 13745 |
src/weixin/shop/shopdata/impl/ShopIndexCollect.java |
24 |
Avoid excessively long variable names like weixinShopCategoryList |
| 13746 |
src/weixin/shop/shopdata/impl/ShopIndexCollect.java |
24 |
Local variable 'weixinShopCategoryList' could be declared final |
| 13747 |
src/weixin/shop/util/Md5Encrypt.java |
9 |
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
| 13748 |
src/weixin/shop/util/Md5Encrypt.java |
12 |
Parameter 'text' is not assigned and could be declared final |
| 13749 |
src/weixin/shop/util/Md5Encrypt.java |
14 |
Found 'DD'-anomaly for variable 'msgDigest' (lines '14'-'17'). |
| 13750 |
src/weixin/shop/util/Md5Encrypt.java |
17 |
Found 'DU'-anomaly for variable 'msgDigest' (lines '17'-'36'). |
| 13751 |
src/weixin/shop/util/Md5Encrypt.java |
31 |
Local variable 'bytes' could be declared final |
| 13752 |
src/weixin/shop/util/Md5Encrypt.java |
33 |
Local variable 'md5Str' could be declared final |
| 13753 |
src/weixin/shop/util/Md5Encrypt.java |
38 |
Parameter 'data' is not assigned and could be declared final |
| 13754 |
src/weixin/shop/util/Md5Encrypt.java |
40 |
Avoid variables with short names like l |
| 13755 |
src/weixin/shop/util/Md5Encrypt.java |
40 |
Local variable 'l' could be declared final |
| 13756 |
src/weixin/shop/util/Md5Encrypt.java |
42 |
Found 'DD'-anomaly for variable 'out' (lines '42'-'45'). |
| 13757 |
src/weixin/shop/util/Md5Encrypt.java |
44 |
Avoid variables with short names like i |
| 13758 |
src/weixin/shop/util/Md5Encrypt.java |
44 |
Found 'DU'-anomaly for variable 'j' (lines '44'-'50'). |
| 13759 |
src/weixin/shop/util/Md5Encrypt.java |
45 |
Found 'DD'-anomaly for variable 'out' (lines '45'-'46'). |
| 13760 |
src/weixin/shop/util/Md5Encrypt.java |
46 |
Found 'DD'-anomaly for variable 'out' (lines '46'-'45'). |
| 13761 |
src/weixin/shop/util/WeixinShopFreemarkerHelper.java |
12 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 13762 |
src/weixin/shop/util/WeixinShopFreemarkerHelper.java |
14 |
Parameter 'dir' is not assigned and could be declared final |
| 13763 |
src/weixin/shop/util/WeixinShopFreemarkerHelper.java |
19 |
Avoid printStackTrace(); use a logger call instead. |
| 13764 |
src/weixin/shop/util/WeixinShopFreemarkerHelper.java |
23 |
Parameter 'encoding' is not assigned and could be declared final |
| 13765 |
src/weixin/shop/util/WeixinShopFreemarkerHelper.java |
23 |
Parameter 'paras' is not assigned and could be declared final |
| 13766 |
src/weixin/shop/util/WeixinShopFreemarkerHelper.java |
23 |
Parameter 'tplName' is not assigned and could be declared final |
| 13767 |
src/weixin/shop/util/WeixinShopFreemarkerHelper.java |
27 |
Local variable 'swriter' could be declared final |
| 13768 |
src/weixin/shop/util/WeixinShopFreemarkerHelper.java |
28 |
Found 'DD'-anomaly for variable 'mytpl' (lines '28'-'29'). |
| 13769 |
src/weixin/shop/util/WeixinShopFreemarkerHelper.java |
31 |
A method should have only one exit point, and that should be the last statement in the method |
| 13770 |
src/weixin/shop/util/WeixinShopFreemarkerHelper.java |
33 |
Avoid printStackTrace(); use a logger call instead. |
| 13771 |
src/weixin/shop/util/WeixinShopFreemarkerHelper.java |
38 |
Parameter 'paras' is not assigned and could be declared final |
| 13772 |
src/weixin/util/DateUtils.java |
1 |
This class has a bunch of public methods and attributes |
| 13773 |
src/weixin/util/DateUtils.java |
14 |
This class has too many methods, consider refactoring it. |
| 13774 |
src/weixin/util/DateUtils.java |
15 |
Variables that are final and static should be in all caps. |
| 13775 |
src/weixin/util/DateUtils.java |
15 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 13776 |
src/weixin/util/DateUtils.java |
17 |
Variables that are final and static should be in all caps. |
| 13777 |
src/weixin/util/DateUtils.java |
17 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 13778 |
src/weixin/util/DateUtils.java |
19 |
Variables that are final and static should be in all caps. |
| 13779 |
src/weixin/util/DateUtils.java |
19 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 13780 |
src/weixin/util/DateUtils.java |
21 |
Variables that are final and static should be in all caps. |
| 13781 |
src/weixin/util/DateUtils.java |
21 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 13782 |
src/weixin/util/DateUtils.java |
23 |
Variables that are final and static should be in all caps. |
| 13783 |
src/weixin/util/DateUtils.java |
23 |
When instantiating a SimpleDateFormat object, specify a Locale |
| 13784 |
src/weixin/util/DateUtils.java |
28 |
Avoid unused private fields such as 'DAY_IN_MILLIS'. |
| 13785 |
src/weixin/util/DateUtils.java |
29 |
Avoid unused private fields such as 'HOUR_IN_MILLIS'. |
| 13786 |
src/weixin/util/DateUtils.java |
30 |
Avoid unused private fields such as 'MINUTE_IN_MILLIS'. |
| 13787 |
src/weixin/util/DateUtils.java |
31 |
Avoid unused private fields such as 'SECOND_IN_MILLIS'. |
| 13788 |
src/weixin/util/DateUtils.java |
33 |
Parameter 'pattern' is not assigned and could be declared final |
| 13789 |
src/weixin/util/DateUtils.java |
43 |
Parameter 'millis' is not assigned and could be declared final |
| 13790 |
src/weixin/util/DateUtils.java |
45 |
Local variable 'cal' could be declared final |
| 13791 |
src/weixin/util/DateUtils.java |
52 |
Local variable 'date' could be declared final |
| 13792 |
src/weixin/util/DateUtils.java |
54 |
A method should have only one exit point, and that should be the last statement in the method |
| 13793 |
src/weixin/util/DateUtils.java |
56 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 13794 |
src/weixin/util/DateUtils.java |
64 |
Parameter 'millis' is not assigned and could be declared final |
| 13795 |
src/weixin/util/DateUtils.java |
69 |
Parameter 'time' is not assigned and could be declared final |
| 13796 |
src/weixin/util/DateUtils.java |
71 |
Avoid unused local variables such as 'date'. |
| 13797 |
src/weixin/util/DateUtils.java |
71 |
Found 'DD'-anomaly for variable 'date' (lines '71'-'73'). |
| 13798 |
src/weixin/util/DateUtils.java |
71 |
Found 'DU'-anomaly for variable 'date' (lines '71'-'76'). |
| 13799 |
src/weixin/util/DateUtils.java |
73 |
Found 'DU'-anomaly for variable 'date' (lines '73'-'76'). |
| 13800 |
src/weixin/util/DateUtils.java |
75 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 13801 |
src/weixin/util/DateUtils.java |
78 |
Parameter 'str' is not assigned and could be declared final |
| 13802 |
src/weixin/util/DateUtils.java |
80 |
Local variable 'date' could be declared final |
| 13803 |
src/weixin/util/DateUtils.java |
80 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 13804 |
src/weixin/util/DateUtils.java |
87 |
A method should have only one exit point, and that should be the last statement in the method |
| 13805 |
src/weixin/util/DateUtils.java |
89 |
Avoid unused local variables such as 'date'. |
| 13806 |
src/weixin/util/DateUtils.java |
89 |
Found 'DU'-anomaly for variable 'date' (lines '89'-'97'). |
| 13807 |
src/weixin/util/DateUtils.java |
89 |
Local variable 'date' could be declared final |
| 13808 |
src/weixin/util/DateUtils.java |
91 |
A method should have only one exit point, and that should be the last statement in the method |
| 13809 |
src/weixin/util/DateUtils.java |
94 |
Avoid printStackTrace(); use a logger call instead. |
| 13810 |
src/weixin/util/DateUtils.java |
101 |
Local variable 'date' could be declared final |
| 13811 |
src/weixin/util/DateUtils.java |
103 |
A method should have only one exit point, and that should be the last statement in the method |
| 13812 |
src/weixin/util/DateUtils.java |
111 |
Found 'DD'-anomaly for variable 'date' (lines '111'-'113'). |
| 13813 |
src/weixin/util/DateUtils.java |
116 |
Avoid printStackTrace(); use a logger call instead. |
| 13814 |
src/weixin/util/DateUtils.java |
124 |
A method should have only one exit point, and that should be the last statement in the method |
| 13815 |
src/weixin/util/DateUtils.java |
165 |
Avoid variables with short names like dt |
| 13816 |
src/weixin/util/DateUtils.java |
166 |
Avoid variables with short names like df |
| 13817 |
src/weixin/util/DateUtils.java |
169 |
Consider simply returning the value vs storing it in local variable 'buydate' |
| 13818 |
src/weixin/util/DateUtils.java |
187 |
Avoid variables with short names like ts |
| 13819 |
src/weixin/util/DateUtils.java |
194 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 13820 |
src/weixin/util/DateUtils.java |
204 |
Static DateFormatter objects should be accessed in a synchronized manner |
| 13821 |
src/weixin/util/DateUtils.java |
304 |
Found 'DU'-anomaly for variable 'millisDiff' (lines '304'-'327'). |
| 13822 |
src/weixin/util/DateUtils.java |
333 |
Avoid using if...else statements without curly braces |
| 13823 |
src/weixin/util/DateUtils.java |
334 |
String.indexOf(char) is faster than String.indexOf(String). |
| 13824 |
src/weixin/util/DateUtils.java |
335 |
Avoid using if...else statements without curly braces |
| 13825 |
src/weixin/util/DateUtils.java |
336 |
String.indexOf(char) is faster than String.indexOf(String). |
| 13826 |
src/weixin/util/DateUtils.java |
337 |
Avoid using if...else statements without curly braces |
| 13827 |
src/weixin/util/DateUtils.java |
339 |
Avoid using if...else statements without curly braces |
| 13828 |
src/weixin/util/DateUtils.java |
346 |
New exception is thrown in catch block, original stack trace may be lost |
| 13829 |
src/weixin/util/DateUtils.java |
349 |
Avoid using if...else statements without curly braces |
| 13830 |
src/weixin/util/WeiXinConstants.java |
3 |
Each class should declare at least one constructor |
| 13831 |
src/weixin/util/WeiXinConstants.java |
7 |
Avoid excessively long variable names like WEIXIN_QIANTAI_ACCOUNTID |
| 13832 |
src/weixin/util/WeiXinConstants.java |
8 |
Avoid excessively long variable names like WEIXIN_SURVEY_DEFAULT_STATEMENT |
| 13833 |
src/weixin/util/WeiXinConstants.java |
9 |
Avoid excessively long variable names like WEIXIN_SURVEY_DEPLOY_STATEMENT |
| 13834 |
src/weixin/util/WeiXinConstants.java |
10 |
Avoid excessively long variable names like WEIXIN_SURVEY_OVER_STATEMENT |
| 13835 |
src/weixin/util/WeiXinConstants.java |
11 |
Avoid excessively long variable names like WEIXIN_SURVEY_TYPE_SIGLE_SELECT |
| 13836 |
src/weixin/vip/common/WeixinVipConstants.java |
3 |
Each class should declare at least one constructor |
| 13837 |
src/weixin/vip/common/WeixinVipEnum.java |
14 |
Parameter 'levelIndex' is not assigned and could be declared final |
| 13838 |
src/weixin/vip/common/WeixinVipEnum.java |
14 |
Parameter 'levelName' is not assigned and could be declared final |
| 13839 |
src/weixin/vip/common/WeixinVipEnum.java |
18 |
Parameter 'levelIndex' is not assigned and could be declared final |
| 13840 |
src/weixin/vip/common/WeixinVipEnum.java |
22 |
A method should have only one exit point, and that should be the last statement in the method |
| 13841 |
src/weixin/vip/common/WeixinVipEnum.java |
31 |
Parameter 'levelName' is not assigned and could be declared final |
| 13842 |
src/weixin/vip/common/WeixinVipEnum.java |
37 |
Parameter 'levelIndex' is not assigned and could be declared final |
| 13843 |
src/weixin/vip/controller/WeixinVipInfoController.java |
1 |
A high number of imports can indicate a high degree of coupling within an object. |
| 13844 |
src/weixin/vip/controller/WeixinVipInfoController.java |
41 |
Avoid unused private fields such as 'logger'. |
| 13845 |
src/weixin/vip/controller/WeixinVipInfoController.java |
41 |
Variables that are final and static should be in all caps. |
| 13846 |
src/weixin/vip/controller/WeixinVipInfoController.java |
44 |
Avoid excessively long variable names like weixinVipInfoService |
| 13847 |
src/weixin/vip/controller/WeixinVipInfoController.java |
44 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13848 |
src/weixin/vip/controller/WeixinVipInfoController.java |
47 |
Avoid excessively long variable names like weixinVipMemberService |
| 13849 |
src/weixin/vip/controller/WeixinVipInfoController.java |
47 |
Avoid unused private fields such as 'weixinVipMemberService'. |
| 13850 |
src/weixin/vip/controller/WeixinVipInfoController.java |
50 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13851 |
src/weixin/vip/controller/WeixinVipInfoController.java |
55 |
Parameter 'message' is not assigned and could be declared final |
| 13852 |
src/weixin/vip/controller/WeixinVipInfoController.java |
61 |
Parameter 'request' is not assigned and could be declared final |
| 13853 |
src/weixin/vip/controller/WeixinVipInfoController.java |
67 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 13854 |
src/weixin/vip/controller/WeixinVipInfoController.java |
67 |
Parameter 'request' is not assigned and could be declared final |
| 13855 |
src/weixin/vip/controller/WeixinVipInfoController.java |
67 |
Parameter 'response' is not assigned and could be declared final |
| 13856 |
src/weixin/vip/controller/WeixinVipInfoController.java |
69 |
Avoid variables with short names like cq |
| 13857 |
src/weixin/vip/controller/WeixinVipInfoController.java |
69 |
Local variable 'cq' could be declared final |
| 13858 |
src/weixin/vip/controller/WeixinVipInfoController.java |
79 |
Avoid reassigning parameters such as 'weixinVipInfo' |
| 13859 |
src/weixin/vip/controller/WeixinVipInfoController.java |
81 |
Avoid variables with short names like j |
| 13860 |
src/weixin/vip/controller/WeixinVipInfoController.java |
81 |
Local variable 'j' could be declared final |
| 13861 |
src/weixin/vip/controller/WeixinVipInfoController.java |
95 |
Avoid variables with short names like j |
| 13862 |
src/weixin/vip/controller/WeixinVipInfoController.java |
95 |
Local variable 'j' could be declared final |
| 13863 |
src/weixin/vip/controller/WeixinVipInfoController.java |
98 |
Avoid variables with short names like t |
| 13864 |
src/weixin/vip/controller/WeixinVipInfoController.java |
98 |
Local variable 't' could be declared final |
| 13865 |
src/weixin/vip/controller/WeixinVipInfoController.java |
104 |
Avoid printStackTrace(); use a logger call instead. |
| 13866 |
src/weixin/vip/controller/WeixinVipInfoController.java |
117 |
Avoid reassigning parameters such as 'weixinVipInfo' |
| 13867 |
src/weixin/vip/controller/WeixinVipInfoController.java |
131 |
Avoid variables with short names like j |
| 13868 |
src/weixin/vip/controller/WeixinVipInfoController.java |
131 |
Local variable 'j' could be declared final |
| 13869 |
src/weixin/vip/controller/WeixinVipInfoController.java |
136 |
Found 'DU'-anomaly for variable 'documentTitle' (lines '136'-'160'). |
| 13870 |
src/weixin/vip/controller/WeixinVipMemberController.java |
33 |
Avoid unused private fields such as 'logger'. |
| 13871 |
src/weixin/vip/controller/WeixinVipMemberController.java |
33 |
Variables that are final and static should be in all caps. |
| 13872 |
src/weixin/vip/controller/WeixinVipMemberController.java |
36 |
Avoid excessively long variable names like weixinVipMemberService |
| 13873 |
src/weixin/vip/controller/WeixinVipMemberController.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13874 |
src/weixin/vip/controller/WeixinVipMemberController.java |
39 |
Avoid excessively long variable names like weixinVipInfoService |
| 13875 |
src/weixin/vip/controller/WeixinVipMemberController.java |
39 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13876 |
src/weixin/vip/controller/WeixinVipMemberController.java |
42 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13877 |
src/weixin/vip/controller/WeixinVipMemberController.java |
47 |
Parameter 'message' is not assigned and could be declared final |
| 13878 |
src/weixin/vip/controller/WeixinVipMemberController.java |
53 |
Parameter 'request' is not assigned and could be declared final |
| 13879 |
src/weixin/vip/controller/WeixinVipMemberController.java |
59 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 13880 |
src/weixin/vip/controller/WeixinVipMemberController.java |
59 |
Parameter 'request' is not assigned and could be declared final |
| 13881 |
src/weixin/vip/controller/WeixinVipMemberController.java |
59 |
Parameter 'response' is not assigned and could be declared final |
| 13882 |
src/weixin/vip/controller/WeixinVipMemberController.java |
61 |
Avoid variables with short names like cq |
| 13883 |
src/weixin/vip/controller/WeixinVipMemberController.java |
61 |
Local variable 'cq' could be declared final |
| 13884 |
src/weixin/vip/controller/WeixinVipMemberController.java |
63 |
Local variable 'list' could be declared final |
| 13885 |
src/weixin/vip/controller/WeixinVipMemberController.java |
72 |
Avoid reassigning parameters such as 'weixinVipMember' |
| 13886 |
src/weixin/vip/controller/WeixinVipMemberController.java |
74 |
Avoid variables with short names like j |
| 13887 |
src/weixin/vip/controller/WeixinVipMemberController.java |
74 |
Local variable 'j' could be declared final |
| 13888 |
src/weixin/vip/controller/WeixinVipMemberController.java |
88 |
Avoid variables with short names like j |
| 13889 |
src/weixin/vip/controller/WeixinVipMemberController.java |
88 |
Local variable 'j' could be declared final |
| 13890 |
src/weixin/vip/controller/WeixinVipMemberController.java |
91 |
Avoid variables with short names like t |
| 13891 |
src/weixin/vip/controller/WeixinVipMemberController.java |
91 |
Local variable 't' could be declared final |
| 13892 |
src/weixin/vip/controller/WeixinVipMemberController.java |
97 |
Avoid printStackTrace(); use a logger call instead. |
| 13893 |
src/weixin/vip/controller/WeixinVipMemberController.java |
110 |
Avoid reassigning parameters such as 'weixinVipMember' |
| 13894 |
src/weixin/vip/core/WeixinVipController.java |
34 |
The class 'WeixinVipController' has a Cyclomatic Complexity of 6 (Highest = 16). |
| 13895 |
src/weixin/vip/core/WeixinVipController.java |
38 |
Avoid excessively long variable names like weixinVipMemberService |
| 13896 |
src/weixin/vip/core/WeixinVipController.java |
38 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13897 |
src/weixin/vip/core/WeixinVipController.java |
41 |
Avoid excessively long variable names like weixinAccountServiceI |
| 13898 |
src/weixin/vip/core/WeixinVipController.java |
41 |
Avoid unused private fields such as 'weixinAccountServiceI'. |
| 13899 |
src/weixin/vip/core/WeixinVipController.java |
44 |
Avoid excessively long variable names like weixinVipInfoService |
| 13900 |
src/weixin/vip/core/WeixinVipController.java |
44 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13901 |
src/weixin/vip/core/WeixinVipController.java |
47 |
Avoid excessively long variable names like promotionCouponService |
| 13902 |
src/weixin/vip/core/WeixinVipController.java |
47 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13903 |
src/weixin/vip/core/WeixinVipController.java |
50 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13904 |
src/weixin/vip/core/WeixinVipController.java |
53 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13905 |
src/weixin/vip/core/WeixinVipController.java |
61 |
Parameter 'message' is not assigned and could be declared final |
| 13906 |
src/weixin/vip/core/WeixinVipController.java |
66 |
Parameter 'page' is not assigned and could be declared final |
| 13907 |
src/weixin/vip/core/WeixinVipController.java |
66 |
Parameter 'request' is not assigned and could be declared final |
| 13908 |
src/weixin/vip/core/WeixinVipController.java |
66 |
Parameter 'response' is not assigned and could be declared final |
| 13909 |
src/weixin/vip/core/WeixinVipController.java |
66 |
The method 'goPage' has a Cyclomatic Complexity of 16. |
| 13910 |
src/weixin/vip/core/WeixinVipController.java |
66 |
The method goPage() has an NPath complexity of 1928 |
| 13911 |
src/weixin/vip/core/WeixinVipController.java |
69 |
Local variable 'flag' could be declared final |
| 13912 |
src/weixin/vip/core/WeixinVipController.java |
70 |
Local variable 'paras' could be declared final |
| 13913 |
src/weixin/vip/core/WeixinVipController.java |
72 |
Found 'DD'-anomaly for variable 'defaultUrl' (lines '72'-'75'). |
| 13914 |
src/weixin/vip/core/WeixinVipController.java |
75 |
Prefer StringBuffer over += for concatenating strings |
| 13915 |
src/weixin/vip/core/WeixinVipController.java |
77 |
Avoid excessively long variable names like weixinVipFreemarkerHelper |
| 13916 |
src/weixin/vip/core/WeixinVipController.java |
77 |
Local variable 'weixinVipFreemarkerHelper' could be declared final |
| 13917 |
src/weixin/vip/core/WeixinVipController.java |
81 |
Found 'DD'-anomaly for variable 'user' (lines '81'-'82'). |
| 13918 |
src/weixin/vip/core/WeixinVipController.java |
83 |
An empty statement (semicolon) not part of a loop |
| 13919 |
src/weixin/vip/core/WeixinVipController.java |
83 |
Avoid empty if statements |
| 13920 |
src/weixin/vip/core/WeixinVipController.java |
83 |
Avoid using if statements without curly braces |
| 13921 |
src/weixin/vip/core/WeixinVipController.java |
84 |
The String literal "member" appears 4 times in this file; the first occurrence is on line 84 |
| 13922 |
src/weixin/vip/core/WeixinVipController.java |
85 |
Local variable 'accountId' could be declared final |
| 13923 |
src/weixin/vip/core/WeixinVipController.java |
87 |
Local variable 'list' could be declared final |
| 13924 |
src/weixin/vip/core/WeixinVipController.java |
90 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 13925 |
src/weixin/vip/core/WeixinVipController.java |
93 |
Found 'DD'-anomaly for variable 'str' (lines '93'-'95'). |
| 13926 |
src/weixin/vip/core/WeixinVipController.java |
93 |
Found 'DD'-anomaly for variable 'str' (lines '93'-'97'). |
| 13927 |
src/weixin/vip/core/WeixinVipController.java |
95 |
Prefer StringBuffer over += for concatenating strings |
| 13928 |
src/weixin/vip/core/WeixinVipController.java |
100 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 13929 |
src/weixin/vip/core/WeixinVipController.java |
105 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 13930 |
src/weixin/vip/core/WeixinVipController.java |
124 |
Avoid variables with short names like u |
| 13931 |
src/weixin/vip/core/WeixinVipController.java |
138 |
Avoid printStackTrace(); use a logger call instead. |
| 13932 |
src/weixin/vip/core/WeixinVipController.java |
147 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 13933 |
src/weixin/vip/core/WeixinVipController.java |
148 |
A method should have only one exit point, and that should be the last statement in the method |
| 13934 |
src/weixin/vip/core/WeixinVipController.java |
155 |
Parameter 'request' is not assigned and could be declared final |
| 13935 |
src/weixin/vip/core/WeixinVipController.java |
157 |
Avoid variables with short names like j |
| 13936 |
src/weixin/vip/core/WeixinVipController.java |
164 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 13937 |
src/weixin/vip/core/WeixinVipController.java |
188 |
Avoid variables with short names like j |
| 13938 |
src/weixin/vip/core/WeixinVipController.java |
205 |
Found 'DD'-anomaly for variable 'ids' (lines '205'-'207'). |
| 13939 |
src/weixin/vip/core/WeixinVipController.java |
205 |
Found 'DD'-anomaly for variable 'ids' (lines '205'-'209'). |
| 13940 |
src/weixin/vip/core/WeixinVipController.java |
207 |
Prefer StringBuffer over += for concatenating strings |
| 13941 |
src/weixin/vip/core/WeixinVipController.java |
238 |
Avoid variables with short names like j |
| 13942 |
src/weixin/vip/core/WeixinVipController.java |
245 |
Avoid variables with short names like u |
| 13943 |
src/weixin/vip/core/WeixinVipController.java |
275 |
Found 'DU'-anomaly for variable 'integral' (lines '275'-'304'). |
| 13944 |
src/weixin/vip/core/WeixinVipController.java |
279 |
Found 'DD'-anomaly for variable 'ids' (lines '279'-'281'). |
| 13945 |
src/weixin/vip/core/WeixinVipController.java |
279 |
Found 'DD'-anomaly for variable 'ids' (lines '279'-'283'). |
| 13946 |
src/weixin/vip/core/WeixinVipController.java |
281 |
Prefer StringBuffer over += for concatenating strings |
| 13947 |
src/weixin/vip/entity/WeixinVipInfoEntity.java |
18 |
Classes implementing Serializable should set a serialVersionUID |
| 13948 |
src/weixin/vip/entity/WeixinVipInfoEntity.java |
21 |
Avoid variables with short names like id |
| 13949 |
src/weixin/vip/entity/WeixinVipInfoEntity.java |
40 |
Avoid variables with short names like id |
| 13950 |
src/weixin/vip/entity/WeixinVipInfoEntity.java |
40 |
Parameter 'id' is not assigned and could be declared final |
| 13951 |
src/weixin/vip/entity/WeixinVipInfoEntity.java |
51 |
Parameter 'vipName' is not assigned and could be declared final |
| 13952 |
src/weixin/vip/entity/WeixinVipInfoEntity.java |
62 |
Parameter 'vipImg' is not assigned and could be declared final |
| 13953 |
src/weixin/vip/entity/WeixinVipInfoEntity.java |
73 |
Parameter 'vipDescribe' is not assigned and could be declared final |
| 13954 |
src/weixin/vip/entity/WeixinVipInfoEntity.java |
84 |
Parameter 'vipCofing' is not assigned and could be declared final |
| 13955 |
src/weixin/vip/entity/WeixinVipMemberEntity.java |
24 |
Classes implementing Serializable should set a serialVersionUID |
| 13956 |
src/weixin/vip/entity/WeixinVipMemberEntity.java |
27 |
Avoid variables with short names like id |
| 13957 |
src/weixin/vip/entity/WeixinVipMemberEntity.java |
44 |
Avoid variables with short names like id |
| 13958 |
src/weixin/vip/entity/WeixinVipMemberEntity.java |
44 |
Parameter 'id' is not assigned and could be declared final |
| 13959 |
src/weixin/vip/entity/WeixinVipMemberEntity.java |
55 |
Parameter 'memberName' is not assigned and could be declared final |
| 13960 |
src/weixin/vip/entity/WeixinVipMemberEntity.java |
66 |
Parameter 'memberBalance' is not assigned and could be declared final |
| 13961 |
src/weixin/vip/entity/WeixinVipMemberEntity.java |
77 |
Parameter 'memberIntegral' is not assigned and could be declared final |
| 13962 |
src/weixin/vip/entity/WeixinVipMemberEntity.java |
88 |
Parameter 'createTime' is not assigned and could be declared final |
| 13963 |
src/weixin/vip/service/WeixinVipInfoServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 13964 |
src/weixin/vip/service/WeixinVipMemberServiceI.java |
8 |
Avoid modifiers which are implied by the context |
| 13965 |
src/weixin/vip/service/WeixinVipMemberServiceI.java |
10 |
Avoid modifiers which are implied by the context |
| 13966 |
src/weixin/vip/service/impl/WeixinVipInfoServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 13967 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
22 |
Avoid excessively long variable names like weixinVipInfoService |
| 13968 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
22 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 13969 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
24 |
Parameter 'user' is not assigned and could be declared final |
| 13970 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
26 |
Local variable 'member' could be declared final |
| 13971 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
27 |
Local variable 'vipinfo' could be declared final |
| 13972 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
35 |
Parameter 'accountid' is not assigned and could be declared final |
| 13973 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
35 |
Parameter 'integral' is not assigned and could be declared final |
| 13974 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
35 |
Parameter 'userid' is not assigned and could be declared final |
| 13975 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
36 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 13976 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
36 |
Found 'DD'-anomaly for variable 'flag' (lines '36'-'60'). |
| 13977 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
36 |
Found 'DD'-anomaly for variable 'flag' (lines '36'-'63'). |
| 13978 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
39 |
Local variable 'list' could be declared final |
| 13979 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
41 |
Found 'DD'-anomaly for variable 'ids' (lines '41'-'43'). |
| 13980 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
41 |
Found 'DD'-anomaly for variable 'ids' (lines '41'-'45'). |
| 13981 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
43 |
Prefer StringBuffer over += for concatenating strings |
| 13982 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
47 |
Local variable 'memberlist' could be declared final |
| 13983 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
49 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() |
| 13984 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
50 |
Local variable 'membervip' could be declared final |
| 13985 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
60 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 13986 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
60 |
Found 'DD'-anomaly for variable 'flag' (lines '60'-'63'). |
| 13987 |
src/weixin/vip/service/impl/WeixinVipMemberServiceImpl.java |
63 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
| 13988 |
src/weixin/vip/util/WeixinVipFreemarkerHelper.java |
12 |
Variables that are not final should not contain underscores (except for underscores in standard prefix/suffix). |
| 13989 |
src/weixin/vip/util/WeixinVipFreemarkerHelper.java |
14 |
Parameter 'dir' is not assigned and could be declared final |
| 13990 |
src/weixin/vip/util/WeixinVipFreemarkerHelper.java |
19 |
Avoid printStackTrace(); use a logger call instead. |
| 13991 |
src/weixin/vip/util/WeixinVipFreemarkerHelper.java |
23 |
Parameter 'encoding' is not assigned and could be declared final |
| 13992 |
src/weixin/vip/util/WeixinVipFreemarkerHelper.java |
23 |
Parameter 'paras' is not assigned and could be declared final |
| 13993 |
src/weixin/vip/util/WeixinVipFreemarkerHelper.java |
23 |
Parameter 'tplName' is not assigned and could be declared final |
| 13994 |
src/weixin/vip/util/WeixinVipFreemarkerHelper.java |
27 |
Local variable 'swriter' could be declared final |
| 13995 |
src/weixin/vip/util/WeixinVipFreemarkerHelper.java |
28 |
Found 'DD'-anomaly for variable 'mytpl' (lines '28'-'29'). |
| 13996 |
src/weixin/vip/util/WeixinVipFreemarkerHelper.java |
31 |
A method should have only one exit point, and that should be the last statement in the method |
| 13997 |
src/weixin/vip/util/WeixinVipFreemarkerHelper.java |
33 |
Avoid printStackTrace(); use a logger call instead. |
| 13998 |
src/weixin/vip/util/WeixinVipFreemarkerHelper.java |
38 |
Parameter 'paras' is not assigned and could be declared final |
| 13999 |
src/weixin/wall/controller/WeixinWallController.java |
31 |
Avoid unused private fields such as 'logger'. |
| 14000 |
src/weixin/wall/controller/WeixinWallController.java |
31 |
Variables that are final and static should be in all caps. |
| 14001 |
src/weixin/wall/controller/WeixinWallController.java |
34 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 14002 |
src/weixin/wall/controller/WeixinWallController.java |
37 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 14003 |
src/weixin/wall/controller/WeixinWallController.java |
42 |
Parameter 'message' is not assigned and could be declared final |
| 14004 |
src/weixin/wall/controller/WeixinWallController.java |
48 |
Parameter 'request' is not assigned and could be declared final |
| 14005 |
src/weixin/wall/controller/WeixinWallController.java |
54 |
Parameter 'dataGrid' is not assigned and could be declared final |
| 14006 |
src/weixin/wall/controller/WeixinWallController.java |
54 |
Parameter 'request' is not assigned and could be declared final |
| 14007 |
src/weixin/wall/controller/WeixinWallController.java |
54 |
Parameter 'response' is not assigned and could be declared final |
| 14008 |
src/weixin/wall/controller/WeixinWallController.java |
56 |
Avoid variables with short names like cq |
| 14009 |
src/weixin/wall/controller/WeixinWallController.java |
56 |
Local variable 'cq' could be declared final |
| 14010 |
src/weixin/wall/controller/WeixinWallController.java |
66 |
Avoid reassigning parameters such as 'weixinWall' |
| 14011 |
src/weixin/wall/controller/WeixinWallController.java |
68 |
Avoid variables with short names like j |
| 14012 |
src/weixin/wall/controller/WeixinWallController.java |
68 |
Local variable 'j' could be declared final |
| 14013 |
src/weixin/wall/controller/WeixinWallController.java |
82 |
Avoid variables with short names like j |
| 14014 |
src/weixin/wall/controller/WeixinWallController.java |
82 |
Local variable 'j' could be declared final |
| 14015 |
src/weixin/wall/controller/WeixinWallController.java |
85 |
Avoid variables with short names like t |
| 14016 |
src/weixin/wall/controller/WeixinWallController.java |
85 |
Local variable 't' could be declared final |
| 14017 |
src/weixin/wall/controller/WeixinWallController.java |
91 |
Avoid printStackTrace(); use a logger call instead. |
| 14018 |
src/weixin/wall/controller/WeixinWallController.java |
105 |
Avoid reassigning parameters such as 'weixinWall' |
| 14019 |
src/weixin/wall/controller/WeixinWallMessageController.java |
34 |
The class 'WeixinWallMessageController' has a Cyclomatic Complexity of 3 (Highest = 10). |
| 14020 |
src/weixin/wall/controller/WeixinWallMessageController.java |
36 |
Avoid unused private fields such as 'logger'. |
| 14021 |
src/weixin/wall/controller/WeixinWallMessageController.java |
36 |
Variables that are final and static should be in all caps. |
| 14022 |
src/weixin/wall/controller/WeixinWallMessageController.java |
39 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 14023 |
src/weixin/wall/controller/WeixinWallMessageController.java |
42 |
Avoid excessively long variable names like weixinWallMessageService |
| 14024 |
src/weixin/wall/controller/WeixinWallMessageController.java |
42 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 14025 |
src/weixin/wall/controller/WeixinWallMessageController.java |
45 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 14026 |
src/weixin/wall/controller/WeixinWallMessageController.java |
50 |
Parameter 'message' is not assigned and could be declared final |
| 14027 |
src/weixin/wall/controller/WeixinWallMessageController.java |
56 |
Parameter 'request' is not assigned and could be declared final |
| 14028 |
src/weixin/wall/controller/WeixinWallMessageController.java |
58 |
The String literal "weixin/wall/weixinWallMessageList" appears 4 times in this file; the first occurrence is on line 58 |
| 14029 |
src/weixin/wall/controller/WeixinWallMessageController.java |
62 |
Parameter 'request' is not assigned and could be declared final |
| 14030 |
src/weixin/wall/controller/WeixinWallMessageController.java |
64 |
The String literal "wall_status" appears 4 times in this file; the first occurrence is on line 64 |
| 14031 |
src/weixin/wall/controller/WeixinWallMessageController.java |
69 |
Parameter 'request' is not assigned and could be declared final |
| 14032 |
src/weixin/wall/controller/WeixinWallMessageController.java |
75 |
Parameter 'request' is not assigned and could be declared final |
| 14033 |
src/weixin/wall/controller/WeixinWallMessageController.java |
83 |
Avoid variables with short names like cq |
| 14034 |
src/weixin/wall/controller/WeixinWallMessageController.java |
83 |
Local variable 'cq' could be declared final |
| 14035 |
src/weixin/wall/controller/WeixinWallMessageController.java |
85 |
Local variable 'status' could be declared final |
| 14036 |
src/weixin/wall/controller/WeixinWallMessageController.java |
97 |
Avoid reassigning parameters such as 'weixinWallMessage' |
| 14037 |
src/weixin/wall/controller/WeixinWallMessageController.java |
99 |
Avoid variables with short names like j |
| 14038 |
src/weixin/wall/controller/WeixinWallMessageController.java |
99 |
Local variable 'j' could be declared final |
| 14039 |
src/weixin/wall/controller/WeixinWallMessageController.java |
111 |
The method 'save' has a Cyclomatic Complexity of 10. |
| 14040 |
src/weixin/wall/controller/WeixinWallMessageController.java |
113 |
Avoid variables with short names like j |
| 14041 |
src/weixin/wall/controller/WeixinWallMessageController.java |
113 |
Local variable 'j' could be declared final |
| 14042 |
src/weixin/wall/controller/WeixinWallMessageController.java |
118 |
A method should have only one exit point, and that should be the last statement in the method |
| 14043 |
src/weixin/wall/controller/WeixinWallMessageController.java |
121 |
Avoid variables with short names like u |
| 14044 |
src/weixin/wall/controller/WeixinWallMessageController.java |
121 |
Local variable 'u' could be declared final |
| 14045 |
src/weixin/wall/controller/WeixinWallMessageController.java |
126 |
A method should have only one exit point, and that should be the last statement in the method |
| 14046 |
src/weixin/wall/controller/WeixinWallMessageController.java |
133 |
A method should have only one exit point, and that should be the last statement in the method |
| 14047 |
src/weixin/wall/controller/WeixinWallMessageController.java |
140 |
A method should have only one exit point, and that should be the last statement in the method |
| 14048 |
src/weixin/wall/controller/WeixinWallMessageController.java |
143 |
Avoid using if...else statements without curly braces |
| 14049 |
src/weixin/wall/controller/WeixinWallMessageController.java |
163 |
Avoid reassigning parameters such as 'weixinWallMessage' |
| 14050 |
src/weixin/wall/controller/WeixinWallMessageController.java |
176 |
Avoid variables with short names like j |
| 14051 |
src/weixin/wall/controller/WeixinWallMessageController.java |
181 |
Avoid if (x != y) ..; else ..; |
| 14052 |
src/weixin/wall/controller/WeixinWallMessageController.java |
197 |
Avoid printStackTrace(); use a logger call instead. |
| 14053 |
src/weixin/wall/core/WeixinWallCoreController.java |
29 |
The class 'WeixinWallCoreController' has a Cyclomatic Complexity of 4 (Highest = 10). |
| 14054 |
src/weixin/wall/core/WeixinWallCoreController.java |
33 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 14055 |
src/weixin/wall/core/WeixinWallCoreController.java |
36 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 14056 |
src/weixin/wall/core/WeixinWallCoreController.java |
39 |
Avoid excessively long variable names like weixinWallMessageService |
| 14057 |
src/weixin/wall/core/WeixinWallCoreController.java |
39 |
Found non-transient, non-static member. Please mark as transient or provide accessors. |
| 14058 |
src/weixin/wall/core/WeixinWallCoreController.java |
42 |
Avoid excessively long variable names like weixinAccountServiceI |
| 14059 |
src/weixin/wall/core/WeixinWallCoreController.java |
42 |
Avoid unused private fields such as 'weixinAccountServiceI'. |
| 14060 |
src/weixin/wall/core/WeixinWallCoreController.java |
45 |
Avoid unused private fields such as 'userService'. |
| 14061 |
src/weixin/wall/core/WeixinWallCoreController.java |
48 |
Avoid unused private fields such as 'systemService'. |
| 14062 |
src/weixin/wall/core/WeixinWallCoreController.java |
56 |
Parameter 'message' is not assigned and could be declared final |
| 14063 |
src/weixin/wall/core/WeixinWallCoreController.java |
61 |
Parameter 'page' is not assigned and could be declared final |
| 14064 |
src/weixin/wall/core/WeixinWallCoreController.java |
61 |
Parameter 'request' is not assigned and could be declared final |
| 14065 |
src/weixin/wall/core/WeixinWallCoreController.java |
61 |
Parameter 'response' is not assigned and could be declared final |
| 14066 |
src/weixin/wall/core/WeixinWallCoreController.java |
61 |
The method 'goPage' has a Cyclomatic Complexity of 10. |
| 14067 |
src/weixin/wall/core/WeixinWallCoreController.java |
64 |
Local variable 'flag' could be declared final |
| 14068 |
src/weixin/wall/core/WeixinWallCoreController.java |
65 |
Local variable 'paras' could be declared final |
| 14069 |
src/weixin/wall/core/WeixinWallCoreController.java |
67 |
Found 'DD'-anomaly for variable 'defaultUrl' (lines '67'-'70'). |
| 14070 |
src/weixin/wall/core/WeixinWallCoreController.java |
70 |
Prefer StringBuffer over += for concatenating strings |
| 14071 |
src/weixin/wall/core/WeixinWallCoreController.java |
72 |
Avoid excessively long variable names like weixinVipFreemarkerHelper |
| 14072 |
src/weixin/wall/core/WeixinWallCoreController.java |
72 |
Local variable 'weixinVipFreemarkerHelper' could be declared final |
| 14073 |
src/weixin/wall/core/WeixinWallCoreController.java |
76 |
Local variable 'user' could be declared final |
| 14074 |
src/weixin/wall/core/WeixinWallCoreController.java |
79 |
Local variable 'accountId' could be declared final |
| 14075 |
src/weixin/wall/core/WeixinWallCoreController.java |
84 |
Deeply nested if..then statements are hard to read |
| 14076 |
src/weixin/wall/core/WeixinWallCoreController.java |
92 |
Found 'DD'-anomaly for variable 'starindex' (lines '92'-'98'). |
| 14077 |
src/weixin/wall/core/WeixinWallCoreController.java |
93 |
Found 'DD'-anomaly for variable 'endindex' (lines '93'-'99'). |
| 14078 |
src/weixin/wall/core/WeixinWallCoreController.java |
95 |
Found 'DU'-anomaly for variable 'pagesize' (lines '95'-'124'). |
| 14079 |
src/weixin/wall/core/WeixinWallCoreController.java |
97 |
Avoid if (x != y) ..; else ..; |
| 14080 |
src/weixin/wall/core/WeixinWallCoreController.java |
102 |
Found 'DU'-anomaly for variable 'pageno' (lines '102'-'124'). |
| 14081 |
src/weixin/wall/core/WeixinWallCoreController.java |
122 |
Avoid printStackTrace(); use a logger call instead. |
| 14082 |
src/weixin/wall/entity/WeixinWallEntity.java |
18 |
Classes implementing Serializable should set a serialVersionUID |
| 14083 |
src/weixin/wall/entity/WeixinWallEntity.java |
21 |
Avoid variables with short names like id |
| 14084 |
src/weixin/wall/entity/WeixinWallEntity.java |
42 |
Avoid variables with short names like id |
| 14085 |
src/weixin/wall/entity/WeixinWallEntity.java |
42 |
Parameter 'id' is not assigned and could be declared final |
| 14086 |
src/weixin/wall/entity/WeixinWallEntity.java |
53 |
Parameter 'name' is not assigned and could be declared final |
| 14087 |
src/weixin/wall/entity/WeixinWallEntity.java |
64 |
Parameter 'keyword' is not assigned and could be declared final |
| 14088 |
src/weixin/wall/entity/WeixinWallEntity.java |
75 |
Parameter 'logo' is not assigned and could be declared final |
| 14089 |
src/weixin/wall/entity/WeixinWallEntity.java |
86 |
Parameter 'qrCode' is not assigned and could be declared final |
| 14090 |
src/weixin/wall/entity/WeixinWallMessageEntity.java |
18 |
Classes implementing Serializable should set a serialVersionUID |
| 14091 |
src/weixin/wall/entity/WeixinWallMessageEntity.java |
21 |
Avoid variables with short names like id |
| 14092 |
src/weixin/wall/entity/WeixinWallMessageEntity.java |
42 |
Avoid variables with short names like id |
| 14093 |
src/weixin/wall/entity/WeixinWallMessageEntity.java |
42 |
Parameter 'id' is not assigned and could be declared final |
| 14094 |
src/weixin/wall/entity/WeixinWallMessageEntity.java |
53 |
Parameter 'openid' is not assigned and could be declared final |
| 14095 |
src/weixin/wall/entity/WeixinWallMessageEntity.java |
64 |
Parameter 'accountid' is not assigned and could be declared final |
| 14096 |
src/weixin/wall/entity/WeixinWallMessageEntity.java |
75 |
Parameter 'content' is not assigned and could be declared final |
| 14097 |
src/weixin/wall/entity/WeixinWallMessageEntity.java |
86 |
Parameter 'nickname' is not assigned and could be declared final |
| 14098 |
src/weixin/wall/service/WeixinWallMessageServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 14099 |
src/weixin/wall/service/WeixinWallServiceI.java |
5 |
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. |
| 14100 |
src/weixin/wall/service/impl/WeixinWallMessageServiceImpl.java |
10 |
Each class should declare at least one constructor |
| 14101 |
src/weixin/wall/service/impl/WeixinWallServiceImpl.java |
10 |
Each class should declare at least one constructor |